lantiq: fix mac address increments
authorMathias Kresin <dev@kresin.me>
Tue, 2 Aug 2016 20:26:00 +0000 (22:26 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 10 Aug 2016 00:04:31 +0000 (02:04 +0200)
Use the same mac address increment in device tree source file and
userspace.

Don't add a mac address increment to either the only mtd mac-address or
to all mac-addresses.

Fix a typo in the TDW89X0.dtsi file to add an increment.

Signed-off-by: Mathias Kresin <dev@kresin.me>
12 files changed:
target/linux/lantiq/dts/ARV4518PWR01.dtsi
target/linux/lantiq/dts/ARV4520PW.dts
target/linux/lantiq/dts/ARV4525PW.dts
target/linux/lantiq/dts/ARV452CQW.dts
target/linux/lantiq/dts/ARV7510PW22.dts
target/linux/lantiq/dts/ARV7518PW.dts
target/linux/lantiq/dts/ARV7519PW.dts
target/linux/lantiq/dts/ARV7525PW.dts
target/linux/lantiq/dts/ARV752DPW.dts
target/linux/lantiq/dts/ARV752DPW22.dts
target/linux/lantiq/dts/ARV8539PW22.dts
target/linux/lantiq/dts/TDW89X0.dtsi

index 4034b15..c75637c 100644 (file)
@@ -79,7 +79,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x3f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        ath5k_eep {
index 299d13c..585292e 100644 (file)
@@ -74,7 +74,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x3f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        gpiomm: gpiomm@4000000 {
index 9d27278..d66e087 100644 (file)
@@ -70,7 +70,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x3f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        ath5k_eep {
index bbddf2c..3c75396 100644 (file)
@@ -73,7 +73,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x3f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        ath5k_eep {
index 16b4fb4..7a30ef3 100644 (file)
@@ -71,7 +71,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0xfe0016 0x6>;
-                               mac-increment = <2>;
                        };
                };
 
index 380ba15..0b9129c 100644 (file)
@@ -81,7 +81,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x7f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        ath9k_eep {
index b917b2d..abd8657 100644 (file)
@@ -70,7 +70,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0xfe0016 0x6>;
-                               mac-increment = <2>;
                        };
                };
 
index 62ae62b..52713a2 100644 (file)
@@ -72,7 +72,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x3f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        ralink_eep {
index d4b5767..8c148b4 100644 (file)
@@ -71,7 +71,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x7f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        gpiomm: gpiomm@4000000 {
index efe4257..2b95ae5 100644 (file)
@@ -71,7 +71,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x7f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        gpiomm: gpiomm@4000000 {
index 6189b54..b3ea02f 100644 (file)
@@ -70,7 +70,6 @@
                        mac_addr {
                                compatible = "lantiq,eth-mac";
                                reg = <0 0x7f0016 0x6>;
-                               mac-increment = <2>;
                        };
 
                        ath9k_eep {
index 634b296..59c678d 100644 (file)
@@ -85,7 +85,7 @@
                compatible = "ath9k,eeprom";
                ath,eep-flash = <&ath9k_cal 0x21000>;
                ath,mac-offset = <0xf100>;
-               ath,mac-increment;
+               ath,mac-increment = <2>;
                ath,led-pin = <0>;
                ath,disable-5ghz;
                ath,led-active-high;