aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-05-26 23:08:23 +0200
committerJohn Crispin <john@phrozen.org>2016-05-27 15:50:17 +0200
commit28faa3f292a3ba417bab5d7327dd54a6a086a198 (patch)
treeb3860310c1183eb0514310946ecad4250f7e6e1e /target/linux
parent1e395608cc7e0614f36137ad2a4b3ea6836fd9d6 (diff)
downloadupstream-28faa3f292a3ba417bab5d7327dd54a6a086a198.tar.gz
upstream-28faa3f292a3ba417bab5d7327dd54a6a086a198.tar.bz2
upstream-28faa3f292a3ba417bab5d7327dd54a6a086a198.zip
lantiq: VGV7519 - get mac address from board_config partition
Use the mac address stored in the board_config partition instead of a static one. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/dts/VGV7519.dtsi5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi
index 005cecdddb..2dddf82540 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -226,7 +226,7 @@
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
- mac-address = [ 00 11 22 33 44 55 ];
+ mtd-mac-address = <&boardconfig 0x16>;
lantiq,switch;
ethernet@0 {
@@ -260,7 +260,8 @@
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
- mac-address = [ 00 11 22 33 44 56 ];
+ mtd-mac-address = <&boardconfig 0x16>;
+ mtd-mac-address-increment = <2>;
lantiq,wan;
ethernet@5 {