aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi')
-rw-r--r--target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi16
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi b/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
index b12b547a7f..31089f339d 100644
--- a/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
+++ b/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
@@ -158,13 +158,25 @@
phy-handle = <&phy4>;
pll-data = <0xa6000000 0x00000101 0x00001616>;
- mtd-mac-address = <&info 0x8>;
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x8>;
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <(-1)>;
};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};