diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-02-28 16:32:00 -0500 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-04-08 18:21:07 -0400 |
commit | 423182e3b017f8a44f5ec33da25eb370b2ab7b9a (patch) | |
tree | e9930a8c282b4dd99b838f8d578874c903ba5bbf | |
parent | 1c7dbb5521a10135203311476304c640e983ced6 (diff) |
ARM: dts: Add OMAP2 gpio bindings
Add gpios bindings for OMAP2420 and OMAP2430 devices.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/omap2420.dtsi | 44 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap2430.dtsi | 55 |
2 files changed, 99 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap2420.dtsi b/arch/arm/boot/dts/omap2420.dtsi index d4ce6c2e6e80..eee902f3eaa5 100644 --- a/arch/arm/boot/dts/omap2420.dtsi +++ b/arch/arm/boot/dts/omap2420.dtsi | |||
@@ -29,6 +29,50 @@ | |||
29 | pinctrl-single,function-mask = <0x3f>; | 29 | pinctrl-single,function-mask = <0x3f>; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | gpio1: gpio@48018000 { | ||
33 | compatible = "ti,omap2-gpio"; | ||
34 | reg = <0x48018000 0x200>; | ||
35 | interrupts = <29>; | ||
36 | ti,hwmods = "gpio1"; | ||
37 | #gpio-cells = <2>; | ||
38 | gpio-controller; | ||
39 | #interrupt-cells = <2>; | ||
40 | interrupt-controller; | ||
41 | }; | ||
42 | |||
43 | gpio2: gpio@4801a000 { | ||
44 | compatible = "ti,omap2-gpio"; | ||
45 | reg = <0x4801a000 0x200>; | ||
46 | interrupts = <30>; | ||
47 | ti,hwmods = "gpio2"; | ||
48 | #gpio-cells = <2>; | ||
49 | gpio-controller; | ||
50 | #interrupt-cells = <2>; | ||
51 | interrupt-controller; | ||
52 | }; | ||
53 | |||
54 | gpio3: gpio@4801c000 { | ||
55 | compatible = "ti,omap2-gpio"; | ||
56 | reg = <0x4801c000 0x200>; | ||
57 | interrupts = <31>; | ||
58 | ti,hwmods = "gpio3"; | ||
59 | #gpio-cells = <2>; | ||
60 | gpio-controller; | ||
61 | #interrupt-cells = <2>; | ||
62 | interrupt-controller; | ||
63 | }; | ||
64 | |||
65 | gpio4: gpio@4801e000 { | ||
66 | compatible = "ti,omap2-gpio"; | ||
67 | reg = <0x4801e000 0x200>; | ||
68 | interrupts = <32>; | ||
69 | ti,hwmods = "gpio4"; | ||
70 | #gpio-cells = <2>; | ||
71 | gpio-controller; | ||
72 | #interrupt-cells = <2>; | ||
73 | interrupt-controller; | ||
74 | }; | ||
75 | |||
32 | gpmc: gpmc@6800a000 { | 76 | gpmc: gpmc@6800a000 { |
33 | compatible = "ti,omap2420-gpmc"; | 77 | compatible = "ti,omap2420-gpmc"; |
34 | reg = <0x6800a000 0x1000>; | 78 | reg = <0x6800a000 0x1000>; |
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi index 832f184ae912..fb74382874bd 100644 --- a/arch/arm/boot/dts/omap2430.dtsi +++ b/arch/arm/boot/dts/omap2430.dtsi | |||
@@ -29,6 +29,61 @@ | |||
29 | pinctrl-single,function-mask = <0x3f>; | 29 | pinctrl-single,function-mask = <0x3f>; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | gpio1: gpio@4900c000 { | ||
33 | compatible = "ti,omap2-gpio"; | ||
34 | reg = <0x4900c000 0x200>; | ||
35 | interrupts = <29>; | ||
36 | ti,hwmods = "gpio1"; | ||
37 | #gpio-cells = <2>; | ||
38 | gpio-controller; | ||
39 | #interrupt-cells = <2>; | ||
40 | interrupt-controller; | ||
41 | }; | ||
42 | |||
43 | gpio2: gpio@4900e000 { | ||
44 | compatible = "ti,omap2-gpio"; | ||
45 | reg = <0x4900e000 0x200>; | ||
46 | interrupts = <30>; | ||
47 | ti,hwmods = "gpio2"; | ||
48 | #gpio-cells = <2>; | ||
49 | gpio-controller; | ||
50 | #interrupt-cells = <2>; | ||
51 | interrupt-controller; | ||
52 | }; | ||
53 | |||
54 | gpio3: gpio@49010000 { | ||
55 | compatible = "ti,omap2-gpio"; | ||
56 | reg = <0x49010000 0x200>; | ||
57 | interrupts = <31>; | ||
58 | ti,hwmods = "gpio3"; | ||
59 | #gpio-cells = <2>; | ||
60 | gpio-controller; | ||
61 | #interrupt-cells = <2>; | ||
62 | interrupt-controller; | ||
63 | }; | ||
64 | |||
65 | gpio4: gpio@49012000 { | ||
66 | compatible = "ti,omap2-gpio"; | ||
67 | reg = <0x49012000 0x200>; | ||
68 | interrupts = <32>; | ||
69 | ti,hwmods = "gpio4"; | ||
70 | #gpio-cells = <2>; | ||
71 | gpio-controller; | ||
72 | #interrupt-cells = <2>; | ||
73 | interrupt-controller; | ||
74 | }; | ||
75 | |||
76 | gpio5: gpio@480b6000 { | ||
77 | compatible = "ti,omap2-gpio"; | ||
78 | reg = <0x480b6000 0x200>; | ||
79 | interrupts = <33>; | ||
80 | ti,hwmods = "gpio5"; | ||
81 | #gpio-cells = <2>; | ||
82 | gpio-controller; | ||
83 | #interrupt-cells = <2>; | ||
84 | interrupt-controller; | ||
85 | }; | ||
86 | |||
32 | gpmc: gpmc@6e000000 { | 87 | gpmc: gpmc@6e000000 { |
33 | compatible = "ti,omap2430-gpmc"; | 88 | compatible = "ti,omap2430-gpmc"; |
34 | reg = <0x6e000000 0x1000>; | 89 | reg = <0x6e000000 0x1000>; |