mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
ARM: dts: BCM5301X: EA9200: set WAN MAC from nvram
The MAC address from the stock firmware is offset by 1. Define it properly to avoid having to override it in userspace. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://lore.kernel.org/r/20260225230827.21715-2-rosenp@gmail.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
This commit is contained in:
parent
893faf6743
commit
93214f2574
|
|
@ -25,6 +25,10 @@ memory@0 {
|
|||
nvram@1c080000 {
|
||||
compatible = "brcm,nvram";
|
||||
reg = <0x1c080000 0x180000>;
|
||||
|
||||
et2macaddr: et2macaddr {
|
||||
#nvmem-cell-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
|
|
@ -70,6 +74,9 @@ port@3 {
|
|||
|
||||
port@4 {
|
||||
label = "wan";
|
||||
|
||||
nvmem-cells = <&et2macaddr 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user