aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-07-12 21:42:41 +0200
committerPetr Štetiar <ynezz@true.cz>2021-07-19 14:51:22 +0200
commitd284e6ef0f06551bad5696f16f26e6ff27b065d4 (patch)
tree49720a51bc62207ca574a6933200e9e46287738e /target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
parent985954ccbd11ba716dc0569c5101583a4a74b215 (diff)
downloadupstream-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/ar9344_winchannel_wb2000.dts')
-rw-r--r--target/linux/ath79/dts/ar9344_winchannel_wb2000.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts b/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
index 72cd5aab49..87bbd206b2 100644
--- a/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
+++ b/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
@@ -142,7 +142,7 @@
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
mtd-mac-address = <&addr 0x0>;
- mtd-mac-address-increment = <0x10>;
+ mac-address-increment = <0x10>;
#gpio-cells = <2>;
gpio-controller;
};
@@ -198,7 +198,7 @@
pll-data = <0xe000000 0x04000101 0x04001313>;
mtd-mac-address = <&addr 0x0>;
- mtd-mac-address-increment = <0x21>;
+ mac-address-increment = <0x21>;
phy-mode = "rgmii-rxid";
phy-handle = <&phy4>;