From: Eddie Cai Date: Mon, 20 Feb 2017 06:03:01 +0000 (+0800) Subject: dts: rk3036: add sdmmc for rk3036 X-Git-Tag: v2017.05-rc1~55^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9b21b4547f836c907f35734625e3317cc6c18201;p=oweals%2Fu-boot.git dts: rk3036: add sdmmc for rk3036 rk3036 support sdmmc, add dts node to support it. Signed-off-by: Eddie Cai Acked-by: Simon Glass --- diff --git a/arch/arm/dts/rk3036.dtsi b/arch/arm/dts/rk3036.dtsi index ecf5416318..4f4421768d 100644 --- a/arch/arm/dts/rk3036.dtsi +++ b/arch/arm/dts/rk3036.dtsi @@ -23,6 +23,7 @@ serial1 = &uart1; serial2 = &uart2; mmc0 = &emmc; + mmc1 = &sdmmc; }; memory { @@ -265,6 +266,18 @@ pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; }; + sdmmc: dwmmc@10214000 { + compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc"; + reg = <0x10214000 0x4000>; + clock-frequency = <37500000>; + max-frequency = <37500000>; + clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>; + clock-names = "biu", "ciu"; + fifo-depth = <0x100>; + interrupts = ; + status = "disabled"; + }; + pinctrl: pinctrl { compatible = "rockchip,rk3036-pinctrl"; rockchip,grf = <&grf>;