};
+&nandc0 {
+ status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
+};
+&nandc1 {
+ status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
+};
+
+&nandc0reg {
+ status = "okay"; // used nand set "disabled" ,used emmc set "okay"
+};
+
&emmc {
clock-frequency = <100000000>;
clock-freq-min-max = <400000 100000000>;
nandc_id = <0>;
clocks = <&clk_nandc0>, <&clk_gates5 5>, <&clk_gates7 14>;
clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
- status = "okay";
};
nandc1: nandc@0xff410000 {
nandc_id = <1>;
clocks = <&clk_nandc1>, <&clk_gates5 6>, <&clk_gates7 15>;
clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
- status = "okay";
+ };
+
+ nandc0reg: nandc0@0xff400000 {
+ compatible = "rockchip,rk-nandc";
+ reg = <0xff400000 0x4000>;
};
emmc: rksdmmc@ff0f0000 {