linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups
@ 2013-07-12 12:49 Fabio Estevam
  2013-07-12 12:49 ` [PATCH v3 2/4] ARM: dts: imx6qdl.dtsi: Add another uart3 pin group Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabio Estevam @ 2013-07-12 12:49 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v2:
- None. Newly introduced in this series

 arch/arm/boot/dts/imx6qdl.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 72a28d6..14c9726 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -1092,6 +1092,34 @@
 					};
 				};
 
+				usdhc1 {
+					pinctrl_usdhc1_1: usdhc1grp-1 {
+						fsl,pins = <
+							MX6QDL_PAD_SD1_CMD__SD1_CMD    0x17059
+							MX6QDL_PAD_SD1_CLK__SD1_CLK    0x10059
+							MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059
+							MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059
+							MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059
+							MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059
+							MX6QDL_PAD_NANDF_D0__SD1_DATA4 0x17059
+							MX6QDL_PAD_NANDF_D1__SD1_DATA5 0x17059
+							MX6QDL_PAD_NANDF_D2__SD1_DATA6 0x17059
+							MX6QDL_PAD_NANDF_D3__SD1_DATA7 0x17059
+						>;
+					};
+
+					pinctrl_usdhc1_2: usdhc1grp-2 {
+						fsl,pins = <
+							MX6QDL_PAD_SD1_CMD__SD1_CMD    0x17059
+							MX6QDL_PAD_SD1_CLK__SD1_CLK    0x10059
+							MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059
+							MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059
+							MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059
+							MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059
+						>;
+					};
+				};
+
 				usdhc2 {
 					pinctrl_usdhc2_1: usdhc2grp-1 {
 						fsl,pins = <
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v3 2/4] ARM: dts: imx6qdl.dtsi: Add another uart3 pin group
  2013-07-12 12:49 [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Fabio Estevam
@ 2013-07-12 12:49 ` Fabio Estevam
  2013-07-12 12:49 ` [PATCH v3 3/4] ARM: dts: imx6dl-wandboard: Add SDHC1 and SDHC2 ports Fabio Estevam
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2013-07-12 12:49 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v2:
- None. Newly introduced in this series

 arch/arm/boot/dts/imx6qdl.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 14c9726..b564d74 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -1037,6 +1037,15 @@
 							MX6QDL_PAD_EIM_EB3__UART3_RTS_B   0x1b0b1
 						>;
 					};
+
+					pinctrl_uart3_2: uart3grp-2 {
+						fsl,pins = <
+							MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
+							MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
+							MX6QDL_PAD_EIM_D23__UART3_CTS_B	  0x1b0b1
+							MX6QDL_PAD_EIM_EB3__UART3_RTS_B	  0x1b0b1
+						>;
+					};
 				};
 
 				uart4 {
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v3 3/4] ARM: dts: imx6dl-wandboard: Add SDHC1 and SDHC2 ports
  2013-07-12 12:49 [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Fabio Estevam
  2013-07-12 12:49 ` [PATCH v3 2/4] ARM: dts: imx6qdl.dtsi: Add another uart3 pin group Fabio Estevam
@ 2013-07-12 12:49 ` Fabio Estevam
  2013-07-12 12:49 ` [PATCH v3 4/4] ARM: dts: imx6dl-wandboard: Add support for UART3 Fabio Estevam
  2013-07-15  2:17 ` [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2013-07-12 12:49 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Wandboard has a SD card slot on the baseboard connected to SDHC1 and a
BCM4329 (Wifi + Bluetooth chip) connected to SDHC2.

Add support for these ports.

While at it, provide the card detect gpio on SDHC3 and also fix indentation on 
MX6QDL_PAD_GPIO_0__CCM_CLKO1 hog pin.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v2:
- Rebased against imx-dt tree.
- Separate board changes from SoC changes
- Fix indentation of MX6QDL_PAD_GPIO_0__CCM_CLKO1
Changes since v1:
- Also add the usdhc pinmux groups to mx6q

 arch/arm/boot/dts/imx6dl-wandboard.dts | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6dl-wandboard.dts b/arch/arm/boot/dts/imx6dl-wandboard.dts
index fbe0f19..fe9a01d 100644
--- a/arch/arm/boot/dts/imx6dl-wandboard.dts
+++ b/arch/arm/boot/dts/imx6dl-wandboard.dts
@@ -82,7 +82,9 @@
 	hog {
 		pinctrl_hog: hoggrp {
 			fsl,pins = <
-				MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
+				MX6QDL_PAD_GPIO_0__CCM_CLKO1 	0x130b0
+				MX6QDL_PAD_GPIO_2__GPIO1_IO02	0x80000000
+				MX6QDL_PAD_EIM_DA9__GPIO3_IO09	0x80000000
 			>;
 		};
 	};
@@ -110,8 +112,23 @@
 	status = "okay";
 };
 
+&usdhc1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc1_2>;
+	cd-gpios = <&gpio1 2 0>;
+	status = "okay";
+};
+
+&usdhc2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc2_2>;
+	non-removable;
+	status = "okay";
+};
+
 &usdhc3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usdhc3_2>;
+	cd-gpios = <&gpio3 9 0>;
 	status = "okay";
 };
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v3 4/4] ARM: dts: imx6dl-wandboard: Add support for UART3
  2013-07-12 12:49 [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Fabio Estevam
  2013-07-12 12:49 ` [PATCH v3 2/4] ARM: dts: imx6qdl.dtsi: Add another uart3 pin group Fabio Estevam
  2013-07-12 12:49 ` [PATCH v3 3/4] ARM: dts: imx6dl-wandboard: Add SDHC1 and SDHC2 ports Fabio Estevam
@ 2013-07-12 12:49 ` Fabio Estevam
  2013-07-15  2:17 ` [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2013-07-12 12:49 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Wandboard has a bluetooth device connected to UART3, so add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v2:
- Rebased against imx-dt tree.
- Separate board changes from SoC changes
Changes since v1:
- Also add the usdhc pinmux groups to mx6q

 arch/arm/boot/dts/imx6dl-wandboard.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/imx6dl-wandboard.dts b/arch/arm/boot/dts/imx6dl-wandboard.dts
index fe9a01d..15014bb 100644
--- a/arch/arm/boot/dts/imx6dl-wandboard.dts
+++ b/arch/arm/boot/dts/imx6dl-wandboard.dts
@@ -108,6 +108,13 @@
 	status = "okay";
 };
 
+&uart3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart3_2>;
+	fsl,uart-has-rtscts;
+	status = "okay";
+};
+
 &usbh1 {
 	status = "okay";
 };
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups
  2013-07-12 12:49 [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Fabio Estevam
                   ` (2 preceding siblings ...)
  2013-07-12 12:49 ` [PATCH v3 4/4] ARM: dts: imx6dl-wandboard: Add support for UART3 Fabio Estevam
@ 2013-07-15  2:17 ` Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2013-07-15  2:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jul 12, 2013 at 09:49:30AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v2:
> - None. Newly introduced in this series

All applied, thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-15  2:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 12:49 [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Fabio Estevam
2013-07-12 12:49 ` [PATCH v3 2/4] ARM: dts: imx6qdl.dtsi: Add another uart3 pin group Fabio Estevam
2013-07-12 12:49 ` [PATCH v3 3/4] ARM: dts: imx6dl-wandboard: Add SDHC1 and SDHC2 ports Fabio Estevam
2013-07-12 12:49 ` [PATCH v3 4/4] ARM: dts: imx6dl-wandboard: Add support for UART3 Fabio Estevam
2013-07-15  2:17 ` [PATCH v3 1/4] ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).