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
/
rt3050_teltonika_rut5xx.dts
diff --git
a/target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts
b/target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts
index 742edbb11da4fbcc31003060f0de95c61aa2473e..cfdb4d6b4b70257e2a2a86292a45a7e4f1b772ab 100644
(file)
--- a/
target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts
+++ b/
target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts
@@
-83,7
+83,8
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&factory 0x28>;
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&esw {
@@
-97,3
+98,13
@@
&otg {
status = "okay";
};
&otg {
status = "okay";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
+};