aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts')
-rw-r--r--target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts b/target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts
index a9db2882f3..444a5af4f5 100644
--- a/target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts
+++ b/target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts
@@ -115,7 +115,8 @@
};
&ethernet {
- mtd-mac-address = <&uboot 0x40004>;
+ nvmem-cells = <&macaddr_uboot_40004>;
+ nvmem-cell-names = "mac-address";
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
};
@@ -140,3 +141,13 @@
&otg {
status = "okay";
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_40004: macaddr@40004 {
+ reg = <0x40004 0x6>;
+ };
+};