ARM: dts: rockchip: enable sdmmc for rv1108 evb
authorAndy Yan <andy.yan@rock-chips.com>
Thu, 20 Jul 2017 10:13:41 +0000 (18:13 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 22 Jul 2017 20:39:43 +0000 (22:39 +0200)
Enable sdmmc on rv1108 evaluation board. Also
add pinctrl for sdmmc controller.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rv1108-evb.dts
arch/arm/boot/dts/rv1108.dtsi

index 58cf4ac079c3dea6b307148bca9311bda36162a3..58ee0fbc51f14ee9efa80744e3fcaab02e3d2ba5 100644 (file)
        };
 };
 
+&sdmmc {
+       status = "okay";
+};
+
 &uart0 {
        status = "okay";
 };
index 6a3da2da770f680beed8f3946d0f6a791adf2827..21f4f8f6e3ac36e61cb19c5b239c11ee75c56320 100644 (file)
                         <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
                clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
                fifo-depth = <0x100>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
                interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
                reg = <0x30130000 0x4000>;
                status = "disabled";