From 9b4bdd76922fe3de3f0ecb45ebd292ec62a03e34 Mon Sep 17 00:00:00 2001
From: "Patil, Rachna" <rachna@ti.com>
Date: Thu, 24 Jan 2013 03:45:12 +0000
Subject: [PATCH 23/51] arm/dts: AM335x-evm: Add TSC/ADC MFD device support

Add support for core multifunctional device along
with its clients touchscreen and ADC.

Signed-off-by: Patil, Rachna <rachna@ti.com>
---
 arch/arm/boot/dts/am335x-evm.dts |   13 +++++++++++++
 arch/arm/boot/dts/am33xx.dtsi    |    8 ++++++++
 2 files changed, 21 insertions(+)

@ arch/arm/boot/dts/am335x-evm.dts:572 @
 		};
 	};
 };
+
+&tscadc {
+	tsc {
+		ti,wires = <4>;
+		ti,x-plate-resistance = <200>;
+		ti,steps-to-configure = <5>;
+		ti,wire-config = <0x00 0x11 0x22 0x33>;
+	};
+
+	adc {
+		ti,adc-channels = <4>;
+	};
+};
@ arch/arm/boot/dts/am33xx.dtsi:607 @
 			};
 		};
 
+		tscadc: tscadc@44e0d000 {
+			compatible = "ti,ti-tscadc";
+			reg = <0x44e0d000 0x1000>;
+			interrupt-parent = <&intc>;
+			interrupts = <16>;
+			ti,hwmods = "adc_tsc";
+		};
+
 		ocmcram: ocmcram@40300000 {
 			compatible = "ti,am3352-ocmcram";
 			reg = <0x40300000 0x10000>;
-- 
1.7.10.4