arm64: dts: ti: k3-am62: Enable MCAN nodes at the board level
authorAndrew Davis <afd@ti.com>
Tue, 18 Oct 2022 21:15:31 +0000 (16:15 -0500)
committerNishanth Menon <nm@ti.com>
Fri, 28 Oct 2022 13:15:12 +0000 (08:15 -0500)
MCAN nodes defined in the top-level AM62x SoC dtsi files are incomplete
and will not be functional unless they are extended with pinmux
information.

As the pinmux is only known at the board integration level, these
nodes should only be enabled when provided with this information.

Disable the MCAN 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>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221018211533.21335-9-afd@ti.com
arch/arm64/boot/dts/ti/k3-am62-main.dtsi
arch/arm64/boot/dts/ti/k3-am625-sk.dts

index 5169f77cd37a799d822b30f8f521b3f0d98558d6..43eebff429ab896290a36afd487647e9b539d982 100644 (file)
                             <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
                interrupt-names = "int0", "int1";
                bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
+               status = "disabled";
        };
 
        epwm0: pwm@23000000 {
index b8938eb9c55ac46a487a3cb0cc7d6258a20973d9..b6d53366ec50575147bb6a4fe5e640753adabcdf 100644 (file)
                };
        };
 };
-
-&main_mcan0 {
-       status = "disabled";
-};