diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-07-12 21:42:41 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2021-07-19 14:51:22 +0200 |
commit | d284e6ef0f06551bad5696f16f26e6ff27b065d4 (patch) | |
tree | 49720a51bc62207ca574a6933200e9e46287738e /target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts | |
parent | 985954ccbd11ba716dc0569c5101583a4a74b215 (diff) | |
download | upstream-d284e6ef0f06551bad5696f16f26e6ff27b065d4.tar.gz upstream-d284e6ef0f06551bad5696f16f26e6ff27b065d4.tar.bz2 upstream-d284e6ef0f06551bad5696f16f26e6ff27b065d4.zip |
treewide: convert mtd-mac-address-increment* to generic implementation
Rework patch 681-NET-add-mtd-mac-address-support to implement
only the function to read the mac-address from mtd.
Generalize mtd-mac-address-increment function so it can be applied
to any source of of_get_mac_address.
Rename any mtd-mac-address-increment to mac-address-increment.
Rename any mtd-mac-address-increment-byte to mac-address-increment-byte.
This should make simplify the conversion of target to nvmem implementation.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts')
-rw-r--r-- | target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts index 0099592dc1..10d6e6040b 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts @@ -97,7 +97,7 @@ compatible = "pci168c,0033"; reg = <0x0000 0 0 0 0>; mtd-mac-address = <&uboot 0x1fc00>; - mtd-mac-address-increment = <(-2)>; + mac-address-increment = <(-2)>; qca,no-eeprom; #gpio-cells = <2>; gpio-controller; @@ -191,7 +191,7 @@ status = "okay"; mtd-mac-address = <&uboot 0x1fc00>; - mtd-mac-address-increment = <1>; + mac-address-increment = <1>; phy-handle = <&phy0>; pll-data = <0x56000000 0x00000101 0x00001616>; @@ -218,5 +218,5 @@ mtd-cal-data = <&art 0x1000>; mtd-mac-address = <&uboot 0x1fc00>; - mtd-mac-address-increment = <(-1)>; + mac-address-increment = <(-1)>; }; |