aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9558_domywifi_dw33d.dts')
-rw-r--r--target/linux/ath79/dts/qca9558_domywifi_dw33d.dts27
1 files changed, 24 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts b/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
index 0c42208c20..5b3318b8b2 100644
--- a/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
+++ b/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
@@ -182,7 +182,8 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
pll-data = <0x56000000 0x00000101 0x00001616>;
phy-handle = <&phy0>;
};
@@ -190,7 +191,8 @@
&eth1 {
status = "okay";
- mtd-mac-address = <&art 0x6>;
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
pll-data = <0x03000101 0x00000101 0x00001616>;
fixed-link {
speed = <1000>;
@@ -202,5 +204,24 @@
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&art 0xc>;
+ nvmem-cells = <&macaddr_art_c>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
};