led-failsafe = &led_status_yellow;
led-running = &led_status_blue;
led-upgrade = &led_status_yellow;
- label-mac-device = &wan;
+ label-mac-device = &gmac1;
};
chosen {
nvmem-cell-names = "mac-address";
};
+&gmac1 {
+ status = "okay";
+ label = "wan";
+ phy-handle = <ðphy4>;
+
+ nvmem-cells = <&macaddr_factory_e006>;
+ nvmem-cell-names = "mac-address";
+};
+
+&mdio {
+ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
&switch0 {
ports {
port@2 {
status = "okay";
label = "lan1";
};
-
- wan: port@4 {
- status = "okay";
- label = "wan";
- nvmem-cells = <&macaddr_factory_e006>;
- nvmem-cell-names = "mac-address";
- };
};
};