diff options
author | Patil, Rachna <rachna@ti.com> | 2013-01-23 22:45:12 -0500 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-06-12 12:50:20 -0400 |
commit | a82279dd6d3e500fea457f1cfea46a6b7ecd7e1f (patch) | |
tree | 50a58b224dffdb0c452e159ca6d30a57c289d0eb /arch/arm/boot/dts | |
parent | 24d5c82f8227d4dedf177df3f062eb35db15aaf6 (diff) |
arm: am33xx: add TSC/ADC mfd device support
Add support for core multifunctional device along
with its clients touchscreen and ADC.
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Patil, Rachna <rachna@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 14 | ||||
-rw-r--r-- | arch/arm/boot/dts/am33xx.dtsi | 18 |
2 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 0423298a26fe..26fea97dd6e0 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -244,3 +244,17 @@ | |||
244 | &cpsw_emac1 { | 244 | &cpsw_emac1 { |
245 | phy_id = <&davinci_mdio>, <1>; | 245 | phy_id = <&davinci_mdio>, <1>; |
246 | }; | 246 | }; |
247 | |||
248 | &tscadc { | ||
249 | status = "okay"; | ||
250 | tsc { | ||
251 | ti,wires = <4>; | ||
252 | ti,x-plate-resistance = <200>; | ||
253 | ti,coordiante-readouts = <5>; | ||
254 | ti,wire-config = <0x00 0x11 0x22 0x33>; | ||
255 | }; | ||
256 | |||
257 | adc { | ||
258 | ti,adc-channels = <4>; | ||
259 | }; | ||
260 | }; | ||
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 1460d9b88adf..4ad7797b97b6 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi | |||
@@ -404,6 +404,24 @@ | |||
404 | ti,hwmods = "wkup_m3"; | 404 | ti,hwmods = "wkup_m3"; |
405 | }; | 405 | }; |
406 | 406 | ||
407 | tscadc: tscadc@44e0d000 { | ||
408 | compatible = "ti,am3359-tscadc"; | ||
409 | reg = <0x44e0d000 0x1000>; | ||
410 | interrupt-parent = <&intc>; | ||
411 | interrupts = <16>; | ||
412 | ti,hwmods = "adc_tsc"; | ||
413 | status = "disabled"; | ||
414 | |||
415 | tsc { | ||
416 | compatible = "ti,am3359-tsc"; | ||
417 | }; | ||
418 | am335x_adc: adc { | ||
419 | #io-channel-cells = <1>; | ||
420 | compatible = "ti,am3359-adc"; | ||
421 | }; | ||
422 | |||
423 | }; | ||
424 | |||
407 | gpmc: gpmc@50000000 { | 425 | gpmc: gpmc@50000000 { |
408 | compatible = "ti,am3352-gpmc"; | 426 | compatible = "ti,am3352-gpmc"; |
409 | ti,hwmods = "gpmc"; | 427 | ti,hwmods = "gpmc"; |