arm64: dts: ti: k3-am62: Enable MCAN nodes at the board level

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
This commit is contained in:
Andrew Davis
2022-10-18 16:15:31 -05:00
committed by Nishanth Menon
parent 1f737012ce
commit 2f6d7e18e7
2 changed files with 1 additions and 4 deletions

View File

@@ -607,6 +607,7 @@ main_mcan0: can@20701000 {
<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 {

View File

@@ -452,7 +452,3 @@ partition@3fc0000 {
};
};
};
&main_mcan0 {
status = "disabled";
};