diff options
author | Shiraz Hashim <shiraz.hashim@st.com> | 2012-11-10 07:01:01 -0500 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2012-11-26 06:25:28 -0500 |
commit | 8113ba917dfa74ba51b176f9f528f3a217c0eea2 (patch) | |
tree | b731df957851355f24803df93d0cf65af67d8392 /arch/arm/boot/dts/spear1340-evb.dts | |
parent | 7bceba83734dd4d50e978492959bd327f697fc23 (diff) |
ARM: SPEAr: DT: Update device nodes
This patch adds multiple device nodes for SPEAr machines and boards.
Signed-off-by: Bhavna Yadav <bhavna.yadav@st.com>
Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Vijay Kumar Mishra <vijay.kumar@st.com>
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/spear1340-evb.dts')
-rw-r--r-- | arch/arm/boot/dts/spear1340-evb.dts | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts index 05c25495804b..d6c30ae0a8d7 100644 --- a/arch/arm/boot/dts/spear1340-evb.dts +++ b/arch/arm/boot/dts/spear1340-evb.dts | |||
@@ -118,6 +118,10 @@ | |||
118 | }; | 118 | }; |
119 | }; | 119 | }; |
120 | 120 | ||
121 | ahci@b1000000 { | ||
122 | status = "okay"; | ||
123 | }; | ||
124 | |||
121 | dma@ea800000 { | 125 | dma@ea800000 { |
122 | status = "okay"; | 126 | status = "okay"; |
123 | }; | 127 | }; |
@@ -205,10 +209,37 @@ | |||
205 | status = "okay"; | 209 | status = "okay"; |
206 | }; | 210 | }; |
207 | 211 | ||
212 | gpio_keys { | ||
213 | compatible = "gpio-keys"; | ||
214 | #address-cells = <1>; | ||
215 | #size-cells = <0>; | ||
216 | |||
217 | button@1 { | ||
218 | label = "wakeup"; | ||
219 | linux,code = <0x100>; | ||
220 | gpios = <&gpio1 1 0x4>; | ||
221 | debounce-interval = <20>; | ||
222 | gpio-key,wakeup = <1>; | ||
223 | }; | ||
224 | }; | ||
225 | |||
208 | ehci@e5800000 { | 226 | ehci@e5800000 { |
209 | status = "okay"; | 227 | status = "okay"; |
210 | }; | 228 | }; |
211 | 229 | ||
230 | i2s0: i2s-play@b2400000 { | ||
231 | status = "okay"; | ||
232 | }; | ||
233 | |||
234 | i2s1: i2s-rec@b2000000 { | ||
235 | status = "okay"; | ||
236 | }; | ||
237 | |||
238 | incodec: dir-hifi { | ||
239 | compatible = "dummy,dir-hifi"; | ||
240 | status = "okay"; | ||
241 | }; | ||
242 | |||
212 | ohci@e4000000 { | 243 | ohci@e4000000 { |
213 | status = "okay"; | 244 | status = "okay"; |
214 | }; | 245 | }; |
@@ -217,11 +248,43 @@ | |||
217 | status = "okay"; | 248 | status = "okay"; |
218 | }; | 249 | }; |
219 | 250 | ||
251 | outcodec: dit-hifi { | ||
252 | compatible = "dummy,dit-hifi"; | ||
253 | status = "okay"; | ||
254 | }; | ||
255 | |||
256 | sound { | ||
257 | compatible = "spear,spear-evb"; | ||
258 | audio-controllers = <&spdif0 &spdif1 &i2s0 &i2s1>; | ||
259 | audio-codecs = <&incodec &outcodec &sta529 &sta529>; | ||
260 | codec_dai_name = "dir-hifi", "dit-hifi", "sta529-audio", "sta529-audio"; | ||
261 | stream_name = "spdif-cap", "spdif-play", "i2s-play", "i2s-cap"; | ||
262 | dai_name = "spdifin-pcm", "spdifout-pcm", "i2s0-pcm", "i2s1-pcm"; | ||
263 | nr_controllers = <4>; | ||
264 | status = "okay"; | ||
265 | }; | ||
266 | |||
267 | spdif0: spdif-in@d0100000 { | ||
268 | status = "okay"; | ||
269 | }; | ||
270 | |||
271 | spdif1: spdif-out@d0000000 { | ||
272 | status = "okay"; | ||
273 | }; | ||
274 | |||
220 | apb { | 275 | apb { |
221 | adc@e0080000 { | 276 | adc@e0080000 { |
222 | status = "okay"; | 277 | status = "okay"; |
223 | }; | 278 | }; |
224 | 279 | ||
280 | i2s-play@b2400000 { | ||
281 | status = "okay"; | ||
282 | }; | ||
283 | |||
284 | i2s-rec@b2000000 { | ||
285 | status = "okay"; | ||
286 | }; | ||
287 | |||
225 | gpio0: gpio@e0600000 { | 288 | gpio0: gpio@e0600000 { |
226 | status = "okay"; | 289 | status = "okay"; |
227 | }; | 290 | }; |
@@ -236,10 +299,36 @@ | |||
236 | 299 | ||
237 | i2c0: i2c@e0280000 { | 300 | i2c0: i2c@e0280000 { |
238 | status = "okay"; | 301 | status = "okay"; |
302 | |||
303 | sta529: sta529@1a { | ||
304 | compatible = "st,sta529"; | ||
305 | reg = <0x1a>; | ||
306 | }; | ||
239 | }; | 307 | }; |
240 | 308 | ||
241 | i2c1: i2c@b4000000 { | 309 | i2c1: i2c@b4000000 { |
242 | status = "okay"; | 310 | status = "okay"; |
311 | |||
312 | eeprom0@56 { | ||
313 | compatible = "st,eeprom"; | ||
314 | reg = <0x56>; | ||
315 | }; | ||
316 | |||
317 | stmpe801@41 { | ||
318 | compatible = "st,stmpe801"; | ||
319 | #address-cells = <1>; | ||
320 | #size-cells = <0>; | ||
321 | reg = <0x41>; | ||
322 | interrupts = <4 0x4>; | ||
323 | interrupt-parent = <&gpio0>; | ||
324 | irq-trigger = <0x2>; | ||
325 | |||
326 | stmpegpio: stmpe_gpio { | ||
327 | compatible = "st,stmpe-gpio"; | ||
328 | gpio-controller; | ||
329 | #gpio-cells = <2>; | ||
330 | }; | ||
331 | }; | ||
243 | }; | 332 | }; |
244 | 333 | ||
245 | kbd@e0300000 { | 334 | kbd@e0300000 { |
@@ -348,6 +437,80 @@ | |||
348 | 437 | ||
349 | spi0: spi@e0100000 { | 438 | spi0: spi@e0100000 { |
350 | status = "okay"; | 439 | status = "okay"; |
440 | num-cs = <3>; | ||
441 | cs-gpios = <&gpiopinctrl 80 0>, <&gpiopinctrl 24 0>, | ||
442 | <&gpiopinctrl 85 0>; | ||
443 | |||
444 | m25p80@0 { | ||
445 | compatible = "m25p80"; | ||
446 | reg = <0>; | ||
447 | spi-max-frequency = <12000000>; | ||
448 | spi-cpol; | ||
449 | spi-cpha; | ||
450 | pl022,hierarchy = <0>; | ||
451 | pl022,interface = <0>; | ||
452 | pl022,slave-tx-disable; | ||
453 | pl022,com-mode = <0x2>; | ||
454 | pl022,rx-level-trig = <0>; | ||
455 | pl022,tx-level-trig = <0>; | ||
456 | pl022,ctrl-len = <0x11>; | ||
457 | pl022,wait-state = <0>; | ||
458 | pl022,duplex = <0>; | ||
459 | }; | ||
460 | |||
461 | stmpe610@1 { | ||
462 | compatible = "st,stmpe610"; | ||
463 | spi-max-frequency = <1000000>; | ||
464 | spi-cpha; | ||
465 | reg = <1>; | ||
466 | pl022,hierarchy = <0>; | ||
467 | pl022,interface = <0>; | ||
468 | pl022,slave-tx-disable; | ||
469 | pl022,com-mode = <0>; | ||
470 | pl022,rx-level-trig = <0>; | ||
471 | pl022,tx-level-trig = <0>; | ||
472 | pl022,ctrl-len = <0x7>; | ||
473 | pl022,wait-state = <0>; | ||
474 | pl022,duplex = <0>; | ||
475 | interrupts = <100 0>; | ||
476 | interrupt-parent = <&gpiopinctrl>; | ||
477 | irq-trigger = <0x2>; | ||
478 | #address-cells = <1>; | ||
479 | #size-cells = <0>; | ||
480 | |||
481 | stmpe_touchscreen { | ||
482 | compatible = "st,stmpe-ts"; | ||
483 | ts,sample-time = <4>; | ||
484 | ts,mod-12b = <1>; | ||
485 | ts,ref-sel = <0>; | ||
486 | ts,adc-freq = <1>; | ||
487 | ts,ave-ctrl = <1>; | ||
488 | ts,touch-det-delay = <2>; | ||
489 | ts,settling = <2>; | ||
490 | ts,fraction-z = <7>; | ||
491 | ts,i-drive = <1>; | ||
492 | }; | ||
493 | }; | ||
494 | |||
495 | spidev@2 { | ||
496 | compatible = "spidev"; | ||
497 | reg = <2>; | ||
498 | spi-max-frequency = <25000000>; | ||
499 | spi-cpha; | ||
500 | pl022,hierarchy = <0>; | ||
501 | pl022,interface = <0>; | ||
502 | pl022,slave-tx-disable; | ||
503 | pl022,com-mode = <0x2>; | ||
504 | pl022,rx-level-trig = <0>; | ||
505 | pl022,tx-level-trig = <0>; | ||
506 | pl022,ctrl-len = <0x11>; | ||
507 | pl022,wait-state = <0>; | ||
508 | pl022,duplex = <0>; | ||
509 | }; | ||
510 | }; | ||
511 | |||
512 | timer@ec800600 { | ||
513 | status = "okay"; | ||
351 | }; | 514 | }; |
352 | 515 | ||
353 | wdt@ec800620 { | 516 | wdt@ec800620 { |