projects
/
openwrt
/
staging
/
hauke.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/hauke.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_tplink_tl-wpa8631p-v3.dts
diff --git
a/target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts
b/target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts
index c38068f08f1fcff6e6504546060637e3eac62ab5..3c133dd0168b9a262a91b845687faf380c6b49da 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts
+++ b/
target/linux/ramips/dts/mt7621_tplink_tl-wpa8631p-v3.dts
@@
-112,28
+112,38
@@
};
config: partition@730000 {
};
config: partition@730000 {
- compatible = "nvmem-cells";
label = "config";
reg = <0x730000 0xc0000>;
label = "config";
reg = <0x730000 0xc0000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
read-only;
- macaddr_config_2008: macaddr@2008 {
- reg = <0x2008 0x6>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_config_2008: macaddr@2008 {
+ reg = <0x2008 0x6>;
+ };
};
};
radio: partition@7f0000 {
};
};
radio: partition@7f0000 {
- compatible = "nvmem-cells";
label = "radio";
reg = <0x7f0000 0x10000>;
label = "radio";
reg = <0x7f0000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
read-only;
- eeprom_radio_0: eeprom@0 {
- reg = <0x0 0x400>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x4da8>;
+ };
};
};
};
};
};
};
@@
-165,9
+175,8
@@
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
- nvmem-cells = <&macaddr_config_2008>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <1>;
ieee80211-freq-limit = <5000000 6000000>;
};
mac-address-increment = <1>;
ieee80211-freq-limit = <5000000 6000000>;
};