Skip to content

Commit

Permalink
ARM: dts: BCM5301X: Set MAC address for Asus RT-AC87U
Browse files Browse the repository at this point in the history
Specify NVRAM access and use its "et1macaddr" NVMEM cell.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20230901124311.31156-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
  • Loading branch information
Rafał Miłecki authored and Florian Fainelli committed Oct 23, 2023
1 parent 5cbee58 commit a9e7986
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts
Original file line number Diff line number Diff line change
@@ -25,6 +25,12 @@
<0x88000000 0x08000000>;
};

nvram@1c080000 {
et1macaddr: et1macaddr {
#nvmem-cell-cells = <1>;
};
};

leds {
compatible = "gpio-leds";

@@ -62,6 +68,11 @@
};
};

&gmac0 {
nvmem-cells = <&et1macaddr 0>;
nvmem-cell-names = "mac-address";
};

&usb3_phy {
status = "okay";
};

0 comments on commit a9e7986

Please sign in to comment.