status = "okay";
};
- mdio@90000 {
- status = "okay";
- pinctrl-0 = <&mdio_pins>;
- pinctrl-names = "default";
-
- /delete-node/ ethernet-phy@0;
- /delete-node/ ethernet-phy@2;
- /delete-node/ ethernet-phy@3;
- /delete-node/ ethernet-phy@4;
-
- ethernet-phy@5 {
- reg = <0x5>;
- };
- };
-
counter@4a1000 {
compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>;
};
- ess_tcsr@1953000 {
- compatible = "qcom,tcsr";
- reg = <0x1953000 0x1000>;
- qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
status = "okay";
};
- ess-switch@c000000 {
- switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
- switch_lan_bmp = <0x0>; /* lan port bitmap */
- switch_wan_bmp = <0x10>; /* wan port bitmap */
- };
-
- edma@c080000 {
- qcom,single-phy;
- qcom,num_gmac = <1>;
- phy-mode = "rgmii-id";
- status = "okay";
- };
-
i2c_0: i2c@78b7000 {
pinctrl-0 = <&i2c_0_pins>;
pinctrl-names = "default";
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <5>;
- qcom,poll_required = <1>;
- vlan_tag = <0 0x20>;
+&mdio {
+ status = "okay";
+ pinctrl-0 = <&mdio_pins>;
+ pinctrl-names = "default";
+};
+
+&ess {
+ mac-mode = <0x3>; /* mac mode for RGMII RMII */
+ status = "okay";
+
+ ports {
+ /delete-node/ port@0;
+ /delete-node/ port@1;
+ /delete-node/ port@2;
+ /delete-node/ port@3;
+ /delete-node/ port@4;
+
+ port@5 {
+ reg = <5>;
+ phy-mode = "rgmii-id";
+ phy-handle = <ðphy1>;
+ label = "lan";
+ };
+ };
+};
+
+&gmac {
+ status = "okay";
};
&qpic_bam {