From: lintao Date: Tue, 22 Jul 2014 07:59:49 +0000 (+0800) Subject: dts: rk312x: complete mmc dt-bindings X-Git-Tag: firefly_0821_release~4916^2~180 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=33bba93f30cc5e56bcf90bf5a31eb63f9dd1c357;p=firefly-linux-kernel-4.4.55.git dts: rk312x: complete mmc dt-bindings --- diff --git a/arch/arm/boot/dts/rk3126-sdk.dts b/arch/arm/boot/dts/rk3126-sdk.dts index 55349fe18039..04cff7be8aa1 100755 --- a/arch/arm/boot/dts/rk3126-sdk.dts +++ b/arch/arm/boot/dts/rk3126-sdk.dts @@ -14,4 +14,42 @@ &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"; + }; }; diff --git a/arch/arm/boot/dts/rk312x.dtsi b/arch/arm/boot/dts/rk312x.dtsi index c3a60e155092..a2fdc93c1efe 100755 --- a/arch/arm/boot/dts/rk312x.dtsi +++ b/arch/arm/boot/dts/rk312x.dtsi @@ -237,6 +237,7 @@ rockchip,check-idle = <1>; status = "disabled"; }; + emmc: rksdmmc@1021c000 { compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc"; reg = <0x1021c000 0x4000>; @@ -252,12 +253,11 @@ 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 = ; #address-cells = <1>; @@ -273,11 +273,10 @@ 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 = ; #address-cells = <1>; @@ -292,7 +291,6 @@ num-slots = <1>; fifo-depth = <0x100>; bus-width = <4>; - status = "disabled"; }; adc: adc@2006c000 {