Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1520484

[PATCH 1/2] ARM: dts: rockchip: add the sdmmc pinctrl for rk1108

From Jacob Chen <jacob-chen@iotwrt.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] ARM: dts: rockchip: add the sdmmc pinctrl for rk1108
Date 2016-11-13 09:20 +0100
Message-ID <sCYb7-65p-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jacob Chen <jacob2.chen@rock-chips.com>

Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
---
 arch/arm/boot/dts/rk1108.dtsi | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm/boot/dts/rk1108.dtsi b/arch/arm/boot/dts/rk1108.dtsi
index 9dccfea..6a06ad7 100644
--- a/arch/arm/boot/dts/rk1108.dtsi
+++ b/arch/arm/boot/dts/rk1108.dtsi
@@ -321,6 +321,31 @@
 			input-enable;
 		};
 
+        sdmmc {
+			sdmmc_clk: sdmmc-clk {
+				rockchip,pins = <3 RK_PC4 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
+			};
+
+			sdmmc_cmd: sdmmc-cmd {
+				rockchip,pins = <3 RK_PC5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
+			};
+
+			sdmmc_cd: sdmmc-cd {
+				rockchip,pins = <0 RK_PA1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
+			};
+
+			sdmmc_bus1: sdmmc-bus1 {
+				rockchip,pins = <3 RK_PC3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
+			};
+
+			sdmmc_bus4: sdmmc-bus4 {
+				rockchip,pins = <3 RK_PC3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
+						<3 RK_PC2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
+						<3 RK_PC1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
+						<3 RK_PC0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
+			};
+		};
+
 		i2c1 {
 			i2c1_xfer: i2c1-xfer {
 				rockchip,pins = <2 RK_PD3 RK_FUNC_1 &pcfg_pull_up>,
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] ARM: dts: rockchip: add the sdmmc pinctrl for rk1108 Jacob Chen <jacob-chen@iotwrt.com> - 2016-11-13 09:20 +0100
  Re: [PATCH 1/2] ARM: dts: rockchip: add the sdmmc pinctrl for rk1108 陈豪 <jacobchen110@gmail.com> - 2016-11-13 09:20 +0100
  [PATCH 2/2] ARM: dts: rockchip: enable sdmmc for rk1108-evb Jacob Chen <jacob-chen@iotwrt.com> - 2016-11-13 09:30 +0100
    Re: [PATCH 2/2] ARM: dts: rockchip: enable sdmmc for rk1108-evb Heiko Stuebner <heiko@sntech.de> - 2016-11-16 13:30 +0100
  Re: [PATCH 1/2] ARM: dts: rockchip: add the sdmmc pinctrl for rk1108 Heiko Stuebner <heiko@sntech.de> - 2016-11-16 13:50 +0100

csiph-web