arm64: dts: ti: k3-am65: Enable TSCADC nodes at the board level
authorAndrew Davis <afd@ti.com>
Thu, 10 Aug 2023 00:38:13 +0000 (19:38 -0500)
committerNishanth Menon <nm@ti.com>
Thu, 10 Aug 2023 03:31:01 +0000 (22:31 -0500)
TSCADC nodes defined in the top-level AM65 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 top-level dtsi files and only enable the
ones that are actually pinned out on a given board.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-13-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
arch/arm64/boot/dts/ti/k3-am654-base-board.dts

index 6041862d5aa756f31c89e78e1bc5d8b49f959911..ba1c14a54acf48667e20e8e8e536710b9dc08294 100644 (file)
        ti,pindir-d0-out-d1-in;
 };
 
-&tscadc0 {
-       status = "disabled";
-};
-
 &tscadc1 {
+       status = "okay";
        adc {
                ti,adc-channels = <0 1 2 3 4 5>;
        };
index 616230ecfc33df0f29677068d76477b8f09c6995..cdc89902c1228c87fdb0d7deb7dbf86afe00cb93 100644 (file)
                dmas = <&mcu_udmap 0x7100>,
                        <&mcu_udmap 0x7101 >;
                dma-names = "fifo0", "fifo1";
+               status = "disabled";
 
                adc {
                        #io-channel-cells = <1>;
                dmas = <&mcu_udmap 0x7102>,
                        <&mcu_udmap 0x7103>;
                dma-names = "fifo0", "fifo1";
+               status = "disabled";
 
                adc {
                        #io-channel-cells = <1>;
index aac243bacfeea30fa7e31d457b3bb8faf97dd619..f5c26e9fba9874d48b69f1432712dcd0c2886440 100644 (file)
 };
 
 &tscadc0 {
+       status = "okay";
        adc {
                ti,adc-channels = <0 1 2 3 4 5 6 7>;
        };
 };
 
 &tscadc1 {
+       status = "okay";
        adc {
                ti,adc-channels = <0 1 2 3 4 5 6 7>;
        };