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 <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
---
 arch/arm/boot/dts/am335x-icev2.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-icev2.dts 
b/arch/arm/boot/dts/am335x-icev2.dts
index fa3f5dc..1463df3 100644
--- a/arch/arm/boot/dts/am335x-icev2.dts
+++ b/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 {
-- 
2.10.0

Reply via email to