projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: use fixed layout cell "mac-base" for Netgear WNDR3700 v5
[openwrt/staging/jow.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_netgear_wndr3700-v5.dts
diff --git
a/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
b/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
index 276e7c959f5614db6041a0bd2981ba45a11b6aee..dc40d71afc42aa19d848f6df3261eef7eac7931a 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
+++ b/
target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
@@
-40,6
+40,18
@@
label = "factory";
reg = <0xf30000 0x10000>;
read-only;
label = "factory";
reg = <0xf30000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
+ reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
+ };
+ };
};
partition@50000 {
};
partition@50000 {
@@
-52,22
+64,11
@@
};
&gmac0 {
};
&gmac0 {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4
0
>;
nvmem-cell-names = "mac-address";
};
&gmac1 {
nvmem-cell-names = "mac-address";
};
&gmac1 {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4
1
>;
nvmem-cell-names = "mac-address";
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
-};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
};
};