+
+ builtin_switch: switch0@1f {
+ compatible = "qca,ar8229-builtin";
+
+ reg = <0x1f>;
+ resets = <&rst 8>;
+ reset-names = "switch";
+ phy-mode = "gmii";
+ phy4-mii-enable;
+
+ mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ swphy0: ethernet-phy@0 {
+ reg = <0>;
+ phy-mode = "mii";
+ };
+
+ swphy4: ethernet-phy@4 {
+ reg = <4>;
+ phy-mode = "mii";
+ };
+ };
+ };