All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted
@ 2014-04-13 14:48 Fabio Estevam
  2014-04-13 14:48 ` [PATCH v4 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabio Estevam @ 2014-04-13 14:48 UTC (permalink / raw
  To: linux-arm-kernel

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

For better readability keep the dt nodes sorted.

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

 arch/arm/boot/dts/imx27-pdk.dts | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index 28c83bc..bd95265 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -21,11 +21,12 @@
 	};
 };
 
-&uart1 {
-	fsl,uart-has-rtscts;
+
+&fec {
 	status = "okay";
 };
 
-&fec {
+&uart1 {
+	fsl,uart-has-rtscts;
 	status = "okay";
 };
-- 
1.8.3.2

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

* [PATCH v4 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration
  2014-04-13 14:48 [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted Fabio Estevam
@ 2014-04-13 14:48 ` Fabio Estevam
  2014-04-13 14:48 ` [PATCH v4 3/3] ARM: dts: imx27-pdk: Pass the FEC " Fabio Estevam
  2014-04-14  1:34 ` [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2014-04-13 14:48 UTC (permalink / raw
  To: linux-arm-kernel

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

Provide an entry for the UART1 pin muxing.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v3:
- None
Changes since v2:
- None
Changes since v1:
- Keep the iomuxc node at the bottom

 arch/arm/boot/dts/imx27-pdk.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index bd95265..e0f4213 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -28,5 +28,20 @@
 
 &uart1 {
 	fsl,uart-has-rtscts;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart1>;
 	status = "okay";
 };
+
+&iomuxc {
+	imx27-pdk {
+		pinctrl_uart1: uart1grp {
+			fsl,pins = <
+				MX27_PAD_UART1_TXD__UART1_TXD 0x0
+				MX27_PAD_UART1_RXD__UART1_RXD 0x0
+				MX27_PAD_UART1_CTS__UART1_CTS 0x0
+				MX27_PAD_UART1_RTS__UART1_RTS 0x0
+			>;
+		};
+	};
+};
-- 
1.8.3.2

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

* [PATCH v4 3/3] ARM: dts: imx27-pdk: Pass the FEC pin configuration
  2014-04-13 14:48 [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted Fabio Estevam
  2014-04-13 14:48 ` [PATCH v4 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
@ 2014-04-13 14:48 ` Fabio Estevam
  2014-04-14  1:34 ` [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2014-04-13 14:48 UTC (permalink / raw
  To: linux-arm-kernel

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

Provide an entry for the FEC pin muxing.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v3:
- Fix closing } in the pinctrl_fec node
Changes since v2:
- Keep iomux node sorted
Changes since v1:
- Keep the iomuxc node at the bottom

 arch/arm/boot/dts/imx27-pdk.dts | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index e0f4213..430b72b 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -23,6 +23,9 @@
 
 
 &fec {
+	phy-mode = "mii";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_fec>;
 	status = "okay";
 };
 
@@ -35,6 +38,29 @@
 
 &iomuxc {
 	imx27-pdk {
+		pinctrl_fec: fecgrp {
+			fsl,pins = <
+				MX27_PAD_SD3_CMD__FEC_TXD0 0x0
+				MX27_PAD_SD3_CLK__FEC_TXD1 0x0
+				MX27_PAD_ATA_DATA0__FEC_TXD2 0x0
+				MX27_PAD_ATA_DATA1__FEC_TXD3 0x0
+				MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0
+				MX27_PAD_ATA_DATA3__FEC_RXD1 0x0
+				MX27_PAD_ATA_DATA4__FEC_RXD2 0x0
+				MX27_PAD_ATA_DATA5__FEC_RXD3 0x0
+				MX27_PAD_ATA_DATA6__FEC_MDIO 0x0
+				MX27_PAD_ATA_DATA7__FEC_MDC 0x0
+				MX27_PAD_ATA_DATA8__FEC_CRS 0x0
+				MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0
+				MX27_PAD_ATA_DATA10__FEC_RXD0 0x0
+				MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0
+				MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0
+				MX27_PAD_ATA_DATA13__FEC_COL 0x0
+				MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0
+				MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0
+			>;
+		};
+
 		pinctrl_uart1: uart1grp {
 			fsl,pins = <
 				MX27_PAD_UART1_TXD__UART1_TXD 0x0
-- 
1.8.3.2

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

* [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted
  2014-04-13 14:48 [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted Fabio Estevam
  2014-04-13 14:48 ` [PATCH v4 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
  2014-04-13 14:48 ` [PATCH v4 3/3] ARM: dts: imx27-pdk: Pass the FEC " Fabio Estevam
@ 2014-04-14  1:34 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2014-04-14  1:34 UTC (permalink / raw
  To: linux-arm-kernel

On Sun, Apr 13, 2014 at 11:48:41AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> For better readability keep the dt nodes sorted.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied all 3, thanks.

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

end of thread, other threads:[~2014-04-14  1:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13 14:48 [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted Fabio Estevam
2014-04-13 14:48 ` [PATCH v4 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
2014-04-13 14:48 ` [PATCH v4 3/3] ARM: dts: imx27-pdk: Pass the FEC " Fabio Estevam
2014-04-14  1:34 ` [PATCH v4 1/3] ARM: dts: imx27-pdk: Keep the dt nodes sorted Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.