Commit a82279dd authored by Patil, Rachna's avatar Patil, Rachna Committed by Sebastian Andrzej Siewior

arm: am33xx: add TSC/ADC mfd device support

Add support for core multifunctional device along
with its clients touchscreen and ADC.
Signed-off-by: default avatarPantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: default avatarPatil, Rachna <rachna@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarSebastian Andrzej Siewior <sebastian@breakpoint.cc>
parent 24d5c82f
......@@ -244,3 +244,17 @@ &cpsw_emac0 {
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
};
&tscadc {
status = "okay";
tsc {
ti,wires = <4>;
ti,x-plate-resistance = <200>;
ti,coordiante-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
};
adc {
ti,adc-channels = <4>;
};
};
......@@ -404,6 +404,24 @@ wkup_m3: wkup_m3@44d00000 {
ti,hwmods = "wkup_m3";
};
tscadc: tscadc@44e0d000 {
compatible = "ti,am3359-tscadc";
reg = <0x44e0d000 0x1000>;
interrupt-parent = <&intc>;
interrupts = <16>;
ti,hwmods = "adc_tsc";
status = "disabled";
tsc {
compatible = "ti,am3359-tsc";
};
am335x_adc: adc {
#io-channel-cells = <1>;
compatible = "ti,am3359-adc";
};
};
gpmc: gpmc@50000000 {
compatible = "ti,am3352-gpmc";
ti,hwmods = "gpmc";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment