Message ID | 1343676824-16913-1-git-send-email-fabio.estevam@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Jul 30, 2012 at 4:33 PM, Fabio Estevam <fabio.estevam@freescale.com> wrote: > Add AUART0 support. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> I think this ought to be done to mx23evk dts as well.
On Mon, Jul 30, 2012 at 5:24 PM, Otavio Salvador <otavio@ossystems.com.br> wrote: > On Mon, Jul 30, 2012 at 4:33 PM, Fabio Estevam > <fabio.estevam@freescale.com> wrote: >> Add AUART0 support. >> >> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > > I think this ought to be done to mx23evk dts as well. mx23evk.dts already registers auart0.
On Mon, Jul 30, 2012 at 6:03 PM, Fabio Estevam <festevam@gmail.com> wrote:
> mx23evk.dts already registers auart0.
Oh nice.
On Mon, Jul 30, 2012 at 04:33:44PM -0300, Fabio Estevam wrote: > Add AUART0 support. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Queued it up, thanks.
diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts index 20912b1..a286873 100644 --- a/arch/arm/boot/dts/imx23-olinuxino.dts +++ b/arch/arm/boot/dts/imx23-olinuxino.dts @@ -39,6 +39,12 @@ pinctrl-0 = <&duart_pins_a>; status = "okay"; }; + + auart0: serial@8006c000 { + pinctrl-names = "default"; + pinctrl-0 = <&auart0_2pins_a>; + status = "okay"; + }; }; }; }; diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index a874dbf..f58118b 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi @@ -140,6 +140,17 @@ fsl,pull-up = <0>; }; + auart0_2pins_a: auart0-2pins@0 { + reg = <0>; + fsl,pinmux-ids = < + 0x01e2 /* MX23_PAD_I2C_SCL__AUART1_TX */ + 0x01f2 /* MX23_PAD_I2C_SDA__AUART1_RX */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + gpmi_pins_a: gpmi-nand@0 { reg = <0>; fsl,pinmux-ids = <
Add AUART0 support. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- arch/arm/boot/dts/imx23-olinuxino.dts | 6 ++++++ arch/arm/boot/dts/imx23.dtsi | 11 +++++++++++ 2 files changed, 17 insertions(+), 0 deletions(-)