diff options
| author | John Crispin <blogic@openwrt.org> | 2013-11-25 08:33:42 +0000 |
|---|---|---|
| committer | John Crispin <blogic@openwrt.org> | 2013-11-25 08:33:42 +0000 |
| commit | 8d5c852eaf4eee6260cea2b3077123dafac5b19d (patch) | |
| tree | 540a33b445d80881016c99551aec671cf3d90334 /target/linux/ramips/dts | |
| parent | 835e85183cf1a79cccad084b512818f0712e9a7c (diff) | |
| download | upstream-8d5c852eaf4eee6260cea2b3077123dafac5b19d.tar.gz upstream-8d5c852eaf4eee6260cea2b3077123dafac5b19d.tar.bz2 upstream-8d5c852eaf4eee6260cea2b3077123dafac5b19d.zip | |
ralink: set the mac addr via the dts file
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts')
59 files changed, 220 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts index dc342439cea..0be8c7252c9 100644 --- a/target/linux/ramips/dts/3G-6200N.dts +++ b/target/linux/ramips/dts/3G-6200N.dts @@ -54,6 +54,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/3G300M.dts b/target/linux/ramips/dts/3G300M.dts index 62683cc16d9..93e864f6a8c 100644 --- a/target/linux/ramips/dts/3G300M.dts +++ b/target/linux/ramips/dts/3G300M.dts @@ -97,6 +97,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/AIR3GII.dts b/target/linux/ramips/dts/AIR3GII.dts index f9fcf075e34..1276574e938 100644 --- a/target/linux/ramips/dts/AIR3GII.dts +++ b/target/linux/ramips/dts/AIR3GII.dts @@ -56,6 +56,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/ALL0239-3G.dts b/target/linux/ramips/dts/ALL0239-3G.dts index 335aea85b38..fe1eba960be 100644 --- a/target/linux/ramips/dts/ALL0239-3G.dts +++ b/target/linux/ramips/dts/ALL0239-3G.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { status = "okay"; ralink,portmap = <0x3e>; diff --git a/target/linux/ramips/dts/ALL0256N-4M.dts b/target/linux/ramips/dts/ALL0256N-4M.dts index 7351675b652..e92118f17e4 100644 --- a/target/linux/ramips/dts/ALL0256N-4M.dts +++ b/target/linux/ramips/dts/ALL0256N-4M.dts @@ -56,6 +56,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x3f>; }; diff --git a/target/linux/ramips/dts/ALL0256N-8M.dts b/target/linux/ramips/dts/ALL0256N-8M.dts index 8c825a9154f..6a704f1a24b 100644 --- a/target/linux/ramips/dts/ALL0256N-8M.dts +++ b/target/linux/ramips/dts/ALL0256N-8M.dts @@ -56,6 +56,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x3f>; }; diff --git a/target/linux/ramips/dts/ALL5002.dts b/target/linux/ramips/dts/ALL5002.dts index 60c9c1fc44a..827e9df05b7 100644 --- a/target/linux/ramips/dts/ALL5002.dts +++ b/target/linux/ramips/dts/ALL5002.dts @@ -56,6 +56,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x3f>; }; diff --git a/target/linux/ramips/dts/ARGUS_ATP52B.dts b/target/linux/ramips/dts/ARGUS_ATP52B.dts index b8e246bb03b..fb04f017d5b 100644 --- a/target/linux/ramips/dts/ARGUS_ATP52B.dts +++ b/target/linux/ramips/dts/ARGUS_ATP52B.dts @@ -75,6 +75,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x3e>; }; diff --git a/target/linux/ramips/dts/ASL26555-16M.dts b/target/linux/ramips/dts/ASL26555-16M.dts index 8bc98df1606..8aeeba84f43 100644 --- a/target/linux/ramips/dts/ASL26555-16M.dts +++ b/target/linux/ramips/dts/ASL26555-16M.dts @@ -68,6 +68,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x1e>; }; diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index f1501ebf110..1ddbb1c984d 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -26,8 +26,8 @@ reg = <0x0 0x30000>; read-only; }; - partition@30000 { - label = "devdata"; + factory: partition@30000 { + label = "factory"; reg = <0x30000 0x10000>; read-only; }; @@ -63,6 +63,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x1e>; }; diff --git a/target/linux/ramips/dts/BC2.dts b/target/linux/ramips/dts/BC2.dts index 8877743d98f..54adbafad68 100644 --- a/target/linux/ramips/dts/BC2.dts +++ b/target/linux/ramips/dts/BC2.dts @@ -68,6 +68,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/BR-6425.dts b/target/linux/ramips/dts/BR-6425.dts index 913df051af3..7df63c6583e 100644 --- a/target/linux/ramips/dts/BR-6425.dts +++ b/target/linux/ramips/dts/BR-6425.dts @@ -25,6 +25,10 @@ #size-cells = <1>; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/BROADWAY.dts b/target/linux/ramips/dts/BROADWAY.dts index 3f00ad75be6..25e3b89db9b 100644 --- a/target/linux/ramips/dts/BROADWAY.dts +++ b/target/linux/ramips/dts/BROADWAY.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x3e>; }; diff --git a/target/linux/ramips/dts/CARAMBOLA.dts b/target/linux/ramips/dts/CARAMBOLA.dts index 5c63e0315a2..520450a5cc7 100644 --- a/target/linux/ramips/dts/CARAMBOLA.dts +++ b/target/linux/ramips/dts/CARAMBOLA.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x3f>; }; diff --git a/target/linux/ramips/dts/D105.dts b/target/linux/ramips/dts/D105.dts index c4171c003d4..c19e0dabb0f 100644 --- a/target/linux/ramips/dts/D105.dts +++ b/target/linux/ramips/dts/D105.dts @@ -72,6 +72,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/DIR-300-B1.dts b/target/linux/ramips/dts/DIR-300-B1.dts index 8efef3c0d9f..4623af2a407 100644 --- a/target/linux/ramips/dts/DIR-300-B1.dts +++ b/target/linux/ramips/dts/DIR-300-B1.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/DIR-300-B7.dts b/target/linux/ramips/dts/DIR-300-B7.dts index 22c4cb2c6b8..492fd4ce8ac 100644 --- a/target/linux/ramips/dts/DIR-300-B7.dts +++ b/target/linux/ramips/dts/DIR-300-B7.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; ralink,led_polarity = <0x17>; diff --git a/target/linux/ramips/dts/DIR-320-B1.dts b/target/linux/ramips/dts/DIR-320-B1.dts index f07e528bf53..34d7944edcb 100644 --- a/target/linux/ramips/dts/DIR-320-B1.dts +++ b/target/linux/ramips/dts/DIR-320-B1.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; ralink,led_polarity = <0x17>; diff --git a/target/linux/ramips/dts/DIR-600-B1.dts b/target/linux/ramips/dts/DIR-600-B1.dts index 2c75465440f..e43a0d78f0b 100644 --- a/target/linux/ramips/dts/DIR-600-B1.dts +++ b/target/linux/ramips/dts/DIR-600-B1.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts index 67c92b469d4..e6c104163a7 100644 --- a/target/linux/ramips/dts/DIR-610-A1.dts +++ b/target/linux/ramips/dts/DIR-610-A1.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { status = "okay"; ralink,portmap = <0x2f>; diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts index 5cb2beb3e87..13d7f88c70d 100644 --- a/target/linux/ramips/dts/DIR-615-H1.dts +++ b/target/linux/ramips/dts/DIR-615-H1.dts @@ -60,6 +60,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/DIR-620-A1.dts b/target/linux/ramips/dts/DIR-620-A1.dts index 649b3abcc16..070edafde1d 100644 --- a/target/linux/ramips/dts/DIR-620-A1.dts +++ b/target/linux/ramips/dts/DIR-620-A1.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/DIR-620-D1.dts b/target/linux/ramips/dts/DIR-620-D1.dts index 71d3ec2bfdb..c8632f067e8 100644 --- a/target/linux/ramips/dts/DIR-620-D1.dts +++ b/target/linux/ramips/dts/DIR-620-D1.dts @@ -60,6 +60,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts index 95017d9ccd4..d8a035a1cf1 100644 --- a/target/linux/ramips/dts/DIR-810L.dts +++ b/target/linux/ramips/dts/DIR-810L.dts @@ -77,6 +77,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + gsw@10110000 { ralink,port4 = "ephy"; diff --git a/target/linux/ramips/dts/ESR-9753.dts b/target/linux/ramips/dts/ESR-9753.dts index 755196b55bc..3760a465e01 100644 --- a/target/linux/ramips/dts/ESR-9753.dts +++ b/target/linux/ramips/dts/ESR-9753.dts @@ -77,6 +77,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x3e>; }; diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts index 36026c2326f..e0215651767 100644 --- a/target/linux/ramips/dts/F5D8235_V1.dts +++ b/target/linux/ramips/dts/F5D8235_V1.dts @@ -55,6 +55,7 @@ ethernet@400000 { status = "okay"; + mtd-mac-address = <&factory 0x4>; port@0 { ralink,fixed-link = <1000 1 1 1>; diff --git a/target/linux/ramips/dts/F5D8235_V2.dts b/target/linux/ramips/dts/F5D8235_V2.dts index 237709f5e48..1b96cea764e 100644 --- a/target/linux/ramips/dts/F5D8235_V2.dts +++ b/target/linux/ramips/dts/F5D8235_V2.dts @@ -24,7 +24,7 @@ #address-cells = <1>; #size-cells = <1>; - partition@0 { + uboot: partition@0 { label = "u-boot"; reg = <0x0 0x50000>; read-only; @@ -46,6 +46,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&uboot 0x40004>; + }; + esw@10110000 { ralink,portmap = <0x3f>; }; diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts index 5c48103231d..bb85bab5337 100644 --- a/target/linux/ramips/dts/FONERA20N.dts +++ b/target/linux/ramips/dts/FONERA20N.dts @@ -82,6 +82,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x2f>; diff --git a/target/linux/ramips/dts/FREESTATION5.dts b/target/linux/ramips/dts/FREESTATION5.dts index 0ec390c4c8d..603ec363ea6 100644 --- a/target/linux/ramips/dts/FREESTATION5.dts +++ b/target/linux/ramips/dts/FREESTATION5.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x01>; }; diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts index 68e5e8aab89..7496ca5456d 100644 --- a/target/linux/ramips/dts/HG255D.dts +++ b/target/linux/ramips/dts/HG255D.dts @@ -104,6 +104,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/IP2202.dts b/target/linux/ramips/dts/IP2202.dts index ea5dc780a37..dc2af40364e 100644 --- a/target/linux/ramips/dts/IP2202.dts +++ b/target/linux/ramips/dts/IP2202.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/M3.dts b/target/linux/ramips/dts/M3.dts index bae84ce4bfd..f3c3aa4d30a 100644 --- a/target/linux/ramips/dts/M3.dts +++ b/target/linux/ramips/dts/M3.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; ralink,led_polarity = <1>; diff --git a/target/linux/ramips/dts/M4-4M.dts b/target/linux/ramips/dts/M4-4M.dts index 4522fb8019d..2d2ebc47b05 100644 --- a/target/linux/ramips/dts/M4-4M.dts +++ b/target/linux/ramips/dts/M4-4M.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; ralink,led_polarity = <1>; diff --git a/target/linux/ramips/dts/M4-8M.dts b/target/linux/ramips/dts/M4-8M.dts index c8e7ff51ff2..23d8449ad62 100644 --- a/target/linux/ramips/dts/M4-8M.dts +++ b/target/linux/ramips/dts/M4-8M.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; ralink,led_polarity = <1>; diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts index f363a573f5d..a869427264b 100644 --- a/target/linux/ramips/dts/MPRA1.dts +++ b/target/linux/ramips/dts/MPRA1.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts index 00c5d112e35..44141418c69 100644 --- a/target/linux/ramips/dts/MPRA2.dts +++ b/target/linux/ramips/dts/MPRA2.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/MZK-W300NH2.dts b/target/linux/ramips/dts/MZK-W300NH2.dts index 78c120a5bf6..43a98ce97c6 100644 --- a/target/linux/ramips/dts/MZK-W300NH2.dts +++ b/target/linux/ramips/dts/MZK-W300NH2.dts @@ -54,6 +54,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts index c7d66c410ef..07c5b3c3568 100644 --- a/target/linux/ramips/dts/NBG-419N.dts +++ b/target/linux/ramips/dts/NBG-419N.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/NW718.dts b/target/linux/ramips/dts/NW718.dts index d55f226785d..c67b832794e 100644 --- a/target/linux/ramips/dts/NW718.dts +++ b/target/linux/ramips/dts/NW718.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/OMNI-EMB-HPM.dts b/target/linux/ramips/dts/OMNI-EMB-HPM.dts index 9bceb001284..fa7d515a349 100644 --- a/target/linux/ramips/dts/OMNI-EMB-HPM.dts +++ b/target/linux/ramips/dts/OMNI-EMB-HPM.dts @@ -60,6 +60,7 @@ ethernet@10100000 { phy-handle = <&phy0>; phy-mode = "rgmii"; + mtd-mac-address = <&factory 0x28>; mdio-bus { status = "okay"; diff --git a/target/linux/ramips/dts/PSR-680W.dts b/target/linux/ramips/dts/PSR-680W.dts index ec06feee0c7..62e5f720edb 100644 --- a/target/linux/ramips/dts/PSR-680W.dts +++ b/target/linux/ramips/dts/PSR-680W.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x3e>; }; diff --git a/target/linux/ramips/dts/RT-N13U.dts b/target/linux/ramips/dts/RT-N13U.dts index b6a649ccdb6..ed344858f4f 100644 --- a/target/linux/ramips/dts/RT-N13U.dts +++ b/target/linux/ramips/dts/RT-N13U.dts @@ -82,6 +82,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts index 0b9d0d9f543..27b0da97fe4 100644 --- a/target/linux/ramips/dts/RT-N15.dts +++ b/target/linux/ramips/dts/RT-N15.dts @@ -53,6 +53,7 @@ ethernet@400000 { status = "okay"; + mtd-mac-address = <&factory 0x4>; port@0 { ralink,fixed-link = <1000 1 1 1>; diff --git a/target/linux/ramips/dts/RTN56U.dts b/target/linux/ramips/dts/RTN56U.dts index 6dfe3f480d4..ec9163a3459 100644 --- a/target/linux/ramips/dts/RTN56U.dts +++ b/target/linux/ramips/dts/RTN56U.dts @@ -22,7 +22,8 @@ }; ethernet@10100000 { - port@0 { + mtd-mac-address = <&factory 0x4>; + port@0 { ralink,fixed-link = <1000 1 1 1>; }; }; diff --git a/target/linux/ramips/dts/SL-R7205.dts b/target/linux/ramips/dts/SL-R7205.dts index 589fd10fa2d..24bf9403799 100644 --- a/target/linux/ramips/dts/SL-R7205.dts +++ b/target/linux/ramips/dts/SL-R7205.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x3e>; }; diff --git a/target/linux/ramips/dts/TEW-691GR.dts b/target/linux/ramips/dts/TEW-691GR.dts index 98d45fc5303..1d6152967da 100644 --- a/target/linux/ramips/dts/TEW-691GR.dts +++ b/target/linux/ramips/dts/TEW-691GR.dts @@ -22,6 +22,7 @@ }; ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; port@0 { phy-handle = <&phy0>; phy-mode = "rgmii"; diff --git a/target/linux/ramips/dts/TEW-692GR.dts b/target/linux/ramips/dts/TEW-692GR.dts index 6c07c7760fb..3d7dc9fdf2c 100644 --- a/target/linux/ramips/dts/TEW-692GR.dts +++ b/target/linux/ramips/dts/TEW-692GR.dts @@ -23,6 +23,7 @@ ethernet@10100000 { status = "okay"; + mtd-mac-address = <&factory 0x28>; port@0 { phy-handle = <&phy0>; phy-mode = "rgmii"; diff --git a/target/linux/ramips/dts/UR-326N4G.dts b/target/linux/ramips/dts/UR-326N4G.dts index d97ca05ef9e..4af10bb8f43 100644 --- a/target/linux/ramips/dts/UR-326N4G.dts +++ b/target/linux/ramips/dts/UR-326N4G.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts index b1377036cce..5ce7fa9efdc 100644 --- a/target/linux/ramips/dts/UR-336UN.dts +++ b/target/linux/ramips/dts/UR-336UN.dts @@ -25,6 +25,10 @@ #size-cells = <1>; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts index 76ad6584377..f3ab7191ca0 100644 --- a/target/linux/ramips/dts/W150M.dts +++ b/target/linux/ramips/dts/W150M.dts @@ -93,6 +93,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/W306R_V20.dts b/target/linux/ramips/dts/W306R_V20.dts index 16d9ad4c3a0..3f57b35bd81 100644 --- a/target/linux/ramips/dts/W306R_V20.dts +++ b/target/linux/ramips/dts/W306R_V20.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x3e>; }; diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index 54e8d58ed28..d11a7adedd9 100644 --- a/target/linux/ramips/dts/W502U.dts +++ b/target/linux/ramips/dts/W502U.dts @@ -1,3 +1,7 @@ + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + /dts-v1/; /include/ "rt3050.dtsi" @@ -52,6 +56,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { ralink,portmap = <0x3e>; }; diff --git a/target/linux/ramips/dts/WCR150GN.dts b/target/linux/ramips/dts/WCR150GN.dts index 601883d24da..e59fc8d7458 100644 --- a/target/linux/ramips/dts/WCR150GN.dts +++ b/target/linux/ramips/dts/WCR150GN.dts @@ -77,6 +77,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; }; diff --git a/target/linux/ramips/dts/WL-351.dts b/target/linux/ramips/dts/WL-351.dts index bc122943d4c..1e6705c02c7 100644 --- a/target/linux/ramips/dts/WL-351.dts +++ b/target/linux/ramips/dts/WL-351.dts @@ -48,6 +48,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x3f>; ralink,fct2 = <0x0002500c>; diff --git a/target/linux/ramips/dts/WLI-TX4-AG300N.dts b/target/linux/ramips/dts/WLI-TX4-AG300N.dts index 62c2a799a63..0ea5e29bc2f 100644 --- a/target/linux/ramips/dts/WLI-TX4-AG300N.dts +++ b/target/linux/ramips/dts/WLI-TX4-AG300N.dts @@ -52,6 +52,7 @@ ethernet@400000 { status = "okay"; + mtd-mac-address = <&factory 0x4>; port@0 { ralink,fixed-link = <1000 1 1 1>; diff --git a/target/linux/ramips/dts/WMR300.dts b/target/linux/ramips/dts/WMR300.dts index dbee9ad0836..56cf6a60f1c 100644 --- a/target/linux/ramips/dts/WMR300.dts +++ b/target/linux/ramips/dts/WMR300.dts @@ -49,6 +49,7 @@ }; ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; ralink,port-map = "wllll"; }; diff --git a/target/linux/ramips/dts/WNCE2001.dts b/target/linux/ramips/dts/WNCE2001.dts index bbf6625bf6f..10910afe311 100644 --- a/target/linux/ramips/dts/WNCE2001.dts +++ b/target/linux/ramips/dts/WNCE2001.dts @@ -73,6 +73,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + gpio-leds { compatible = "gpio-leds"; power-green { diff --git a/target/linux/ramips/dts/X5.dts b/target/linux/ramips/dts/X5.dts index 0a4f1b3684d..a19bf4dc8ef 100644 --- a/target/linux/ramips/dts/X5.dts +++ b/target/linux/ramips/dts/X5.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; ralink,led_polarity = <1>; diff --git a/target/linux/ramips/dts/X8.dts b/target/linux/ramips/dts/X8.dts index b7591dec201..cadbc3afddc 100644 --- a/target/linux/ramips/dts/X8.dts +++ b/target/linux/ramips/dts/X8.dts @@ -52,6 +52,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + }; + esw@10110000 { ralink,portmap = <0x2f>; ralink,led_polarity = <1>; |
