aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorJiawei Wang <me@jwang.link>2017-09-13 14:04:22 +0800
committerMathias Kresin <dev@kresin.me>2017-09-15 07:14:29 +0200
commit9c500db89680af5d89fb679e08452c8f090d804d (patch)
tree0ce46489747130f8b7fb320328158db028714424 /target/linux/ramips/dts
parentc88770c766fdc5599efc4672bca230017f52e8e4 (diff)
downloadupstream-9c500db89680af5d89fb679e08452c8f090d804d.tar.gz
upstream-9c500db89680af5d89fb679e08452c8f090d804d.tar.bz2
upstream-9c500db89680af5d89fb679e08452c8f090d804d.zip
ramips: fix used MAC addresses for Phicomm K2P
The factory partition of the Phicomm K2P contains two MAC addresses. The lower MAC address is at offset 0xe006 and the higher one is at offset 0xe000. Use the lower MAC address as base mac-address which the switch driver increments by one for the second (wan) vlan. The MAC addresses are still inverted in contrast to the stock firmware where the lower MAC address is used for wan. But at least the use of a MAC address not intended/reserved for this particular board is fixed. Signed-off-by: Jiawei Wang <me@jwang.link>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/K2P.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/K2P.dts b/target/linux/ramips/dts/K2P.dts
index 4089ce64f5..db4dc29878 100644
--- a/target/linux/ramips/dts/K2P.dts
+++ b/target/linux/ramips/dts/K2P.dts
@@ -106,7 +106,7 @@
};
&ethernet {
- mtd-mac-address = <&factory 0xe000>;
+ mtd-mac-address = <&factory 0xe006>;
};
&pinctrl {