ramips: ethernet mac cleanup

Compile tested all subtargets and profiles.
Unfortunately I don't own any board affected by these changes, so no run tests.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41839
This commit is contained in:
John Crispin
2014-07-26 20:36:09 +00:00
parent 443aee86bf
commit b77e92e020
25 changed files with 85 additions and 133 deletions

View File

@@ -54,6 +54,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
};
esw@10110000 {
ralink,portmap = <0x2f>;
};

View File

@@ -56,6 +56,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {
ralink,portmap = <0x3f>;
};

View File

@@ -5,6 +5,10 @@
/ {
model = "AsiaRF AWM002 EVB";
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};
wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};

View File

@@ -5,6 +5,10 @@
/ {
model = "AsiaRF AWM002 EVB";
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};
wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};

View File

@@ -31,6 +31,7 @@
ethernet@10100000 {
status = "okay";
mtd-mac-address = <&devdata 0x0d>;
port@0 {
ralink,fixed-link = <1000 1 1 1>;
@@ -99,7 +100,7 @@
read-only;
};
partition@50000 {
devdata: partition@50000 {
reg = <0x00050000 0x00020000>;
label = "devdata";
read-only;

View File

@@ -58,6 +58,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&devdata 0x2e>;
};
esw@10110000 {
ralink,portmap = <0x2f>;
};

View File

@@ -49,7 +49,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4004>;
mtd-mac-address = <&devdata 0x4004>;
};
esw@10110000 {

View File

@@ -49,7 +49,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4004>;
mtd-mac-address = <&devdata 0x4004>;
};
esw@10110000 {

View File

@@ -53,7 +53,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4004>;
mtd-mac-address = <&devdata 0x4004>;
};
esw@10110000 {

View File

@@ -78,7 +78,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4004>;
mtd-mac-address = <&factory 0x4>;
};
esw@10110000 {

View File

@@ -53,7 +53,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
mtd-mac-address = <&factory 0x4>;
};
esw@10110000 {

View File

@@ -48,6 +48,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {
ralink,portmap = <0x3e>;
};

View File

@@ -49,7 +49,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {

View File

@@ -49,7 +49,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {

View File

@@ -72,6 +72,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {
ralink,portmap = <0x2f>;
};

View File

@@ -53,7 +53,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x2e>;
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {

View File

@@ -39,6 +39,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&devconf 0x4>;
};
esw@10110000 {
ralink,portmap = <0x3e>;
};

View File

@@ -49,7 +49,7 @@
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {

View File

@@ -48,6 +48,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&boardnvram 0xffa0>;
};
esw@10110000 {
ralink,portmap = <0x3e>;
};

View File

@@ -52,6 +52,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
};
esw@10110000 {
ralink,portmap = <0x3e>;
};

View File

@@ -52,6 +52,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
};
esw@10110000 {
ralink,portmap = <0x3e>;
};

View File

@@ -81,6 +81,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {
ralink,portmap = <0x3e>;
};

View File

@@ -48,6 +48,10 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};
esw@10110000 {
ralink,portmap = <0x3e>;
};