ramips: fix Ubiquiti EdgeRouter X's MAC address for gmac1
authorRafał Miłecki <rafal@milecki.pl>
Tue, 18 Jul 2023 09:26:37 +0000 (11:26 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 18 Jul 2023 09:27:30 +0000 (11:27 +0200)
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 <rafal@milecki.pl>
target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts

index 2b5993db44f249132e8cf358c2f8ef78ca3c5665..4665f04f023764a7483247a38ba04c2df353d3b8 100644 (file)
@@ -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";
 };