aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9331_glinet_gl-usb150.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9331_glinet_gl-usb150.dts')
-rw-r--r--target/linux/ath79/dts/ar9331_glinet_gl-usb150.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar9331_glinet_gl-usb150.dts b/target/linux/ath79/dts/ar9331_glinet_gl-usb150.dts
index d1c2654712..6f332dd99b 100644
--- a/target/linux/ath79/dts/ar9331_glinet_gl-usb150.dts
+++ b/target/linux/ath79/dts/ar9331_glinet_gl-usb150.dts
@@ -58,7 +58,8 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
gmac-config {
device = <&gmac>;
@@ -117,3 +118,13 @@
mtd-cal-data = <&art 0x1000>;
};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};