From: Nathan Morrisson Date: Thu, 1 Feb 2024 00:14:39 +0000 (-0800) Subject: arm64: dts: ti: phycore-am64: Add ADC X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=61fc6b43f0e321e265164701d3bf65a2e5157720;p=linux.git arm64: dts: ti: phycore-am64: Add ADC Add the ADC node to the phyCORE AM64x and enable the ADC. Signed-off-by: Nathan Morrisson Reviewed-by: Wadim Egorov Link: https://lore.kernel.org/r/20240201001439.3259450-1-nmorrisson@phytec.com Signed-off-by: Vignesh Raghavendra --- diff --git a/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi index 1678e74cb750e..cf1940c23bfe8 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi @@ -318,3 +318,10 @@ disable-wp; keep-power-in-suspend; }; + +&tscadc0 { + status = "okay"; + adc { + ti,adc-channels = <0 1 2 3 4 5 6 7>; + }; +};