From 3dea3e0664b6d24ea8fe794c699130d46bf5b5de Mon Sep 17 00:00:00 2001 From: Shawn Lin Date: Fri, 9 Jun 2023 09:38:46 +0800 Subject: [PATCH] ARM: dts: rockchip: add idle state for sdmmc of rv1106-pinctrl Signed-off-by: Shawn Lin Change-Id: I77707268214b2d6433dc386b45015bb9d21b4cb2 --- arch/arm/boot/dts/rv1106-pinctrl.dtsi | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/rv1106-pinctrl.dtsi b/arch/arm/boot/dts/rv1106-pinctrl.dtsi index f0c4cf3b8ad0..a7bd376a2a65 100644 --- a/arch/arm/boot/dts/rv1106-pinctrl.dtsi +++ b/arch/arm/boot/dts/rv1106-pinctrl.dtsi @@ -731,6 +731,17 @@ /* sdmmc0_det */ <3 RK_PA1 1 &pcfg_pull_up>; }; + + /omit-if-no-ref/ + sdmmc0_idle_pins: sdmmc0-idle-pins { + rockchip,pins = + <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_down>, + <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_down>, + <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>, + <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_down>, + <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_down>, + <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>; + }; }; sdmmc1 { @@ -768,6 +779,17 @@ <2 RK_PA3 1 &pcfg_pull_up_drv_level_2>; }; + /omit-if-no-ref/ + sdmmc1m0_idle_pins: sdmmc1m0-idle-pins { + rockchip,pins = + <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>, + <2 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>, + <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_down>, + <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_down>, + <2 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>, + <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_down>; + }; + /omit-if-no-ref/ sdmmc1m1_bus4: sdmmc1m1-bus4 { rockchip,pins = @@ -794,6 +816,17 @@ /* sdmmc1_cmd_m1 */ <1 RK_PC3 5 &pcfg_pull_up_drv_level_2>; }; + + /omit-if-no-ref/ + sdmmc1m1_idle_pins: sdmmc1m1-idle-pins { + rockchip,pins = + <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_down>, + <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>, + <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>, + <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_down>, + <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>, + <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>; + }; }; spi0 {