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 label-mac for Xiaomi RA75
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
rt3050_jcg_jhr-n805r.dts
diff --git
a/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
b/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
index f449b0d0f8027a46ef9caf5947554d2679a6b2a6..61fac83b14661a301f6d809f30ff06bb2248ca5d 100644
(file)
--- a/
target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
+++ b/
target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
@@
-71,6
+71,20
@@
label = "factory";
reg = <0x40000 0x10000>;
read-only;
label = "factory";
reg = <0x40000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
+
+ macaddr_factory_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
+ };
};
partition@50000 {
};
partition@50000 {
@@
-92,15
+106,6
@@
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0x0>;
-};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_2e: macaddr@2e {
- reg = <0x2e 0x6>;
- };
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};