aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2012-08-27 07:51:01 -0400
committerBenoit Cousson <b-cousson@ti.com>2012-09-07 13:23:03 -0400
commit4462b31cf416e74e54a37b57de7177cc4d244699 (patch)
treeb35ca6b0665137189887735a6c003011ed48c9a7
parent5d83cb86227baf87ab04a646d60fb8b26b880743 (diff)
ARM: dts: AM33XX: Specify reg and interrupt property for all nodes
The device/node resources (like, IORESOURCE_MEM and IORESOURCE_IRQ) are overwritten by hwmod resources, due to all known reasons but that should not be the reason for not providing all the information in the DTS blob. Ideally we should use DTS resource and use HWMOD framework wherever required and for only specific things. Newer platforms like, OMAP5 and AM33XX, we only support DT boot mode, so this patch is preparation for the future where we supposed to get rid of hwmod dependency anyway. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Benoit Cousson <b-cousson@ti.com>
-rw-r--r--arch/arm/boot/dts/am33xx.dtsi42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index be435117f5dd..bb31bff01998 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -69,6 +69,9 @@
69 #gpio-cells = <2>; 69 #gpio-cells = <2>;
70 interrupt-controller; 70 interrupt-controller;
71 #interrupt-cells = <1>; 71 #interrupt-cells = <1>;
72 reg = <0x44e07000 0x1000>;
73 interrupt-parent = <&intc>;
74 interrupts = <96>;
72 }; 75 };
73 76
74 gpio2: gpio@4804c000 { 77 gpio2: gpio@4804c000 {
@@ -78,6 +81,9 @@
78 #gpio-cells = <2>; 81 #gpio-cells = <2>;
79 interrupt-controller; 82 interrupt-controller;
80 #interrupt-cells = <1>; 83 #interrupt-cells = <1>;
84 reg = <0x4804c000 0x1000>;
85 interrupt-parent = <&intc>;
86 interrupts = <98>;
81 }; 87 };
82 88
83 gpio3: gpio@481ac000 { 89 gpio3: gpio@481ac000 {
@@ -87,6 +93,9 @@
87 #gpio-cells = <2>; 93 #gpio-cells = <2>;
88 interrupt-controller; 94 interrupt-controller;
89 #interrupt-cells = <1>; 95 #interrupt-cells = <1>;
96 reg = <0x481ac000 0x1000>;
97 interrupt-parent = <&intc>;
98 interrupts = <32>;
90 }; 99 };
91 100
92 gpio4: gpio@481ae000 { 101 gpio4: gpio@481ae000 {
@@ -96,12 +105,18 @@
96 #gpio-cells = <2>; 105 #gpio-cells = <2>;
97 interrupt-controller; 106 interrupt-controller;
98 #interrupt-cells = <1>; 107 #interrupt-cells = <1>;
108 reg = <0x481ae000 0x1000>;
109 interrupt-parent = <&intc>;
110 interrupts = <62>;
99 }; 111 };
100 112
101 uart1: serial@44e09000 { 113 uart1: serial@44e09000 {
102 compatible = "ti,omap3-uart"; 114 compatible = "ti,omap3-uart";
103 ti,hwmods = "uart1"; 115 ti,hwmods = "uart1";
104 clock-frequency = <48000000>; 116 clock-frequency = <48000000>;
117 reg = <0x44e09000 0x2000>;
118 interrupt-parent = <&intc>;
119 interrupts = <72>;
105 status = "disabled"; 120 status = "disabled";
106 }; 121 };
107 122
@@ -109,6 +124,9 @@
109 compatible = "ti,omap3-uart"; 124 compatible = "ti,omap3-uart";
110 ti,hwmods = "uart2"; 125 ti,hwmods = "uart2";
111 clock-frequency = <48000000>; 126 clock-frequency = <48000000>;
127 reg = <0x48022000 0x2000>;
128 interrupt-parent = <&intc>;
129 interrupts = <73>;
112 status = "disabled"; 130 status = "disabled";
113 }; 131 };
114 132
@@ -116,6 +134,9 @@
116 compatible = "ti,omap3-uart"; 134 compatible = "ti,omap3-uart";
117 ti,hwmods = "uart3"; 135 ti,hwmods = "uart3";
118 clock-frequency = <48000000>; 136 clock-frequency = <48000000>;
137 reg = <0x48024000 0x2000>;
138 interrupt-parent = <&intc>;
139 interrupts = <74>;
119 status = "disabled"; 140 status = "disabled";
120 }; 141 };
121 142
@@ -123,6 +144,9 @@
123 compatible = "ti,omap3-uart"; 144 compatible = "ti,omap3-uart";
124 ti,hwmods = "uart4"; 145 ti,hwmods = "uart4";
125 clock-frequency = <48000000>; 146 clock-frequency = <48000000>;
147 reg = <0x481a6000 0x2000>;
148 interrupt-parent = <&intc>;
149 interrupts = <44>;
126 status = "disabled"; 150 status = "disabled";
127 }; 151 };
128 152
@@ -130,6 +154,9 @@
130 compatible = "ti,omap3-uart"; 154 compatible = "ti,omap3-uart";
131 ti,hwmods = "uart5"; 155 ti,hwmods = "uart5";
132 clock-frequency = <48000000>; 156 clock-frequency = <48000000>;
157 reg = <0x481a8000 0x2000>;
158 interrupt-parent = <&intc>;
159 interrupts = <45>;
133 status = "disabled"; 160 status = "disabled";
134 }; 161 };
135 162
@@ -137,6 +164,9 @@
137 compatible = "ti,omap3-uart"; 164 compatible = "ti,omap3-uart";
138 ti,hwmods = "uart6"; 165 ti,hwmods = "uart6";
139 clock-frequency = <48000000>; 166 clock-frequency = <48000000>;
167 reg = <0x481aa000 0x2000>;
168 interrupt-parent = <&intc>;
169 interrupts = <46>;
140 status = "disabled"; 170 status = "disabled";
141 }; 171 };
142 172
@@ -145,6 +175,9 @@
145 #address-cells = <1>; 175 #address-cells = <1>;
146 #size-cells = <0>; 176 #size-cells = <0>;
147 ti,hwmods = "i2c1"; 177 ti,hwmods = "i2c1";
178 reg = <0x44e0b000 0x1000>;
179 interrupt-parent = <&intc>;
180 interrupts = <70>;
148 status = "disabled"; 181 status = "disabled";
149 }; 182 };
150 183
@@ -153,6 +186,9 @@
153 #address-cells = <1>; 186 #address-cells = <1>;
154 #size-cells = <0>; 187 #size-cells = <0>;
155 ti,hwmods = "i2c2"; 188 ti,hwmods = "i2c2";
189 reg = <0x4802a000 0x1000>;
190 interrupt-parent = <&intc>;
191 interrupts = <71>;
156 status = "disabled"; 192 status = "disabled";
157 }; 193 };
158 194
@@ -161,12 +197,18 @@
161 #address-cells = <1>; 197 #address-cells = <1>;
162 #size-cells = <0>; 198 #size-cells = <0>;
163 ti,hwmods = "i2c3"; 199 ti,hwmods = "i2c3";
200 reg = <0x4819c000 0x1000>;
201 interrupt-parent = <&intc>;
202 interrupts = <30>;
164 status = "disabled"; 203 status = "disabled";
165 }; 204 };
166 205
167 wdt2: wdt@44e35000 { 206 wdt2: wdt@44e35000 {
168 compatible = "ti,omap3-wdt"; 207 compatible = "ti,omap3-wdt";
169 ti,hwmods = "wd_timer2"; 208 ti,hwmods = "wd_timer2";
209 reg = <0x44e35000 0x1000>;
210 interrupt-parent = <&intc>;
211 interrupts = <91>;
170 }; 212 };
171 }; 213 };
172}; 214};