diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-27 23:45:00 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-03 01:25:06 -0400 |
commit | a450839432519beda04ffc286428b7e44b9dd488 (patch) | |
tree | d1179080636f886d513e644b0d0ca99c9af2d2e6 /arch/arm/boot | |
parent | 72beabae635b9485510ccf8093df319f59eb6688 (diff) |
ARM: dts: imx23-evk: add auart device
Add auart device for imx23-evk board.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx23-evk.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx23.dtsi | 19 |
2 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts index 8321fa3f0cf2..9eca34fc93dc 100644 --- a/arch/arm/boot/dts/imx23-evk.dts +++ b/arch/arm/boot/dts/imx23-evk.dts | |||
@@ -51,6 +51,12 @@ | |||
51 | }; | 51 | }; |
52 | 52 | ||
53 | apbx@80040000 { | 53 | apbx@80040000 { |
54 | auart0: serial@8006c000 { | ||
55 | pinctrl-names = "default"; | ||
56 | pinctrl-0 = <&auart0_pins_a>; | ||
57 | status = "okay"; | ||
58 | }; | ||
59 | |||
54 | duart: serial@80070000 { | 60 | duart: serial@80070000 { |
55 | pinctrl-names = "default"; | 61 | pinctrl-names = "default"; |
56 | pinctrl-0 = <&duart_pins_a>; | 62 | pinctrl-0 = <&duart_pins_a>; |
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index daade4fa1500..e78c1f4c2837 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi | |||
@@ -18,6 +18,8 @@ | |||
18 | gpio0 = &gpio0; | 18 | gpio0 = &gpio0; |
19 | gpio1 = &gpio1; | 19 | gpio1 = &gpio1; |
20 | gpio2 = &gpio2; | 20 | gpio2 = &gpio2; |
21 | serial0 = &auart0; | ||
22 | serial1 = &auart1; | ||
21 | }; | 23 | }; |
22 | 24 | ||
23 | cpus { | 25 | cpus { |
@@ -123,6 +125,19 @@ | |||
123 | fsl,pull-up = <0>; | 125 | fsl,pull-up = <0>; |
124 | }; | 126 | }; |
125 | 127 | ||
128 | auart0_pins_a: auart0@0 { | ||
129 | reg = <0>; | ||
130 | fsl,pinmux-ids = < | ||
131 | 0x01c0 /* MX23_PAD_AUART1_RX__AUART1_RX */ | ||
132 | 0x01d0 /* MX23_PAD_AUART1_TX__AUART1_TX */ | ||
133 | 0x01a0 /* MX23_PAD_AUART1_CTS__AUART1_CTS */ | ||
134 | 0x01b0 /* MX23_PAD_AUART1_RTS__AUART1_RTS */ | ||
135 | >; | ||
136 | fsl,drive-strength = <0>; | ||
137 | fsl,voltage = <1>; | ||
138 | fsl,pull-up = <0>; | ||
139 | }; | ||
140 | |||
126 | mmc0_4bit_pins_a: mmc0-4bit@0 { | 141 | mmc0_4bit_pins_a: mmc0-4bit@0 { |
127 | reg = <0>; | 142 | reg = <0>; |
128 | fsl,pinmux-ids = < | 143 | fsl,pinmux-ids = < |
@@ -289,12 +304,16 @@ | |||
289 | }; | 304 | }; |
290 | 305 | ||
291 | auart0: serial@8006c000 { | 306 | auart0: serial@8006c000 { |
307 | compatible = "fsl,imx23-auart"; | ||
292 | reg = <0x8006c000 0x2000>; | 308 | reg = <0x8006c000 0x2000>; |
309 | interrupts = <24 25 23>; | ||
293 | status = "disabled"; | 310 | status = "disabled"; |
294 | }; | 311 | }; |
295 | 312 | ||
296 | auart1: serial@8006e000 { | 313 | auart1: serial@8006e000 { |
314 | compatible = "fsl,imx23-auart"; | ||
297 | reg = <0x8006e000 0x2000>; | 315 | reg = <0x8006e000 0x2000>; |
316 | interrupts = <59 60 58>; | ||
298 | status = "disabled"; | 317 | status = "disabled"; |
299 | }; | 318 | }; |
300 | 319 | ||