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 c6c79dde79c529b50b67766456c74c43875cb069..3cced26b520a190c213aeb8fe7a53d6441d81821 100644 (file)
                        <&mcu_r5fss0_core1_memory_region>;
        mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
 };
-
-&mcasp0 {
-       status = "disabled";
-};
-
-&mcasp1 {
-       status = "disabled";
-};
-
-&mcasp2 {
-       status = "disabled";
-};
index 3dc624a379c5fb3186ce863a36aefca78a1aae1f..1930da25d282167399a86e0d3a6dfea7f10bac22 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 d1c8047d967268a7ebe2348962d4dc10c641d7b9..592ab2b54cb3dbbc6c2f09b4e1bc0077645d2c4e 100644 (file)
        phy-handle = <&phy0>;
 };
 
-&mcasp0 {
-       status = "disabled";
-};
-
-&mcasp1 {
-       status = "disabled";
-};
-
-&mcasp2 {
-       status = "disabled";
-};
-
 &dss {
        status = "disabled";
 };