dts: rk3036: add sdmmc for rk3036
authorEddie Cai <eddie.cai.linux@gmail.com>
Mon, 20 Feb 2017 06:03:01 +0000 (14:03 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:46 +0000 (16:03 -0600)
rk3036 support sdmmc, add dts node to support it.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/rk3036.dtsi

index ecf54163185f1b7081718c1d03601f5e10e40b87..4f4421768de0ee8d2026399110c1530f3e2ca815 100644 (file)
@@ -23,6 +23,7 @@
                serial1 = &uart1;
                serial2 = &uart2;
                mmc0 = &emmc;
+               mmc1 = &sdmmc;
        };
 
        memory {
                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 = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+               status = "disabled";
+       };
+
        pinctrl: pinctrl {
                compatible = "rockchip,rk3036-pinctrl";
                rockchip,grf = <&grf>;