* [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range
@ 2014-04-02 22:25 Fabio Estevam
2014-04-02 22:25 ` [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Fabio Estevam @ 2014-04-02 22:25 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
imx27-pdk has 128 MB of DRAM. Pass the memory range in dt.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx27-pdk.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index 5ce89aa..28c83bc 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -17,7 +17,7 @@
compatible = "fsl,imx27-pdk", "fsl,imx27";
memory {
- reg = <0x0 0x0>;
+ reg = <0xa0000000 0x08000000>;
};
};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration
2014-04-02 22:25 [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Fabio Estevam
@ 2014-04-02 22:25 ` Fabio Estevam
2014-04-03 2:01 ` Shawn Guo
2014-04-02 22:25 ` [PATCH 3/3] ARM: dts: imx27-pdk: Pass the FEC " Fabio Estevam
2014-04-03 2:02 ` [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Shawn Guo
2 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2014-04-02 22:25 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
Provide an entry for the UART1 pin muxing.
While at it, sort the dt entries.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx27-pdk.dts | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index 28c83bc..5e9a4bb 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -21,11 +21,27 @@
};
};
-&uart1 {
- fsl,uart-has-rtscts;
+&fec {
status = "okay";
};
-&fec {
+
+&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
+ >;
+ };
+ };
+};
+
+&uart1 {
+ fsl,uart-has-rtscts;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart1>;
status = "okay";
};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] ARM: dts: imx27-pdk: Pass the FEC pin configuration
2014-04-02 22:25 [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Fabio Estevam
2014-04-02 22:25 ` [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
@ 2014-04-02 22:25 ` Fabio Estevam
2014-04-03 2:02 ` [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Shawn Guo
2 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2014-04-02 22:25 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>
---
arch/arm/boot/dts/imx27-pdk.dts | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index 5e9a4bb..f10d4ea 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -22,12 +22,37 @@
};
&fec {
+ phy-mode = "mii";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_fec>;
status = "okay";
};
-
&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] 7+ messages in thread
* [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration
2014-04-02 22:25 ` [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
@ 2014-04-03 2:01 ` Shawn Guo
2014-04-09 3:37 ` Fabio Estevam
0 siblings, 1 reply; 7+ messages in thread
From: Shawn Guo @ 2014-04-03 2:01 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Apr 02, 2014 at 07:25:45PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Provide an entry for the UART1 pin muxing.
>
> While at it, sort the dt entries.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> arch/arm/boot/dts/imx27-pdk.dts | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
> index 28c83bc..5e9a4bb 100644
> --- a/arch/arm/boot/dts/imx27-pdk.dts
> +++ b/arch/arm/boot/dts/imx27-pdk.dts
> @@ -21,11 +21,27 @@
> };
> };
>
> -&uart1 {
> - fsl,uart-has-rtscts;
> +&fec {
> status = "okay";
> };
>
> -&fec {
> +
> +&iomuxc {
The iomuxc node in board dts is a little special now, and it will have a
lot more data than others. I like Alexander's idea to put it at the
bottom of the file to make it easier for users to check board level
settings of other device nodes. So I would suggest that way for the new
added iomuxc node in board dts.
Shawn
> + 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
> + >;
> + };
> + };
> +};
> +
> +&uart1 {
> + fsl,uart-has-rtscts;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart1>;
> status = "okay";
> };
> --
> 1.8.3.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range
2014-04-02 22:25 [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Fabio Estevam
2014-04-02 22:25 ` [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
2014-04-02 22:25 ` [PATCH 3/3] ARM: dts: imx27-pdk: Pass the FEC " Fabio Estevam
@ 2014-04-03 2:02 ` Shawn Guo
2 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2014-04-03 2:02 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Apr 02, 2014 at 07:25:44PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> imx27-pdk has 128 MB of DRAM. Pass the memory range in dt.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration
2014-04-03 2:01 ` Shawn Guo
@ 2014-04-09 3:37 ` Fabio Estevam
2014-04-09 3:44 ` Shawn Guo
0 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2014-04-09 3:37 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Apr 2, 2014 at 11:01 PM, Shawn Guo <shawn.guo@freescale.com> wrote:
> The iomuxc node in board dts is a little special now, and it will have a
> lot more data than others. I like Alexander's idea to put it at the
> bottom of the file to make it easier for users to check board level
> settings of other device nodes. So I would suggest that way for the new
> added iomuxc node in board dts.
Could you please point me Alexander's patch for reference? I was not
able to locate it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration
2014-04-09 3:37 ` Fabio Estevam
@ 2014-04-09 3:44 ` Shawn Guo
0 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2014-04-09 3:44 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Apr 09, 2014 at 12:37:27AM -0300, Fabio Estevam wrote:
> On Wed, Apr 2, 2014 at 11:01 PM, Shawn Guo <shawn.guo@freescale.com> wrote:
>
> > The iomuxc node in board dts is a little special now, and it will have a
> > lot more data than others. I like Alexander's idea to put it at the
> > bottom of the file to make it easier for users to check board level
> > settings of other device nodes. So I would suggest that way for the new
> > added iomuxc node in board dts.
>
> Could you please point me Alexander's patch for reference? I was not
> able to locate it.
http://www.spinics.net/lists/arm-kernel/msg318968.html
Shawn
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-04-09 3:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02 22:25 [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Fabio Estevam
2014-04-02 22:25 ` [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Fabio Estevam
2014-04-03 2:01 ` Shawn Guo
2014-04-09 3:37 ` Fabio Estevam
2014-04-09 3:44 ` Shawn Guo
2014-04-02 22:25 ` [PATCH 3/3] ARM: dts: imx27-pdk: Pass the FEC " Fabio Estevam
2014-04-03 2:02 ` [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range 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).