From: fabio.estevam@freescale.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/2] ARM: dts: mx28evk: Add auart0 and auart3 support
Date: Fri, 15 Jun 2012 12:35:56 -0300 [thread overview]
Message-ID: <1339774557-23588-1-git-send-email-fabio.estevam@freescale.com> (raw)
Add auart0 and auart3 support.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v2:
- Fix compatible property
Changes since v1:
- Merged patches 1 and 2 from v1 into this one
arch/arm/boot/dts/imx28-evk.dts | 12 ++++++++++++
arch/arm/boot/dts/imx28.dtsi | 26 ++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts
index ee520a5..4353f48 100644
--- a/arch/arm/boot/dts/imx28-evk.dts
+++ b/arch/arm/boot/dts/imx28-evk.dts
@@ -73,6 +73,18 @@
pinctrl-0 = <&duart_pins_a>;
status = "okay";
};
+
+ auart0: serial at 8006a000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&auart0_pins_a>;
+ status = "okay";
+ };
+
+ auart3: serial at 80070000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&auart3_pins_a>;
+ status = "okay";
+ };
};
};
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 4634cb8..f26e0d6 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -22,6 +22,11 @@
gpio4 = &gpio4;
saif0 = &saif0;
saif1 = &saif1;
+ serial0 = &auart0;
+ serial1 = &auart1;
+ serial2 = &auart2;
+ serial3 = &auart3;
+ serial4 = &auart4;
};
cpus {
@@ -167,6 +172,22 @@
fsl,pull-up = <0>;
};
+ auart0_pins_a: auart0 at 0 {
+ reg = <0>;
+ fsl,pinmux-ids = <0x3000 0x3010 0x3020 0x3030>;
+ fsl,drive-strength = <0>;
+ fsl,voltage = <1>;
+ fsl,pull-up = <0>;
+ };
+
+ auart3_pins_a: auart3 at 0 {
+ reg = <0>;
+ fsl,pinmux-ids = <0x30c0 0x30d0 0x30e0 0x30f0>;
+ fsl,drive-strength = <0>;
+ fsl,voltage = <1>;
+ fsl,pull-up = <0>;
+ };
+
mac0_pins_a: mac0 at 0 {
reg = <0>;
fsl,pinmux-ids = <0x4000 0x4010 0x4020
@@ -404,30 +425,35 @@
};
auart0: serial@8006a000 {
+ compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006a000 0x2000>;
interrupts = <112 70 71>;
status = "disabled";
};
auart1: serial at 8006c000 {
+ compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006c000 0x2000>;
interrupts = <113 72 73>;
status = "disabled";
};
auart2: serial at 8006e000 {
+ compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006e000 0x2000>;
interrupts = <114 74 75>;
status = "disabled";
};
auart3: serial at 80070000 {
+ compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x80070000 0x2000>;
interrupts = <115 76 77>;
status = "disabled";
};
auart4: serial at 80072000 {
+ compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x80072000 0x2000>;
interrupts = <116 78 79>;
status = "disabled";
--
1.7.1
next reply other threads:[~2012-06-15 15:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 15:35 Fabio Estevam [this message]
2012-06-15 15:35 ` [PATCH v3 2/2] serial: mxs-auart: Allow device tree probing Fabio Estevam
2012-06-15 15:48 ` Marek Vasut
2012-06-15 16:06 ` Shawn Guo
2012-06-15 16:11 ` Fabio Estevam
2012-06-15 16:16 ` Marek Vasut
2012-06-15 16:18 ` Fabio Estevam
2012-06-15 17:00 ` Marek Vasut
2012-06-16 2:01 ` Shawn Guo
2012-06-16 1:59 ` Shawn Guo
2012-06-15 15:48 ` [PATCH v3 1/2] ARM: dts: mx28evk: Add auart0 and auart3 support Marek Vasut
2012-06-15 16:03 ` Shawn Guo
2012-06-18 13:06 ` [PATCH v4 2/2] serial: mxs-auart: Allow device tree probing Fabio Estevam
2012-06-18 13:33 ` Shawn Guo
2012-06-18 13:36 ` Marek Vasut
2012-06-18 15:25 ` Greg Kroah-Hartman
2012-06-18 20:42 ` Subodh Nijsure
2012-06-18 20:50 ` Fabio Estevam
2012-07-13 10:33 ` Marc Kleine-Budde
2012-07-13 10:35 ` Marc Kleine-Budde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1339774557-23588-1-git-send-email-fabio.estevam@freescale.com \
--to=fabio.estevam@freescale.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).