projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix Ubiquiti EdgeRouter X's MAC address for gmac1
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
rt2880_belkin_f5d8235-v1.dts
diff --git
a/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
b/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
index cbaa3e832f65a7f1a9d1516ed82d896eab197d51..59cc965f23d45756e8f13fbbfc66120397869d80 100644
(file)
--- a/
target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
+++ b/
target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
@@
-196,7
+196,8
@@
ðernet {
status = "okay";
ðernet {
status = "okay";
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
port@0 {
mediatek,fixed-link = <1000 1 1 1>;
port@0 {
mediatek,fixed-link = <1000 1 1 1>;
@@
-235,3
+236,13
@@
status = "okay";
ralink,mtd-eeprom = <&factory 0x0>;
};
status = "okay";
ralink,mtd-eeprom = <&factory 0x0>;
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+};