aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts')
-rw-r--r--target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
index 56d9dc0894..fc3a5549f2 100644
--- a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
+++ b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
@@ -139,7 +139,8 @@
&ethernet {
status = "okay";
- mtd-mac-address = <&devdata 0xd>;
+ nvmem-cells = <&macaddr_devdata_d>;
+ nvmem-cell-names = "mac-address";
port@0 {
mediatek,fixed-link = <1000 1 1 1>;
@@ -173,3 +174,13 @@
&ohci {
status = "okay";
};
+
+&devdata {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_devdata_d: macaddr@d {
+ reg = <0xd 0x6>;
+ };
+};