Commit bcd8a3f2 authored by Andrew Davis's avatar Andrew Davis Committed by Nishanth Menon

arm64: dts: ti: k3-am64: Enable TSCADC nodes at the board level

TSCADC nodes defined in the top-level AM64 SoC dtsi files are incomplete
and may not be functional unless they are extended with pinmux and/or
device information.

Disable the TSCADC nodes in the dtsi files and only enable the ones that
are actually pinned out on a given board.
Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Reviewed-by: default avatarDhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-14-afd@ti.comSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 1228242d
...@@ -765,6 +765,7 @@ tscadc0: tscadc@28001000 { ...@@ -765,6 +765,7 @@ tscadc0: tscadc@28001000 {
assigned-clock-parents = <&k3_clks 0 3>; assigned-clock-parents = <&k3_clks 0 3>;
assigned-clock-rates = <60000000>; assigned-clock-rates = <60000000>;
clock-names = "fck"; clock-names = "fck";
status = "disabled";
adc { adc {
#io-channel-cells = <1>; #io-channel-cells = <1>;
......
...@@ -513,10 +513,6 @@ cpsw3g_phy1: ethernet-phy@1 { ...@@ -513,10 +513,6 @@ cpsw3g_phy1: ethernet-phy@1 {
}; };
}; };
&tscadc0 {
status = "disabled";
};
&ospi0 { &ospi0 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -424,6 +424,7 @@ &sdhci1 { ...@@ -424,6 +424,7 @@ &sdhci1 {
}; };
&tscadc0 { &tscadc0 {
status = "okay";
adc { adc {
ti,adc-channels = <0 1 2 3 4 5 6 7>; ti,adc-channels = <0 1 2 3 4 5 6 7>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment