lantiq: arv7525pw: use nvmem for eeprom
NVMEM is the upstream replacement for this. ralink,mtd-eeprom is deprecated. The others need to stay as there's byte swapping going on. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16084 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
7305bf616e
commit
9dbd45c187
1 changed files with 6 additions and 1 deletions
|
@ -135,6 +135,10 @@
|
||||||
macaddr_boardconfig_16: macaddr@16 {
|
macaddr_boardconfig_16: macaddr@16 {
|
||||||
reg = <0x16 0x6>;
|
reg = <0x16 0x6>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
eeprom_boardconfig_410: eeprom@410 {
|
||||||
|
reg = <0x410 0x200>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -152,7 +156,8 @@
|
||||||
wifi@0,0 {
|
wifi@0,0 {
|
||||||
compatible = "pci0,0";
|
compatible = "pci0,0";
|
||||||
reg = <0x7000 0 0 0 0>;
|
reg = <0x7000 0 0 0 0>;
|
||||||
ralink,mtd-eeprom = <&boardconfig 0x410>;
|
nvmem-cells = <&eeprom_boardconfig_410>;
|
||||||
|
nvmem-cell-names = "eeprom";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue