aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/FRITZ3370.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-03-26 10:53:35 +0200
committerMathias Kresin <dev@kresin.me>2017-05-05 19:58:49 +0200
commit92a12c434ca340f619a5bcd327aff8bdaf4ee0c7 (patch)
treed7a0caea9e66567610d94e8cf4d2e124fa91df03 /target/linux/lantiq/dts/FRITZ3370.dts
parent961c0eacea00b2c8e82eed695eb6ae60703f7763 (diff)
downloadupstream-92a12c434ca340f619a5bcd327aff8bdaf4ee0c7.tar.gz
upstream-92a12c434ca340f619a5bcd327aff8bdaf4ee0c7.tar.bz2
upstream-92a12c434ca340f619a5bcd327aff8bdaf4ee0c7.zip
lantiq: fix avm fritz box mac addresses
It has been shown that the Fritz boxes have the correct mac address set in the wireless calibration data/eeeprom. Use this mac address as base for the ethernet and xdsl interface increment/decrement the address to match the values stored in the tffs. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/dts/FRITZ3370.dts')
-rw-r--r--target/linux/lantiq/dts/FRITZ3370.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts
index 1e2e90ca1b..3f57f45ee8 100644
--- a/target/linux/lantiq/dts/FRITZ3370.dts
+++ b/target/linux/lantiq/dts/FRITZ3370.dts
@@ -189,7 +189,7 @@
reg = <4 0>;
spi-max-frequency = <1000000>;
- partition@0 {
+ urlader: partition@0 {
reg = <0x0 0x20000>;
label = "urlader";
read-only;
@@ -215,7 +215,8 @@
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
- mac-address = [ 00 11 22 33 44 55 ];
+ mtd-mac-address = <&urlader 0x987>;
+ mtd-mac-address-increment = <(-2)>;
lantiq,switch;
ethernet@0 {