aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx23.dtsi
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-04 02:32:35 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-05-12 01:32:19 -0400
commitce4c6f9b5987ac9402788c518bc5bd8b8572aa1e (patch)
treeb065be1ed1491eccc226ae9b0e000cfb203331ee /arch/arm/boot/dts/imx23.dtsi
parent4052d45e800ce33e1993fb70604941547ed73d26 (diff)
ARM: mxs: add gpio support for device tree boot
It adds gpio support for device tree boot. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx23.dtsi')
-rw-r--r--arch/arm/boot/dts/imx23.dtsi35
1 files changed, 34 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
index a85ef5514747..26220550f2f8 100644
--- a/arch/arm/boot/dts/imx23.dtsi
+++ b/arch/arm/boot/dts/imx23.dtsi
@@ -14,6 +14,12 @@
14/ { 14/ {
15 interrupt-parent = <&icoll>; 15 interrupt-parent = <&icoll>;
16 16
17 aliases {
18 gpio0 = &gpio0;
19 gpio1 = &gpio1;
20 gpio2 = &gpio2;
21 };
22
17 cpus { 23 cpus {
18 cpu@0 { 24 cpu@0 {
19 compatible = "arm,arm926ejs"; 25 compatible = "arm,arm926ejs";
@@ -74,9 +80,36 @@
74 pinctrl@80018000 { 80 pinctrl@80018000 {
75 #address-cells = <1>; 81 #address-cells = <1>;
76 #size-cells = <0>; 82 #size-cells = <0>;
77 compatible = "fsl,imx23-pinctrl"; 83 compatible = "fsl,imx23-pinctrl", "simple-bus";
78 reg = <0x80018000 2000>; 84 reg = <0x80018000 2000>;
79 85
86 gpio0: gpio@0 {
87 compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
88 interrupts = <16>;
89 gpio-controller;
90 #gpio-cells = <2>;
91 interrupt-controller;
92 #interrupt-cells = <2>;
93 };
94
95 gpio1: gpio@1 {
96 compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
97 interrupts = <17>;
98 gpio-controller;
99 #gpio-cells = <2>;
100 interrupt-controller;
101 #interrupt-cells = <2>;
102 };
103
104 gpio2: gpio@2 {
105 compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
106 interrupts = <18>;
107 gpio-controller;
108 #gpio-cells = <2>;
109 interrupt-controller;
110 #interrupt-cells = <2>;
111 };
112
80 duart_pins_a: duart@0 { 113 duart_pins_a: duart@0 {
81 reg = <0>; 114 reg = <0>;
82 fsl,pinmux-ids = <0x11a2 0x11b2>; 115 fsl,pinmux-ids = <0x11a2 0x11b2>;