Browse Source

ARM: dts: am335x-icev2: Add ADC support

7 of the 8 ADC inputs on the am335x are connected to the Industrial I/O
header, add this here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Andrew F. Davis 9 years ago
parent
commit
a59c2238d6
1 changed files with 7 additions and 0 deletions
  1. 7 0
      arch/arm/boot/dts/am335x-icev2.dts

+ 7 - 0
arch/arm/boot/dts/am335x-icev2.dts

@@ -244,6 +244,13 @@
 	};
 };
 
+&tscadc {
+	status = "okay";
+	adc {
+		ti,adc-channels = <1 2 3 4 5 6 7>;
+	};
+};
+
 #include "tps65910.dtsi"
 
 &tps {