mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ramips: msg1500: fixes error mac address
Fixes: b27f77f
("ramips: add support for RAISECOM MSG1500")
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
This commit is contained in:
parent
f4659685c5
commit
781f8a604b
@ -110,8 +110,7 @@
|
||||
mediatek,mtd-eeprom = <&factory 0x0>;
|
||||
/* 5 GHz (phy1) does not take the address from calibration data,
|
||||
but setting it manually here works */
|
||||
nvmem-cells = <&macaddr_factory_4>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -150,13 +149,3 @@
|
||||
function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
&factory {
|
||||
compatible = "nvmem-cells";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
macaddr_factory_4: macaddr@4 {
|
||||
reg = <0x4 0x6>;
|
||||
};
|
||||
};
|
||||
|
@ -41,7 +41,7 @@ case "$board" in
|
||||
;;
|
||||
raisecom,msg1500-x-00)
|
||||
[ "$PHYNBR" = "0" ] && \
|
||||
macaddr_setbit_la "$(mtd_get_mac_ascii Config protest_lan_mac)" \
|
||||
macaddr_setbit_la "$(mtd_get_mac_ascii Config .protest_lan_mac)" \
|
||||
> /sys${DEVPATH}/macaddress
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user