ARM: dts: am335x-icev2: Add ADC support
authorAndrew F. Davis <afd@ti.com>
Fri, 7 Oct 2016 14:44:24 +0000 (09:44 -0500)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Nov 2016 15:05:43 +0000 (07:05 -0800)
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>
arch/arm/boot/dts/am335x-icev2.dts

index fa3f5dc..1463df3 100644 (file)
        };
 };
 
+&tscadc {
+       status = "okay";
+       adc {
+               ti,adc-channels = <1 2 3 4 5 6 7>;
+       };
+};
+
 #include "tps65910.dtsi"
 
 &tps {