|
@@ -12,7 +12,7 @@
|
|
|
model = "D-Link DIR-853 R1";
|
|
|
|
|
|
aliases {
|
|
|
- label-mac-device = &wan;
|
|
|
+ label-mac-device = &gmac1;
|
|
|
|
|
|
led-boot = &led_power_orange;
|
|
|
led-failsafe = &led_power_blue;
|
|
@@ -110,6 +110,22 @@
|
|
|
mac-address-increment = <(-1)>;
|
|
|
};
|
|
|
|
|
|
+&gmac1 {
|
|
|
+ status = "okay";
|
|
|
+ label = "wan";
|
|
|
+ phy-handle = <ðphy4>;
|
|
|
+
|
|
|
+ nvmem-cells = <&macaddr_factory_4>;
|
|
|
+ nvmem-cell-names = "mac-address";
|
|
|
+ mac-address-increment = <(-2)>;
|
|
|
+};
|
|
|
+
|
|
|
+&mdio {
|
|
|
+ ethphy4: ethernet-phy@4 {
|
|
|
+ reg = <4>;
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
&switch0 {
|
|
|
ports {
|
|
|
port@0 {
|
|
@@ -131,14 +147,6 @@
|
|
|
status = "okay";
|
|
|
label = "lan1";
|
|
|
};
|
|
|
-
|
|
|
- wan: port@4 {
|
|
|
- status = "okay";
|
|
|
- label = "wan";
|
|
|
- nvmem-cells = <&macaddr_factory_4>;
|
|
|
- nvmem-cell-names = "mac-address";
|
|
|
- mac-address-increment = <(-2)>;
|
|
|
- };
|
|
|
};
|
|
|
};
|
|
|
|