add nand reg config for emmc read sn and verdor info.
};
&nandc {
- status = "okay"; // used nand set "disabled" ,used emmc set "okay"
+ status = "okay"; // used nand set "okay" ,used emmc set "disabled"
};
+&nandc0reg {
+ status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
+};
+
&emmc {
clock-frequency = <100000000>;
clock-freq-min-max = <400000 100000000>;
clocks = <&clk_nandc>, <&clk_gates5 9>, <&clk_gates10 4>;
clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
};
+
+ nandc0reg: nandc0@10500000 {
+ compatible = "rockchip,rk-nandc";
+ reg = <0x10500000 0x4000>;
+ };
spi0: spi@20074000 {
compatible = "rockchip,rockchip-spi";