summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2014-03-19 00:15:40 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-04-18 18:07:20 +0200
commite10a57e341a6799db7e1414f38940ba800d4f297 (patch)
tree595bdb5de43fa940711f8cf7f4a2abfe41e725d1 /arch
parentARM: at91/dt: sam9g45: improve ADC/touchscreen support (diff)
downloadlinux-e10a57e341a6799db7e1414f38940ba800d4f297.tar.xz
linux-e10a57e341a6799db7e1414f38940ba800d4f297.zip
ARM: at91/dt: at91sam9m10g45ek: add ADC and touchscreen support
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/at91sam9m10g45ek.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
index 7ff665a8c708..7800931a4b16 100644
--- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
+++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
@@ -130,6 +130,21 @@
status = "okay";
};
+ adc0: adc@fffb0000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <
+ &pinctrl_adc0_ad0
+ &pinctrl_adc0_ad1
+ &pinctrl_adc0_ad2
+ &pinctrl_adc0_ad3
+ &pinctrl_adc0_ad4
+ &pinctrl_adc0_ad5
+ &pinctrl_adc0_ad6
+ &pinctrl_adc0_ad7>;
+ atmel,adc-ts-wires = <4>;
+ status = "okay";
+ };
+
pwm0: pwm@fffb8000 {
status = "okay";