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