aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi b/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
index 53fe69ae00..c989a30b10 100644
--- a/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
+++ b/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
@@ -147,7 +147,8 @@
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&config 0x0>;
+ nvmem-cells = <&macaddr_config_0>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <2>;
};
@@ -171,3 +172,13 @@
<0x3c 0x000b0000 0x00ff0000>;
};
};
+
+&config {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_config_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};