aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_iptime.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_iptime.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7628an_iptime.dtsi13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_iptime.dtsi b/target/linux/ramips/dts/mt7628an_iptime.dtsi
index 8a33c37f7a..bc8965ca27 100644
--- a/target/linux/ramips/dts/mt7628an_iptime.dtsi
+++ b/target/linux/ramips/dts/mt7628an_iptime.dtsi
@@ -85,7 +85,8 @@
};
&ethernet {
- mtd-mac-address = <&uboot 0x1fc20>;
+ nvmem-cells = <&macaddr_uboot_1fc20>;
+ nvmem-cell-names = "mac-address";
};
&pcie {
@@ -104,3 +105,13 @@
&wmac {
status = "okay";
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc20: macaddr@1fc20 {
+ reg = <0x1fc20 0x6>;
+ };
+};