mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
ath79: dir-8x5: use nvmem
Userspace handling is deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
832c266df0
commit
fdcc50d555
@ -58,13 +58,8 @@
|
|||||||
ath9k: wifi@0,0 {
|
ath9k: wifi@0,0 {
|
||||||
compatible = "pci168c,0030";
|
compatible = "pci168c,0030";
|
||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
/* "mac-address" currently does not work for
|
nvmem-cells = <&macaddr_wan 1>, <&cal_art_5000>;
|
||||||
ath9k pci devices. these below are retained for future
|
|
||||||
improvements. */
|
|
||||||
/* nvmem-cells = <&macaddr_wan 1>, <&cal_art_5000>;
|
|
||||||
nvmem-cell-names = "mac-address", "calibration";
|
nvmem-cell-names = "mac-address", "calibration";
|
||||||
*/
|
|
||||||
qca,no-eeprom; /* remove this when "mac-address" works */
|
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
};
|
};
|
||||||
@ -111,7 +106,7 @@
|
|||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
mac: partition@fe0000 {
|
partition@fe0000 {
|
||||||
label = "mac";
|
label = "mac";
|
||||||
reg = <0xfe0000 0x010000>;
|
reg = <0xfe0000 0x010000>;
|
||||||
read-only;
|
read-only;
|
||||||
|
@ -46,11 +46,6 @@ case "$FIRMWARE" in
|
|||||||
buffalo,wzr-hp-g450h)
|
buffalo,wzr-hp-g450h)
|
||||||
caldata_extract "art" 0x1000 0x440
|
caldata_extract "art" 0x1000 0x440
|
||||||
;;
|
;;
|
||||||
dlink,dir-825-c1|\
|
|
||||||
dlink,dir-835-a1)
|
|
||||||
caldata_extract "art" 0x5000 0x440
|
|
||||||
ath9k_patch_mac $(macaddr_add $(mtd_get_mac_text "mac" 0x18) 1)
|
|
||||||
;;
|
|
||||||
meraki,mr12)
|
meraki,mr12)
|
||||||
caldata_extract "art" 0x11000 0xeb8
|
caldata_extract "art" 0x11000 0xeb8
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user