lantiq: wifi mac fix for ARV752DPW
Set wifi mac from flash partition 'board_config' to match the label on the device (Easybox 802). Currently the wifi mac is always set to 00:0c:43:28:60:00. eth0 and WiFi will now share the same mac (as in original firmware). Signed-off-by: Lars Wessels <software@bytebox.org> [improve commit message] Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
dfe0bc860f
commit
702366a30b
|
|
@ -21,6 +21,8 @@
|
||||||
led-dsl = &internet_red;
|
led-dsl = &internet_red;
|
||||||
led-usb = &umts;
|
led-usb = &umts;
|
||||||
led-wifi = &wifi;
|
led-wifi = &wifi;
|
||||||
|
|
||||||
|
label-mac-device = &wifi0;
|
||||||
};
|
};
|
||||||
|
|
||||||
memory@0 {
|
memory@0 {
|
||||||
|
|
@ -217,9 +219,10 @@
|
||||||
interrupt-map = <0x7000 0 0 1 &icu0 135>;
|
interrupt-map = <0x7000 0 0 1 &icu0 135>;
|
||||||
req-mask = <0x3>;
|
req-mask = <0x3>;
|
||||||
|
|
||||||
wifi@1814,0601 {
|
wifi0: wifi@1814,0601 {
|
||||||
compatible = "pci1814,0601";
|
compatible = "pci1814,0601";
|
||||||
reg = <0x7000 0 0 0 0>;
|
reg = <0x7000 0 0 0 0>;
|
||||||
|
mtd-mac-address = <&boardconfig 0x16>;
|
||||||
ralink,mtd-eeprom = <&boardconfig 0x410>;
|
ralink,mtd-eeprom = <&boardconfig 0x410>;
|
||||||
ralink,mtd-eeprom-swap;
|
ralink,mtd-eeprom-swap;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,8 @@
|
||||||
led-dsl = &internet_red;
|
led-dsl = &internet_red;
|
||||||
led-usb = &umts;
|
led-usb = &umts;
|
||||||
led-wifi = &wifi;
|
led-wifi = &wifi;
|
||||||
|
|
||||||
|
label-mac-device = &wifi0;
|
||||||
};
|
};
|
||||||
|
|
||||||
memory@0 {
|
memory@0 {
|
||||||
|
|
@ -217,9 +219,10 @@
|
||||||
interrupt-map = <0x7000 0 0 1 &icu0 135>;
|
interrupt-map = <0x7000 0 0 1 &icu0 135>;
|
||||||
req-mask = <0x3>;
|
req-mask = <0x3>;
|
||||||
|
|
||||||
wifi@1814,0601 {
|
wifi0: wifi@1814,0601 {
|
||||||
compatible = "pci1814,0601";
|
compatible = "pci1814,0601";
|
||||||
reg = <0x7000 0 0 0 0>;
|
reg = <0x7000 0 0 0 0>;
|
||||||
|
mtd-mac-address = <&boardconfig 0x16>;
|
||||||
ralink,mtd-eeprom = <&boardconfig 0x410>;
|
ralink,mtd-eeprom = <&boardconfig 0x410>;
|
||||||
ralink,mtd-eeprom-swap;
|
ralink,mtd-eeprom-swap;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue