// SPDX-License-Identifier: GPL-2.0-or-later OR MIT / { soc { switch: switch@c000000 { compatible = "qcom,ipq4019-ess"; reg = <0xc000000 0x80000>, <0x98000 0x800>, <0xc080000 0x8000>; reg-names = "base", "psgmii_phy", "edma"; resets = <&gcc ESS_PSGMII_ARES>, <&gcc ESS_RESET>; reset-names = "psgmii", "ess"; clocks = <&gcc GCC_ESS_CLK>; clock-names = "ess"; mdio = <&mdio>; interrupts = , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ; status = "disabled"; ports { #address-cells = <1>; #size-cells = <0>; swport1: port@1 { /* MAC1 */ reg = <1>; label = "lan1"; phy-handle = <ðphy0>; phy-mode = "psgmii"; status = "disabled"; }; swport2: port@2 { /* MAC2 */ reg = <2>; label = "lan2"; phy-handle = <ðphy1>; phy-mode = "psgmii"; status = "disabled"; }; swport3: port@3 { /* MAC3 */ reg = <3>; label = "lan3"; phy-handle = <ðphy2>; phy-mode = "psgmii"; status = "disabled"; }; swport4: port@4 { /* MAC4 */ reg = <4>; label = "lan4"; phy-handle = <ðphy3>; phy-mode = "psgmii"; status = "disabled"; }; swport5: port@5 { /* MAC5 */ reg = <5>; label = "wan"; phy-handle = <ðphy4>; phy-mode = "psgmii"; status = "disabled"; }; }; }; }; }; &mdio { psgmiiphy: psgmii-phy@5 { reg = <5>; }; };