aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts')
-rw-r--r--target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts19
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
index 6a13c1bafe..b31d0f961b 100644
--- a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
+++ b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
@@ -113,13 +113,15 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
};
&eth1 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
gmac-config {
device = <&gmac>;
@@ -133,5 +135,16 @@
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
};