arm64: dts: ti: k3-am65: Enable McASP nodes at the board level
authorAndrew Davis <afd@ti.com>
Fri, 28 Oct 2022 14:24:17 +0000 (09:24 -0500)
committerNishanth Menon <nm@ti.com>
Fri, 4 Nov 2022 02:46:01 +0000 (21:46 -0500)
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: Andrew Davis <afd@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221028142417.10642-12-afd@ti.com
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
arch/arm64/boot/dts/ti/k3-am65-main.dtsi
arch/arm64/boot/dts/ti/k3-am654-base-board.dts

index c6c79dd..3cced26 100644 (file)
                        <&mcu_r5fss0_core1_memory_region>;
        mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
 };
-
-&mcasp0 {
-       status = "disabled";
-};
-
-&mcasp1 {
-       status = "disabled";
-};
-
-&mcasp2 {
-       status = "disabled";
-};
index 3dc624a..1930da2 100644 (file)
                clocks = <&k3_clks 104 0>;
                clock-names = "fck";
                power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
        };
 
        mcasp1: mcasp@2b10000 {
                clocks = <&k3_clks 105 0>;
                clock-names = "fck";
                power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
        };
 
        mcasp2: mcasp@2b20000 {
                clocks = <&k3_clks 106 0>;
                clock-names = "fck";
                power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
        };
 
        cal: cal@6f03000 {
index d1c8047..592ab2b 100644 (file)
        phy-handle = <&phy0>;
 };
 
-&mcasp0 {
-       status = "disabled";
-};
-
-&mcasp1 {
-       status = "disabled";
-};
-
-&mcasp2 {
-       status = "disabled";
-};
-
 &dss {
        status = "disabled";
 };