[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240201001439.3259450-1-nmorrisson@phytec.com>
Date: Wed, 31 Jan 2024 16:14:39 -0800
From: Nathan Morrisson <nmorrisson@...tec.com>
To: nm@...com,
vigneshr@...com,
kristo@...nel.org,
robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org
Cc: linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
upstream@...ts.phytec.de
Subject: [PATCH] arm64: dts: ti: phycore-am64: Add ADC
Add the ADC node to the phyCORE AM64x and enable the ADC.
Signed-off-by: Nathan Morrisson <nmorrisson@...tec.com>
---
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
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 1678e74cb750..cf1940c23bfe 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 @@ &sdhci0 {
disable-wp;
keep-power-in-suspend;
};
+
+&tscadc0 {
+ status = "okay";
+ adc {
+ ti,adc-channels = <0 1 2 3 4 5 6 7>;
+ };
+};
--
2.25.1
Powered by blists - more mailing lists