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: mt7621: convert to nvmem-layout
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_yuncore_fap690.dts
diff --git
a/target/linux/ramips/dts/mt7621_yuncore_fap690.dts
b/target/linux/ramips/dts/mt7621_yuncore_fap690.dts
index a998b95d4c51eee523643b140868e2ba77d61ed7..ce6a60215e27b533c6026a744e8b76d66b81ebae 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_yuncore_fap690.dts
+++ b/
target/linux/ramips/dts/mt7621_yuncore_fap690.dts
@@
-93,6
+93,16
@@
label = "Factory";
reg = <0x50000 0x40000>;
read-only;
label = "Factory";
reg = <0x50000 0x40000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_0004: macaddr@0004 {
+ reg = <0x0004 0x6>;
+ };
+ };
};
partition@90000 {
};
partition@90000 {
@@
-137,13
+147,3
@@
function = "gpio";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_0004: macaddr@0004 {
- reg = <0x0004 0x6>;
- };
-};