aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi16
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi b/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi
index 261657312b..69d974eb53 100644
--- a/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi
+++ b/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi
@@ -24,7 +24,8 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <(-1)>;
gmac-config {
@@ -38,7 +39,8 @@
&eth1 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
};
@@ -90,3 +92,13 @@
&usb_phy {
status = "okay";
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};