ramips: fix mac address partitions on ASL-26555

ASL-26555 16MB: caldata is present on uboot-env and devdata, but the proper one seems to be the devdata, since mac address corresponds to Amper, the real manufacturer, meanwhile the caldata on  uboot-env corresponds to D-Link.
ASL-26555 8MB: caldata is only present on uboot-env, but its mac address corresponds to Alpha, the real manufacturer.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 41768
This commit is contained in:
John Crispin 2014-07-20 17:30:28 +00:00
parent 7388053ba3
commit 4d22954db0
2 changed files with 8 additions and 9 deletions

View File

@ -31,7 +31,7 @@
reg = <0x30000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@40000 {
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only; read-only;
@ -69,7 +69,7 @@
}; };
ethernet@10100000 { ethernet@10100000 {
mtd-mac-address = <&factory 0x4004>; mtd-mac-address = <&devdata 0x4004>;
}; };
esw@10110000 { esw@10110000 {

View File

@ -26,8 +26,8 @@
reg = <0x0 0x30000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@30000 { ubootenv: partition@30000 {
label = "factory"; label = "uboot-env";
reg = <0x30000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
@ -64,18 +64,17 @@
}; };
ethernet@10100000 { ethernet@10100000 {
mtd-mac-address = <&factory 0x4004>; mtd-mac-address = <&ubootenv 0x4004>;
}; };
esw@10110000 { esw@10110000 {
ralink,portmap = <0x1e>; ralink,portmap = <0x1e>;
}; };
/* devdata partition seems to be missing */ wmac@10180000 {
/* wmac@10180000 { ralink,mtd-eeprom = <&ubootenv 0x4000>;
ralink,mtd-eeprom = <&devdata 0x4000>;
}; };
*/
otg@101c0000 { otg@101c0000 {
status = "okay"; status = "okay";
}; };