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

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



McASP 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 McASP 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-12-afd@ti.com
parent 3f9089ea
Loading
Loading
Loading
Loading
+0 −12
Original line number Original line Diff line number Diff line
@@ -674,15 +674,3 @@ &mcu_r5fss0_core1 {
			<&mcu_r5fss0_core1_memory_region>;
			<&mcu_r5fss0_core1_memory_region>;
	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
};
};

&mcasp0 {
	status = "disabled";
};

&mcasp1 {
	status = "disabled";
};

&mcasp2 {
	status = "disabled";
};
+3 −0
Original line number Original line Diff line number Diff line
@@ -799,6 +799,7 @@ mcasp0: mcasp@2b00000 {
		clocks = <&k3_clks 104 0>;
		clocks = <&k3_clks 104 0>;
		clock-names = "fck";
		clock-names = "fck";
		power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
		power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
		status = "disabled";
	};
	};


	mcasp1: mcasp@2b10000 {
	mcasp1: mcasp@2b10000 {
@@ -816,6 +817,7 @@ mcasp1: mcasp@2b10000 {
		clocks = <&k3_clks 105 0>;
		clocks = <&k3_clks 105 0>;
		clock-names = "fck";
		clock-names = "fck";
		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
		status = "disabled";
	};
	};


	mcasp2: mcasp@2b20000 {
	mcasp2: mcasp@2b20000 {
@@ -833,6 +835,7 @@ mcasp2: mcasp@2b20000 {
		clocks = <&k3_clks 106 0>;
		clocks = <&k3_clks 106 0>;
		clock-names = "fck";
		clock-names = "fck";
		power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
		power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
		status = "disabled";
	};
	};


	cal: cal@6f03000 {
	cal: cal@6f03000 {
+0 −12
Original line number Original line Diff line number Diff line
@@ -487,18 +487,6 @@ &cpsw_port1 {
	phy-handle = <&phy0>;
	phy-handle = <&phy0>;
};
};


&mcasp0 {
	status = "disabled";
};

&mcasp1 {
	status = "disabled";
};

&mcasp2 {
	status = "disabled";
};

&dss {
&dss {
	status = "disabled";
	status = "disabled";
};
};