]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: rockchip: Add rv1108 eMMC pinctrl
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 30 Nov 2018 13:34:14 +0000 (11:34 -0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 30 Nov 2018 20:56:44 +0000 (21:56 +0100)
This adds the pinctrl handles to enable the use of eMMC on custom
boards (as minievk) and makes it easier for later addition.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rv1108.dtsi

index acfd97e18d77884ec8c3766942e580d1f43a2221..23a44bfacaadfd27cf21c8531f1f6f08957e0acd 100644 (file)
                        };
                };
 
+               emmc {
+                       emmc_clk: emmc-clk {
+                               rockchip,pins = <2 RK_PB6 RK_FUNC_1 &pcfg_pull_none_drv_8ma>;
+                       };
+
+                       emmc_cmd: emmc-cmd {
+                               rockchip,pins = <2 RK_PB4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
+                       };
+
+                       emmc_pwren: emmc-pwren {
+                               rockchip,pins = <2 RK_PC2 RK_FUNC_2 &pcfg_pull_none>;
+                       };
+
+                       emmc_bus1: emmc-bus1 {
+                               rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
+                       };
+
+                       emmc_bus8: emmc-bus8 {
+                               rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+                                               <2 RK_PA1 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+                                               <2 RK_PA2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+                                               <2 RK_PA3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+                                               <2 RK_PA4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+                                               <2 RK_PA5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+                                               <2 RK_PA6 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,
+                                               <2 RK_PA7 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
+                       };
+               };
+
                sdmmc {
                        sdmmc_clk: sdmmc-clk {
                                rockchip,pins = <3 RK_PC4 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;