diff options
author | Andrew Davis <afd@ti.com> | 2023-08-09 19:38:14 -0500 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2023-08-09 22:31:07 -0500 |
commit | bcd8a3f28ad6baec7f4d8cbb0fe7cbaf6e351567 (patch) | |
tree | a38cb5c3e1031d516adeaeedd89727a70f7d61db /arch/arm64/boot/dts/ti | |
parent | 1228242df12ec1b7cd099c8e57a35940f32b89c3 (diff) |
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: Andrew Davis <afd@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-14-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm64/boot/dts/ti')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 1 | ||||
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am642-sk.dts | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index ed1b63b9c1c5..0df54a741824 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -765,6 +765,7 @@ assigned-clock-parents = <&k3_clks 0 3>; assigned-clock-rates = <60000000>; clock-names = "fck"; + status = "disabled"; adc { #io-channel-cells = <1>; diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index af06ccd46680..722fd285a34e 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -513,10 +513,6 @@ }; }; -&tscadc0 { - status = "disabled"; -}; - &ospi0 { status = "okay"; pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts b/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts index ac132a0867d0..04c15b64f0b7 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts @@ -424,6 +424,7 @@ }; &tscadc0 { + status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5 6 7>; }; |