]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: ti: k3-am64*: Disable ethernet by default at SoC level
authorLogan Bristol <logan.bristol@utexas.edu>
Fri, 9 Aug 2024 13:57:53 +0000 (08:57 -0500)
committerNishanth Menon <nm@ti.com>
Wed, 28 Aug 2024 17:17:37 +0000 (12:17 -0500)
External interfaces should be disabled at the SoC DTSI level, since
the node is incomplete. Disable Ethernet switch and ports in SoC DTSI
and enable them in the board DTS. If the board DTS includes a SoM DTSI
that completes the node description, enable the Ethernet switch and
ports in SoM DTSI.

Reflect this change in SoM DTSIs by removing ethernet port disable.

Signed-off-by: Logan Bristol <logan.bristol@utexas.edu>
Acked-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Acked-by: Josua Mayer <josua@solid-run.com>
Link: https://lore.kernel.org/r/20240809135753.1186-1-logan.bristol@utexas.edu
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am64-main.dtsi
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi
arch/arm64/boot/dts/ti/k3-am642-evm.dts
arch/arm64/boot/dts/ti/k3-am642-sk.dts
arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi
arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts

index f8370dd033502c798f56fd4c65bb611ebccb8dff..69c5af58b72791af48c4eb8ad94923a9208060f6 100644 (file)
                assigned-clock-parents = <&k3_clks 13 9>;
                clock-names = "fck";
                power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
 
                dmas = <&main_pktdma 0xC500 15>,
                       <&main_pktdma 0xC501 15>,
                                phys = <&phy_gmii_sel 1>;
                                mac-address = [00 00 00 00 00 00];
                                ti,syscon-efuse = <&main_conf 0x200>;
+                               status = "disabled";
                        };
 
                        cpsw_port2: port@2 {
                                label = "port2";
                                phys = <&phy_gmii_sel 2>;
                                mac-address = [00 00 00 00 00 00];
+                               status = "disabled";
                        };
                };
 
index ea7c58fb67e207d03bc879f5ef5d4420619d26ea..6bece2fb4e953124404b413ae3b43cfbc143a499 100644 (file)
 &cpsw3g {
        pinctrl-names = "default";
        pinctrl-0 = <&cpsw_rgmii1_pins_default>;
+       status = "okay";
 };
 
 &cpsw3g_mdio {
 &cpsw_port1 {
        phy-mode = "rgmii-rxid";
        phy-handle = <&cpsw3g_phy1>;
-};
-
-&cpsw_port2 {
-       status = "disabled";
+       status = "okay";
 };
 
 &mailbox0_cluster2 {
index 42015a55e0d39fb29b1f2ab4e584d7b6756268bc..97ca16f00cd260d88ebf638bfba22b7afc72f6b0 100644 (file)
        bootph-all;
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>;
+       status = "okay";
 };
 
 &cpsw_port1 {
        bootph-all;
        phy-mode = "rgmii-rxid";
        phy-handle = <&cpsw3g_phy0>;
+       status = "okay";
 };
 
 &cpsw_port2 {
        phy-mode = "rgmii-rxid";
        phy-handle = <&cpsw3g_phy3>;
+       status = "okay";
 };
 
 &cpsw3g_mdio {
index 44ecbcf1c84474cf639c809e3463b5e8b68993f8..86369525259c3e432a4f2141e9aaf3da3a5b375d 100644 (file)
 &cpsw3g {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>;
+       status = "okay";
 };
 
 &cpsw_port1 {
        phy-mode = "rgmii-rxid";
        phy-handle = <&cpsw3g_phy0>;
+       status = "okay";
 };
 
 &cpsw_port2 {
        phy-mode = "rgmii-rxid";
        phy-handle = <&cpsw3g_phy1>;
+       status = "okay";
 };
 
 &cpsw3g_mdio {
index c19d0b8bbf0fca6fb859efe78629e0ce946c456c..a5cec9a075109aeec335e3f4d22a9fd60a3cd813 100644 (file)
 &cpsw3g {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_default_pins>;
+       status = "okay";
 };
 
 &cpsw3g_mdio {
 &cpsw_port1 {
        phy-mode = "rgmii-id";
        phy-handle = <&ethernet_phy0>;
-};
-
-&cpsw_port2 {
-       status = "disabled";
+       status = "okay";
 };
 
 &icssg1_mdio {
index c2a62cb763a5937eba384bd9c1d25e480c76692b..e06a3b178b3468b661556840b29ebe6580ff10ce 100644 (file)
 &cpsw3g {
        pinctrl-names = "default";
        pinctrl-0 = <&cpsw_pins>;
+       status = "okay";
 };
 
 &cpsw_port1 {
        phy-mode = "rgmii-rxid";
        phy-handle = <&cpsw3g_phy0>;
-};
-
-&cpsw_port2 {
-       status = "disabled";
+       status = "okay";
 };
 
 &cpsw3g_mdio {