Match the unit address of both QSDK switch ports with the node's port_id
property. Purely cleanup, no functional change.
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21456
Signed-off-by: Robert Marko <robimarko@gmail.com>
13 files changed:
qcom,port_phyinfo {
// MAC0 -> GE Phy --- MDI --- QCA8337 Switch
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 -> Uniphy --- SGMII --- QCA8081
- port@1 {
+ port@2 {
port_id = <2>;
mdiobus = <&mdio1>;
phy_address = <8>;
qcom,port_phyinfo {
// MAC0 -> GE Phy
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 -> Uniphy --- SGMII --- QCA8081
- port@1 {
+ port@2 {
port_id = <2>;
mdiobus = <&mdio1>;
phy_address = <28>;
qcom,port_phyinfo {
// MAC0 -> GE Phy
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 -> Uniphy --- SGMII --- QCA8081
- port@1 {
+ port@2 {
port_id = <2>;
mdiobus = <&mdio1>;
phy_address = <28>;
qcom,port_phyinfo {
// MAC0 -> GE Phy -> QCA8337 Phy2
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 ---SGMII---> QCA8337 SerDes
- port@1 {
+ port@2 {
port_id = <2>;
forced-speed = <1000>;
forced-duplex = <1>;
qcom,port_phyinfo {
// MAC0 -> GE Phy
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 ---SGMII---> QCA8337 SerDes
- port@1 {
+ port@2 {
port_id = <2>;
forced-speed = <1000>;
forced-duplex = <1>;
qcom,port_phyinfo {
// MAC0 -> GE Phy -> QCA8337 Phy4
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 ---SGMII---> QCA8337 SerDes
- port@1 {
+ port@2 {
port_id = <2>;
forced-speed = <1000>;
forced-duplex = <1>;
qcom,port_phyinfo {
// MAC0 -> GE Phy -> QCA8337 Phy4
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 ---SGMII---> QCA8337 SerDes
- port@1 {
+ port@2 {
port_id = <2>;
forced-speed = <1000>;
forced-duplex = <1>;
qcom,port_phyinfo {
// MAC0 -> GE Phy -> MDI --> RJ45
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 ---SGMII---> MaxLinear PHY -> RJ45
- port@1 {
+ port@2 {
port_id = <2>;
mdiobus = <&mdio1>;
phy_address = <15>;
qcom,port_phyinfo {
// MAC0 -> GE Phy --- MDI --- QCA8337 Phy4(Port5)
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 -> Uniphy --- SGMII --- QCA8337 SerDes(Port6)
- port@1 {
+ port@2 {
port_id = <2>;
mdiobus = <&mdio1>;
forced-speed = <1000>;
qcom,port_phyinfo {
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
- port@1 {
+ port@2 {
port_id = <2>;
forced-speed = <1000>;
forced-duplex = <1>;
qcom,port_phyinfo {
// MAC0 -> GE Phy --- MDI --- QCA8337 Switch
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
// MAC1 -> Uniphy --- SGMII --- QCA8081
- port@1 {
+ port@2 {
port_id = <2>;
mdiobus = <&mdio1>;
phy_address = <28>;
switch_mac_mode = <MAC_MODE_SGMII_CHANNEL0>;
qcom,port_phyinfo {
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
- port@1 {
+ port@2 {
port_id = <2>;
forced-speed = <1000>;
forced-duplex = <1>;
switch_mac_mode = <MAC_MODE_SGMII_CHANNEL0>;
qcom,port_phyinfo {
- port@0 {
+ port@1 {
port_id = <1>;
mdiobus = <&mdio0>;
phy_address = <7>;
};
- port@1 {
+ port@2 {
port_id = <2>;
forced-speed = <1000>;
forced-duplex = <1>;