arm64: dts: ti: phycore-am64: Add ADC
authorNathan Morrisson <nmorrisson@phytec.com>
Thu, 1 Feb 2024 00:14:39 +0000 (16:14 -0800)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 5 Feb 2024 14:49:14 +0000 (20:19 +0530)
Add the ADC node to the phyCORE AM64x and enable the ADC.

Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20240201001439.3259450-1-nmorrisson@phytec.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi

index 1678e74cb750e8c2eea612a6ddc37747fa225eb5..cf1940c23bfe85b8d6b07a8c40e7821de613cf2e 100644 (file)
        disable-wp;
        keep-power-in-suspend;
 };
+
+&tscadc0 {
+       status = "okay";
+       adc {
+               ti,adc-channels = <0 1 2 3 4 5 6 7>;
+       };
+};