projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: convert mtd-mac-address to nvmem implementation
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
rt3052_dlink_dap-1350.dts
diff --git
a/target/linux/ramips/dts/rt3052_dlink_dap-1350.dts
b/target/linux/ramips/dts/rt3052_dlink_dap-1350.dts
index a2584e005e2615b743e0f52cdbb6d35fa0cb3e9d..e33a7ef5b5eb67b7ed0976259449732af8baf37d 100644
(file)
--- a/
target/linux/ramips/dts/rt3052_dlink_dap-1350.dts
+++ b/
target/linux/ramips/dts/rt3052_dlink_dap-1350.dts
@@
-118,7
+118,8
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&devdata 0x2e>;
+ nvmem-cells = <&macaddr_devdata_2e>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&esw {
@@
-132,3
+133,13
@@
&otg {
status = "okay";
};
&otg {
status = "okay";
};
+
+&devdata {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_devdata_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
+};