projects
/
openwrt
/
staging
/
stintel.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/stintel.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_sercomm_s1500.dtsi
diff --git
a/target/linux/ramips/dts/mt7621_sercomm_s1500.dtsi
b/target/linux/ramips/dts/mt7621_sercomm_s1500.dtsi
index 11cf7752aba580dd1cec8555c886da2644a1cb3d..6344f477e8e565e0be69524a3fa995a7286b6f0d 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_sercomm_s1500.dtsi
+++ b/
target/linux/ramips/dts/mt7621_sercomm_s1500.dtsi
@@
-177,23
+177,26
@@
};
factory: partition@100000 {
};
factory: partition@100000 {
- compatible = "nvmem-cells";
label = "Factory";
reg = <0x100000 0x100000>;
label = "Factory";
reg = <0x100000 0x100000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
- eeprom_factory_8000: eeprom@8000 {
- reg = <0x8000 0x200>;
- };
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
+
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
- macaddr_factory_1000: macaddr@1000 {
- reg = <0x1000 0x6>;
+ macaddr_factory_1000: macaddr@1000 {
+ reg = <0x1000 0x6>;
+ };
};
};
};
};