Commit b08bf4a5 authored by Andrew Davis's avatar Andrew Davis Committed by Nishanth Menon
Browse files

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



MCAN nodes defined in the top-level AM65x 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: default avatarAndrew Davis <afd@ti.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Tested-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: default avatarBryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221028142417.10642-9-afd@ti.com
parent c75c5c0b
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -650,14 +650,6 @@ &pcie1_rc {
	reset-gpios = <&wkup_gpio0 27 GPIO_ACTIVE_HIGH>;
};

&m_can0 {
	status = "disabled";
};

&m_can1 {
	status = "disabled";
};

&pcie1_ep {
	status = "disabled";
};
+2 −0
Original line number Diff line number Diff line
@@ -177,6 +177,7 @@ m_can0: mcan@40528000 {
			     <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "int0", "int1";
		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
		status = "disabled";
	};

	m_can1: mcan@40568000 {
@@ -192,6 +193,7 @@ m_can1: mcan@40568000 {
			     <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "int0", "int1";
		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
		status = "disabled";
	};

	fss: fss@47000000 {
+0 −8
Original line number Diff line number Diff line
@@ -431,14 +431,6 @@ &pcie1_ep {
	status = "disabled";
};

&m_can0 {
	status = "disabled";
};

&m_can1 {
	status = "disabled";
};

&mailbox0_cluster0 {
	interrupts = <436>;