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/spear1310-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/spear1310-evb.dts')
-rw-r--r-- | arch/arm/boot/dts/spear1310-evb.dts | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts index 8c97f34b99fb..b56a801e42a2 100644 --- a/arch/arm/boot/dts/spear1310-evb.dts +++ b/arch/arm/boot/dts/spear1310-evb.dts | |||
@@ -147,6 +147,20 @@ | |||
147 | }; | 147 | }; |
148 | }; | 148 | }; |
149 | 149 | ||
150 | gpio_keys { | ||
151 | compatible = "gpio-keys"; | ||
152 | #address-cells = <1>; | ||
153 | #size-cells = <0>; | ||
154 | |||
155 | button@1 { | ||
156 | label = "wakeup"; | ||
157 | linux,code = <0x100>; | ||
158 | gpios = <&gpio0 7 0x4>; | ||
159 | debounce-interval = <20>; | ||
160 | gpio-key,wakeup = <1>; | ||
161 | }; | ||
162 | }; | ||
163 | |||
150 | gmac0: eth@e2000000 { | 164 | gmac0: eth@e2000000 { |
151 | phy-mode = "gmii"; | 165 | phy-mode = "gmii"; |
152 | status = "okay"; | 166 | status = "okay"; |
@@ -330,6 +344,75 @@ | |||
330 | 344 | ||
331 | spi0: spi@e0100000 { | 345 | spi0: spi@e0100000 { |
332 | status = "okay"; | 346 | status = "okay"; |
347 | num-cs = <3>; | ||
348 | cs-gpios = <&gpio1 7 0>, <&spics 0>, <&spics 1>; | ||
349 | |||
350 | stmpe610@0 { | ||
351 | compatible = "st,stmpe610"; | ||
352 | reg = <0>; | ||
353 | #address-cells = <1>; | ||
354 | #size-cells = <0>; | ||
355 | spi-max-frequency = <1000000>; | ||
356 | spi-cpha; | ||
357 | pl022,hierarchy = <0>; | ||
358 | pl022,interface = <0>; | ||
359 | pl022,slave-tx-disable; | ||
360 | pl022,com-mode = <0>; | ||
361 | pl022,rx-level-trig = <0>; | ||
362 | pl022,tx-level-trig = <0>; | ||
363 | pl022,ctrl-len = <0x7>; | ||
364 | pl022,wait-state = <0>; | ||
365 | pl022,duplex = <0>; | ||
366 | interrupts = <6 0x4>; | ||
367 | interrupt-parent = <&gpio1>; | ||
368 | irq-trigger = <0x2>; | ||
369 | |||
370 | stmpe_touchscreen { | ||
371 | compatible = "st,stmpe-ts"; | ||
372 | ts,sample-time = <4>; | ||
373 | ts,mod-12b = <1>; | ||
374 | ts,ref-sel = <0>; | ||
375 | ts,adc-freq = <1>; | ||
376 | ts,ave-ctrl = <1>; | ||
377 | ts,touch-det-delay = <2>; | ||
378 | ts,settling = <2>; | ||
379 | ts,fraction-z = <7>; | ||
380 | ts,i-drive = <1>; | ||
381 | }; | ||
382 | }; | ||
383 | |||
384 | m25p80@1 { | ||
385 | compatible = "st,m25p80"; | ||
386 | reg = <1>; | ||
387 | spi-max-frequency = <12000000>; | ||
388 | spi-cpol; | ||
389 | spi-cpha; | ||
390 | pl022,hierarchy = <0>; | ||
391 | pl022,interface = <0>; | ||
392 | pl022,slave-tx-disable; | ||
393 | pl022,com-mode = <0x2>; | ||
394 | pl022,rx-level-trig = <0>; | ||
395 | pl022,tx-level-trig = <0>; | ||
396 | pl022,ctrl-len = <0x11>; | ||
397 | pl022,wait-state = <0>; | ||
398 | pl022,duplex = <0>; | ||
399 | }; | ||
400 | |||
401 | spidev@2 { | ||
402 | compatible = "spidev"; | ||
403 | reg = <2>; | ||
404 | spi-max-frequency = <25000000>; | ||
405 | spi-cpha; | ||
406 | pl022,hierarchy = <0>; | ||
407 | pl022,interface = <0>; | ||
408 | pl022,slave-tx-disable; | ||
409 | pl022,com-mode = <0x2>; | ||
410 | pl022,rx-level-trig = <0>; | ||
411 | pl022,tx-level-trig = <0>; | ||
412 | pl022,ctrl-len = <0x11>; | ||
413 | pl022,wait-state = <0>; | ||
414 | pl022,duplex = <0>; | ||
415 | }; | ||
333 | }; | 416 | }; |
334 | 417 | ||
335 | wdt@ec800620 { | 418 | wdt@ec800620 { |