[PATCH] arm64: dts: airoha: en7581: Add switch node to to EN7581 SoC
Andrew Lunn
andrew at lunn.ch
Mon Mar 9 11:36:03 PDT 2026
> + gsw_phy1: ethernet-phy at 1 {
> + compatible = "ethernet-phy-ieee802.3-c22";
> + reg = <9>;
The @1 should match the reg value. So this is wrong.
> + phy-mode = "internal";
phy-mode is actually a MAC property, not a PHY property. It is not
listed in
Documentation/devicetree/bindings/net/ethernet-phy.yaml. Which also
suggest this has not been tested using the DT validation tools.
Andrew
More information about the Linux-mediatek
mailing list