Browse Source

ramips: fix Ubiquiti EdgeRouter X's MAC address for gmac1

This fixes:
[    0.586649] OF: /ethernet@1e100000/mac@1: #nvmem-cell-cells = 1 found 0

Fixes: 28b6224104cc ("ramips: use fixed layout cell "mac-base" for Ubiquiti EdgeRouter X")
Signed-off-by: Rafał Miłecki <[email protected]>
Rafał Miłecki 2 years ago
parent
commit
be7f9ad4dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts

+ 1 - 1
target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts

@@ -10,7 +10,7 @@
 	label = "eth0";
 	phy-handle = <&ethphy0>;
 
-	nvmem-cells = <&macaddr_factory_22>;
+	nvmem-cells = <&macaddr_factory_22 0>;
 	nvmem-cell-names = "mac-address";
 };