[8/8] ARM: dts: am335x-sl50: enable tsadc on SL50 board.
diff mbox

Message ID 20180606155413.23542-8-enric.balletbo@collabora.com
State New
Headers show

Commit Message

Enric Balletbo i Serra June 6, 2018, 3:54 p.m. UTC
The tsadc is used to read various voltages on the board, so enable it
to be able to read these voltages from userspace.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---

 arch/arm/boot/dts/am335x-sl50.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch
diff mbox

diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index e11a6def36a4..522fc7decfd7 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -729,3 +729,11 @@ 
 &lcdc {
 	status = "okay";
 };
+
+&tscadc {
+	status = "okay";
+};
+
+&am335x_adc {
+	ti,adc-channels = <0 1 2 3 4 5 6 7>;
+};