nand driver:
authorZhaoyifeng <zyf@rock-chips.com>
Sat, 12 Jul 2014 02:09:58 +0000 (10:09 +0800)
committerZhaoyifeng <zyf@rock-chips.com>
Sat, 12 Jul 2014 02:09:58 +0000 (10:09 +0800)
    add nand reg config for emmc read sn and verdor info.

arch/arm/boot/dts/rk3036-sdk.dts
arch/arm/boot/dts/rk3036.dtsi

index 20f6df47752e8f01c255c2dabf8aef1f428d383a..cf9eb8e0f38cf03217323c150a286a21688d5df0 100755 (executable)
 };
 
 &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>;
index ab609658bd3b990c1a7206936f9baf0af723b4ce..851d2060bc20ef6e32ab44cef69a740fb6da6e2a 100755 (executable)
                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";