dts: rk312x: complete mmc dt-bindings
authorlintao <lintao@rock-chips.com>
Tue, 22 Jul 2014 07:59:49 +0000 (15:59 +0800)
committerlintao <lintao@rock-chips.com>
Tue, 22 Jul 2014 07:59:57 +0000 (15:59 +0800)
arch/arm/boot/dts/rk3126-sdk.dts
arch/arm/boot/dts/rk312x.dtsi

index 55349fe1803910465b21d24e4659654705b38590..04cff7be8aa1e8885e7b00997671130d881ea9c7 100755 (executable)
        &nandc0reg {
                status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
        };
+
+       &emmc {
+               clock-frequency = <100000000>;
+               clock-freq-min-max = <400000 100000000>;
+               supports-highspeed;
+               supports-emmc;
+               bootpart-no-access;
+               //supports-DDR_MODE;
+               //caps2-mmc-hs200;
+               ignore-pm-notify;
+               keep-power-in-suspend;
+               //poll-hw-reset
+               status = "disabled";
+       };
+
+       &sdmmc {
+               clock-frequency = <50000000>;
+               clock-freq-min-max = <400000 50000000>;
+               supports-highspeed;
+               supports-sd;
+               broken-cd;
+               card-detect-delay = <200>;
+               ignore-pm-notify;
+               keep-power-in-suspend;
+               //vmmc-supply = <&rk808_ldo5_reg>;
+               status = "disabled";
+       };
+
+       &sdio {
+               clock-frequency = <50000000>;
+               clock-freq-min-max = <200000 50000000>;
+               supports-highspeed;
+               supports-sdio;
+               ignore-pm-notify;
+               keep-power-in-suspend;
+               //cap-sdio-irq;
+               status = "disabled";
+       };
     };
index c3a60e155092280d3c2aec37e084b69e42f7a257..a2fdc93c1efe2f5402520b71b4f70cc20b0fa2fe 100755 (executable)
                rockchip,check-idle = <1>;
                status = "disabled";
        };
+
        emmc: rksdmmc@1021c000 {
                compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
                reg = <0x1021c000 0x4000>;
                num-slots = <1>;
                fifo-depth = <0x100>;
                bus-width = <8>;
-               status = "disabled";
         };
 
 
         sdmmc: rksdmmc@10214000 {
-               compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
+               compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
                reg = <0x10214000 0x4000>;
                interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
                #address-cells = <1>;
                num-slots = <1>;
                fifo-depth = <0x100>;
                bus-width = <4>;
-               status = "disabled";
        };
 
        sdio: rksdmmc@10218000 {
-               compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
+               compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
                reg = <0x10218000 0x4000>;
                interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
                #address-cells = <1>;
                num-slots = <1>;
                fifo-depth = <0x100>;
                bus-width = <4>;
-               status = "disabled";
        };
 
        adc: adc@2006c000 {