ipq40xx: utilize nvmem-cells for macs & (pre-)calibration data
moves extraction entries out of 11-ath10k-caldata and into the individual board's device-tree. Some notes: - mmc could work as well (not tested) - devices that pass the partitions via mtdparts bootargs are kept as is - gl-b2200 has a weird pcie wifi device (vendor claims 9886 wave 2. But firmware-extraction was for a wave 1 device?!) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
		| @@ -9,9 +9,6 @@ board=$(board_name) | |||||||
| case "$FIRMWARE" in | case "$FIRMWARE" in | ||||||
| "ath10k/cal-pci-0000:01:00.0.bin") | "ath10k/cal-pci-0000:01:00.0.bin") | ||||||
| 	case "$board" in | 	case "$board" in | ||||||
| 	glinet,gl-b2200) |  | ||||||
| 		caldata_extract "ART" 0x9000 0x2f20 |  | ||||||
| 		;; |  | ||||||
| 	meraki,mr33) | 	meraki,mr33) | ||||||
| 		caldata_extract_ubi "ART" 0x9000 0x844 | 		caldata_extract_ubi "ART" 0x9000 0x844 | ||||||
| 		caldata_valid "4408" || caldata_extract "ART" 0x9000 0x844 | 		caldata_valid "4408" || caldata_extract "ART" 0x9000 0x844 | ||||||
| @@ -37,11 +34,6 @@ case "$FIRMWARE" in | |||||||
| 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C800 -e 0x212 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") || \ | 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C800 -e 0x212 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") || \ | ||||||
| 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C000 -e 0x212 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") | 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C000 -e 0x212 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") | ||||||
| 		;; | 		;; | ||||||
| 	buffalo,wtr-m2133hp) |  | ||||||
| 		caldata_extract "ART" 0x9000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(mtd_get_mac_binary ORGDATA 0x32) |  | ||||||
| 		;; |  | ||||||
| 	engenius,eap2200 |\ |  | ||||||
| 	openmesh,a62 |\ | 	openmesh,a62 |\ | ||||||
| 	plasmacloud,pa2200) | 	plasmacloud,pa2200) | ||||||
| 		caldata_extract "0:ART" 0x9000 0x2f20 | 		caldata_extract "0:ART" 0x9000 0x2f20 | ||||||
| @@ -63,27 +55,9 @@ case "$FIRMWARE" in | |||||||
| 	;; | 	;; | ||||||
| "ath10k/pre-cal-ahb-a000000.wifi.bin") | "ath10k/pre-cal-ahb-a000000.wifi.bin") | ||||||
| 	case "$board" in | 	case "$board" in | ||||||
| 	8dev,habanero-dvk |\ |  | ||||||
| 	8dev,jalapeno |\ |  | ||||||
| 	alfa-network,ap120c-ac |\ |  | ||||||
| 	cilab,meshpoint-one |\ |  | ||||||
| 	glinet,gl-ap1300 |\ |  | ||||||
| 	glinet,gl-b1300 |\ |  | ||||||
| 	glinet,gl-b2200 |\ |  | ||||||
| 	glinet,gl-s1300 |\ |  | ||||||
| 	linksys,ea6350v3 |\ |  | ||||||
| 	mobipromo,cm520-79f |\ |  | ||||||
| 	p2w,r619ac-64m |\ |  | ||||||
| 	p2w,r619ac-128m |\ |  | ||||||
| 	qcom,ap-dk01.1-c1) | 	qcom,ap-dk01.1-c1) | ||||||
| 		caldata_extract "ART" 0x1000 0x2f20 | 		caldata_extract "ART" 0x1000 0x2f20 | ||||||
| 		;; | 		;; | ||||||
| 	aruba,ap-303 |\ |  | ||||||
| 	aruba,ap-303h |\ |  | ||||||
| 	aruba,ap-365) |  | ||||||
| 		caldata_extract "ART" 0x1000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(mtd_get_mac_binary mfginfo 0x1D) |  | ||||||
| 		;; |  | ||||||
| 	asus,map-ac2200|\ | 	asus,map-ac2200|\ | ||||||
| 	asus,rt-ac42u|\ | 	asus,rt-ac42u|\ | ||||||
| 	asus,rt-ac58u) | 	asus,rt-ac58u) | ||||||
| @@ -102,25 +76,10 @@ case "$FIRMWARE" in | |||||||
| 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C800 -e 0x207 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") || \ | 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C800 -e 0x207 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") || \ | ||||||
| 		/usr/bin/fritz_cal_extract -i 1 -s 0x3D000 -e 0x207 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") | 		/usr/bin/fritz_cal_extract -i 1 -s 0x3D000 -e 0x207 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") | ||||||
| 		;; | 		;; | ||||||
| 	buffalo,wtr-m2133hp) |  | ||||||
| 		caldata_extract "ART" 0x1000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(mtd_get_mac_binary ORGDATA 0x26) |  | ||||||
| 		;; |  | ||||||
| 	cellc,rtl30vw |\ |  | ||||||
| 	compex,wpj419 |\ |  | ||||||
| 	compex,wpj428 |\ |  | ||||||
| 	edgecore,ecw5211 |\ |  | ||||||
| 	edgecore,oap100 |\ |  | ||||||
| 	engenius,eap1300 |\ |  | ||||||
| 	engenius,eap2200 |\ |  | ||||||
| 	luma,wrtq-329acn|\ |  | ||||||
| 	openmesh,a42 |\ | 	openmesh,a42 |\ | ||||||
| 	openmesh,a62 |\ | 	openmesh,a62 |\ | ||||||
| 	plasmacloud,pa1200 |\ | 	plasmacloud,pa1200 |\ | ||||||
| 	plasmacloud,pa2200 |\ | 	plasmacloud,pa2200) | ||||||
| 	qxwlan,e2600ac-c1 |\ |  | ||||||
| 	qxwlan,e2600ac-c2 |\ |  | ||||||
| 	unielec,u4019-32m) |  | ||||||
| 		caldata_extract "0:ART" 0x1000 0x2f20 | 		caldata_extract "0:ART" 0x1000 0x2f20 | ||||||
| 		;; | 		;; | ||||||
| 	devolo,magic-2-wifi-next) | 	devolo,magic-2-wifi-next) | ||||||
| @@ -166,14 +125,6 @@ case "$FIRMWARE" in | |||||||
| 		caldata_extract_mmc "0:ART" 0x1000 0x2f20 | 		caldata_extract_mmc "0:ART" 0x1000 0x2f20 | ||||||
| 		ath10k_patch_mac $(mmc_get_mac_binary ARTMTD 0x0) | 		ath10k_patch_mac $(mmc_get_mac_binary ARTMTD 0x0) | ||||||
| 		;; | 		;; | ||||||
| 	netgear,wac510) |  | ||||||
| 		caldata_extract "0:ART" 0x1000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(mtd_get_mac_binary "0:MANUDATA" 0x6) |  | ||||||
| 		;; |  | ||||||
| 	teltonika,rutx10) |  | ||||||
| 		caldata_extract "0:ART" 0x1000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary "0:CONFIG" 0x0) 2) |  | ||||||
| 		;; |  | ||||||
| 	zyxel,nbg6617 |\ | 	zyxel,nbg6617 |\ | ||||||
| 	zyxel,wre6606) | 	zyxel,wre6606) | ||||||
| 		caldata_extract "ART" 0x1000 0x2f20 | 		caldata_extract "ART" 0x1000 0x2f20 | ||||||
| @@ -183,27 +134,9 @@ case "$FIRMWARE" in | |||||||
| 	;; | 	;; | ||||||
| "ath10k/pre-cal-ahb-a800000.wifi.bin") | "ath10k/pre-cal-ahb-a800000.wifi.bin") | ||||||
| 	case "$board" in | 	case "$board" in | ||||||
| 	8dev,habanero-dvk |\ |  | ||||||
| 	8dev,jalapeno |\ |  | ||||||
| 	alfa-network,ap120c-ac |\ |  | ||||||
| 	cilab,meshpoint-one |\ |  | ||||||
| 	glinet,gl-ap1300 |\ |  | ||||||
| 	glinet,gl-b1300 |\ |  | ||||||
| 	glinet,gl-b2200 |\ |  | ||||||
| 	glinet,gl-s1300 |\ |  | ||||||
| 	linksys,ea6350v3 |\ |  | ||||||
| 	mobipromo,cm520-79f |\ |  | ||||||
| 	p2w,r619ac-64m |\ |  | ||||||
| 	p2w,r619ac-128m |\ |  | ||||||
| 	qcom,ap-dk01.1-c1) | 	qcom,ap-dk01.1-c1) | ||||||
| 		caldata_extract "ART" 0x5000 0x2f20 | 		caldata_extract "ART" 0x5000 0x2f20 | ||||||
| 		;; | 		;; | ||||||
| 	aruba,ap-303 |\ |  | ||||||
| 	aruba,ap-303h |\ |  | ||||||
| 	aruba,ap-365) |  | ||||||
| 		caldata_extract "ART" 0x5000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary mfginfo 0x1D) 1) |  | ||||||
| 		;; |  | ||||||
| 	asus,map-ac2200|\ | 	asus,map-ac2200|\ | ||||||
| 	asus,rt-ac58u) | 	asus,rt-ac58u) | ||||||
| 		caldata_extract_ubi "Factory" 0x5000 0x2f20 | 		caldata_extract_ubi "Factory" 0x5000 0x2f20 | ||||||
| @@ -221,25 +154,10 @@ case "$FIRMWARE" in | |||||||
| 		/usr/bin/fritz_cal_extract -i 1 -s 0x3D000 -e 0x208 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") || \ | 		/usr/bin/fritz_cal_extract -i 1 -s 0x3D000 -e 0x208 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") || \ | ||||||
| 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C000 -e 0x208 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") | 		/usr/bin/fritz_cal_extract -i 1 -s 0x3C000 -e 0x208 -l 12064 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader1") | ||||||
| 		;; | 		;; | ||||||
| 	buffalo,wtr-m2133hp) |  | ||||||
| 		caldata_extract "ART" 0x5000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(mtd_get_mac_binary ORGDATA 0x2c) |  | ||||||
| 		;; |  | ||||||
| 	cellc,rtl30vw |\ |  | ||||||
| 	compex,wpj419 |\ |  | ||||||
| 	compex,wpj428 |\ |  | ||||||
| 	edgecore,ecw5211 |\ |  | ||||||
| 	edgecore,oap100 |\ |  | ||||||
| 	engenius,eap1300 |\ |  | ||||||
| 	engenius,eap2200 |\ |  | ||||||
| 	luma,wrtq-329acn|\ |  | ||||||
| 	openmesh,a42 |\ | 	openmesh,a42 |\ | ||||||
| 	openmesh,a62 |\ | 	openmesh,a62 |\ | ||||||
| 	plasmacloud,pa1200 |\ | 	plasmacloud,pa1200 |\ | ||||||
| 	plasmacloud,pa2200 |\ | 	plasmacloud,pa2200) | ||||||
| 	qxwlan,e2600ac-c1 |\ |  | ||||||
| 	qxwlan,e2600ac-c2 |\ |  | ||||||
| 	unielec,u4019-32m) |  | ||||||
| 		caldata_extract "0:ART" 0x5000 0x2f20 | 		caldata_extract "0:ART" 0x5000 0x2f20 | ||||||
| 		;; | 		;; | ||||||
| 	devolo,magic-2-wifi-next) | 	devolo,magic-2-wifi-next) | ||||||
| @@ -286,14 +204,6 @@ case "$FIRMWARE" in | |||||||
| 		caldata_extract_mmc "0:ART" 0x5000 0x2f20 | 		caldata_extract_mmc "0:ART" 0x5000 0x2f20 | ||||||
| 		ath10k_patch_mac $(mmc_get_mac_binary ARTMTD 0xc) | 		ath10k_patch_mac $(mmc_get_mac_binary ARTMTD 0xc) | ||||||
| 		;; | 		;; | ||||||
| 	netgear,wac510) |  | ||||||
| 		caldata_extract "0:ART" 0x5000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary "0:MANUDATA" 0x6) 16) |  | ||||||
| 		;; |  | ||||||
| 	teltonika,rutx10) |  | ||||||
| 		caldata_extract "0:ART" 0x5000 0x2f20 |  | ||||||
| 		ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary "0:CONFIG" 0x0) 3) |  | ||||||
| 		;; |  | ||||||
| 	zyxel,nbg6617 |\ | 	zyxel,nbg6617 |\ | ||||||
| 	zyxel,wre6606) | 	zyxel,wre6606) | ||||||
| 		caldata_extract "ART" 0x5000 0x2f20 | 		caldata_extract "ART" 0x5000 0x2f20 | ||||||
|   | |||||||
| @@ -211,6 +211,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@180000 { | 			partition@180000 { | ||||||
| @@ -342,9 +353,13 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC"; | 	qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -116,15 +116,18 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "linksys-ea6350v3"; | 	qcom,ath10k-calibration-variant = "linksys-ea6350v3"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "linksys-ea6350v3"; | 	qcom,ath10k-calibration-variant = "linksys-ea6350v3"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  |  | ||||||
| &blsp_dma { | &blsp_dma { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| }; | }; | ||||||
| @@ -207,6 +210,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x00160000 0x00010000>; | 				reg = <0x00160000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 			u_env@170000 { | 			u_env@170000 { | ||||||
| 				label = "u_env"; | 				label = "u_env"; | ||||||
|   | |||||||
| @@ -188,6 +188,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x00180000 0x00010000>; | 				reg = <0x00180000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 			partition8@190000 { | 			partition8@190000 { | ||||||
| 				compatible = "denx,fit"; | 				compatible = "denx,fit"; | ||||||
| @@ -226,10 +237,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "EnGenius-EAP1300"; | 	qcom,ath10k-calibration-variant = "EnGenius-EAP1300"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "EnGenius-EAP1300"; | 	qcom,ath10k-calibration-variant = "EnGenius-EAP1300"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -240,6 +240,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -306,11 +317,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC"; | 	qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -189,6 +189,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -260,10 +271,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-AP1300"; | 	qcom,ath10k-calibration-variant = "GL-AP1300"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-AP1300"; | 	qcom,ath10k-calibration-variant = "GL-AP1300"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -195,6 +195,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -246,13 +257,15 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "8devices-Jalapeno"; | 	qcom,ath10k-calibration-variant = "8devices-Jalapeno"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "8devices-Jalapeno"; | 	qcom,ath10k-calibration-variant = "8devices-Jalapeno"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -188,12 +188,30 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x2e0000 0x10000>; | 				reg = <0x2e0000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			config: partition@2f0000 { | 			config: partition@2f0000 { | ||||||
| 				label = "0:CONFIG"; | 				label = "0:CONFIG"; | ||||||
| 				reg = <0x2f0000 0x10000>; | 				reg = <0x2f0000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				macaddr_config_0: macaddr@0 { | ||||||
|  | 					reg = <0x0 0x6>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@300000 { | 			partition@300000 { | ||||||
| @@ -249,3 +267,15 @@ | |||||||
| 	pinctrl-names = "default"; | 	pinctrl-names = "default"; | ||||||
| 	phy-reset-gpio = <&tlmm 62 0>; | 	phy-reset-gpio = <&tlmm 62 0>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | &wifi0 { | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>, <&macaddr_config_0>; | ||||||
|  | 	mac-address-increment = <2>; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &wifi1 { | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>, <&macaddr_config_0>; | ||||||
|  | 	mac-address-increment = <3>; | ||||||
|  | }; | ||||||
|   | |||||||
| @@ -273,12 +273,30 @@ | |||||||
| 				label = "0:MANUDATA"; | 				label = "0:MANUDATA"; | ||||||
| 				reg = <0x001e0000 0x00010000>; | 				reg = <0x001e0000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				macaddr_manudata_6: macaddr@6 { | ||||||
|  | 					reg = <0x6 0x6>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@1f0000 { | 			partition@1f0000 { | ||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x001f0000 0x00010000>; | 				reg = <0x001f0000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -348,13 +366,16 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>, <&macaddr_manudata_6>; | ||||||
| 	qcom,ath10k-calibration-variant = "Netgear-WAC510"; | 	qcom,ath10k-calibration-variant = "Netgear-WAC510"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>, <&macaddr_manudata_6>; | ||||||
|  | 	mac-address-increment = <16>; | ||||||
| 	qcom,ath10k-calibration-variant = "Netgear-WAC510"; | 	qcom,ath10k-calibration-variant = "Netgear-WAC510"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -178,6 +178,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x170000 0x010000>; | 				reg = <0x170000 0x010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -264,12 +275,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "Luma-WRTQ-329ACN"; | 	qcom,ath10k-calibration-variant = "Luma-WRTQ-329ACN"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "Luma-WRTQ-329ACN"; | 	qcom,ath10k-calibration-variant = "Luma-WRTQ-329ACN"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -284,6 +284,25 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0xb00000 0x80000>; | 				reg = <0xb00000 0x80000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				macaddr_art_1006: macaddr@1006 { | ||||||
|  | 					reg = <0x1006 0x6>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				macaddr_art_5006: macaddr@5006 { | ||||||
|  | 					reg = <0x5006 0x6>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@b80000 { | 			partition@b80000 { | ||||||
| @@ -347,24 +366,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "CM520-79F"; | 	qcom,ath10k-calibration-variant = "CM520-79F"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "CM520-79F"; | 	qcom,ath10k-calibration-variant = "CM520-79F"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &art { |  | ||||||
| 	compatible = "nvmem-cells"; |  | ||||||
| 	#address-cells = <1>; |  | ||||||
| 	#size-cells = <1>; |  | ||||||
|  |  | ||||||
| 	macaddr_art_1006: macaddr@1006 { |  | ||||||
| 		reg = <0x1006 0x6>; |  | ||||||
| 	}; |  | ||||||
|  |  | ||||||
| 	macaddr_art_5006: macaddr@5006 { |  | ||||||
| 		reg = <0x5006 0x6>; |  | ||||||
| 	}; |  | ||||||
| }; |  | ||||||
|   | |||||||
| @@ -68,6 +68,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 			partition@180000 { | 			partition@180000 { | ||||||
| 				compatible = "denx,fit"; | 				compatible = "denx,fit"; | ||||||
|   | |||||||
| @@ -68,6 +68,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|   | |||||||
| @@ -257,10 +257,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "Qxwlan-E2600AC"; | 	qcom,ath10k-calibration-variant = "Qxwlan-E2600AC"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "Qxwlan-E2600AC"; | 	qcom,ath10k-calibration-variant = "Qxwlan-E2600AC"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -159,6 +159,21 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_9000: precal@9000 { | ||||||
|  | 					reg = <0x9000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -216,6 +231,8 @@ | |||||||
| 		wifi2: wifi@1,0 { | 		wifi2: wifi@1,0 { | ||||||
| 			compatible = "qcom,ath10k"; | 			compatible = "qcom,ath10k"; | ||||||
| 			reg = <0x00010000 0 0 0 0>; | 			reg = <0x00010000 0 0 0 0>; | ||||||
|  | 			nvmem-cell-names = "pre-calibration"; | ||||||
|  | 			nvmem-cells = <&precal_art_9000>; | ||||||
| 			ieee80211-freq-limit = <5470000 5875000>; | 			ieee80211-freq-limit = <5470000 5875000>; | ||||||
| 			qcom,ath10k-calibration-variant = "EnGenius-EAP2200"; | 			qcom,ath10k-calibration-variant = "EnGenius-EAP2200"; | ||||||
| 		}; | 		}; | ||||||
| @@ -272,11 +289,15 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "EnGenius-EAP2200"; | 	qcom,ath10k-calibration-variant = "EnGenius-EAP2200"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	ieee80211-freq-limit = <5170000 5350000>; | 	ieee80211-freq-limit = <5170000 5350000>; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "EnGenius-EAP2200"; | 	qcom,ath10k-calibration-variant = "EnGenius-EAP2200"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -207,6 +207,21 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				cal_art_9000: cal@9000 { | ||||||
|  | 					reg = <0x9000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -348,6 +363,9 @@ | |||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
| 			compatible = "qcom,ath10k"; | 			compatible = "qcom,ath10k"; | ||||||
| 			reg = <0x00010000 0 0 0 0>; | 			reg = <0x00010000 0 0 0 0>; | ||||||
|  | 			 /* vendor said 9886 wave-2? Is this correct? */ | ||||||
|  | 			nvmem-cell-names = "calibration"; | ||||||
|  | 			nvmem-cells = <&cal_art_9000>; | ||||||
| 			qcom,ath10k-calibration-variant = "GL-B2200"; | 			qcom,ath10k-calibration-variant = "GL-B2200"; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -355,10 +373,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-B2200"; | 	qcom,ath10k-calibration-variant = "GL-B2200"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-B2200"; | 	qcom,ath10k-calibration-variant = "GL-B2200"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -284,6 +284,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 			partition@180000 { | 			partition@180000 { | ||||||
| 				label = "cfg"; | 				label = "cfg"; | ||||||
| @@ -334,13 +345,15 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "8devices-Habanero"; | 	qcom,ath10k-calibration-variant = "8devices-Habanero"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "8devices-Habanero"; | 	qcom,ath10k-calibration-variant = "8devices-Habanero"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -278,6 +278,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -318,11 +329,15 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "Edgecore OAP100"; | 	qcom,ath10k-calibration-variant = "Edgecore OAP100"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "Edgecore OAP100"; | 	qcom,ath10k-calibration-variant = "Edgecore OAP100"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -186,6 +186,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -340,10 +351,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "P&W R619AC"; | 	qcom,ath10k-calibration-variant = "P&W R619AC"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "P&W R619AC"; | 	qcom,ath10k-calibration-variant = "P&W R619AC"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -267,6 +267,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@180000 { | 			partition@180000 { | ||||||
| @@ -376,10 +387,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "cellc,rtl30vw"; | 	qcom,ath10k-calibration-variant = "cellc,rtl30vw"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "cellc,rtl30vw"; | 	qcom,ath10k-calibration-variant = "cellc,rtl30vw"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -65,6 +65,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 			partition@180000 { | 			partition@180000 { | ||||||
| 				compatible = "denx,fit"; | 				compatible = "denx,fit"; | ||||||
|   | |||||||
| @@ -217,8 +217,12 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -206,6 +206,17 @@ | |||||||
| 						label = "0:ART"; | 						label = "0:ART"; | ||||||
| 						reg = <0x170000 0x010000>; | 						reg = <0x170000 0x010000>; | ||||||
| 						read-only; | 						read-only; | ||||||
|  | 						compatible = "nvmem-cells"; | ||||||
|  | 						#address-cells = <1>; | ||||||
|  | 						#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 						precal_art_1000: precal@1000 { | ||||||
|  | 							reg = <0x1000 0x2f20>; | ||||||
|  | 						}; | ||||||
|  |  | ||||||
|  | 						precal_art_5000: precal@5000 { | ||||||
|  | 							reg = <0x5000 0x2f20>; | ||||||
|  | 						}; | ||||||
| 					}; | 					}; | ||||||
| 				}; | 				}; | ||||||
| 			}; | 			}; | ||||||
| @@ -378,8 +389,12 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -254,7 +254,8 @@ | |||||||
| 		wifi@0,0 { | 		wifi@0,0 { | ||||||
| 			compatible = "qcom,ath10k"; | 			compatible = "qcom,ath10k"; | ||||||
| 			reg = <0 0 0 0 0>; | 			reg = <0 0 0 0 0>; | ||||||
|  | 			nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 			nvmem-cells = <&precal_art_9000>, <&macaddr_orgdata_32>; | ||||||
| 			qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | 			qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| @@ -340,10 +341,25 @@ | |||||||
| 				read-only; | 				read-only; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			art: partition@b00000 { | 			partition@b00000 { | ||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x0b00000 0x0080000>; | 				reg = <0x0b00000 0x0080000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_9000: precal@9000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@b80000 { | 			partition@b80000 { | ||||||
| @@ -356,6 +372,22 @@ | |||||||
| 				label = "ORGDATA"; | 				label = "ORGDATA"; | ||||||
| 				reg = <0x0c00000 0x0080000>; | 				reg = <0x0c00000 0x0080000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				macaddr_orgdata_20: macaddr@20 { | ||||||
|  | 					reg = <0x20 0x6>; | ||||||
|  | 				}; | ||||||
|  | 				macaddr_orgdata_26: macaddr@26 { | ||||||
|  | 					reg = <0x26 0x6>; | ||||||
|  | 				}; | ||||||
|  | 				macaddr_orgdata_2c: macaddr@2c { | ||||||
|  | 					reg = <0x2c 0x6>; | ||||||
|  | 				}; | ||||||
|  | 				macaddr_orgdata_32: macaddr@32 { | ||||||
|  | 					reg = <0x32 0x6>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@c80000 { | 			partition@c80000 { | ||||||
| @@ -386,12 +418,16 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>, <&macaddr_orgdata_26>; | ||||||
| 	qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | 	qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | ||||||
| 	ieee80211-freq-limit = <2400000 2483000>; | 	ieee80211-freq-limit = <2400000 2483000>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>, <&macaddr_orgdata_2c>; | ||||||
| 	qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | 	qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| @@ -419,13 +455,3 @@ | |||||||
| &usb3_hs_phy { | &usb3_hs_phy { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &orgdata { |  | ||||||
| 	compatible = "nvmem-cells"; |  | ||||||
| 	#address-cells = <1>; |  | ||||||
| 	#size-cells = <1>; |  | ||||||
|  |  | ||||||
| 	macaddr_orgdata_20: macaddr@20 { |  | ||||||
| 		reg = <0x20 0x6>; |  | ||||||
| 	}; |  | ||||||
| }; |  | ||||||
|   | |||||||
| @@ -231,6 +231,17 @@ | |||||||
| 				label = "0:ART"; | 				label = "0:ART"; | ||||||
| 				reg = <0x00170000 0x00010000>; | 				reg = <0x00170000 0x00010000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
| 			partition6@180000 { | 			partition6@180000 { | ||||||
| 				compatible = "denx,fit"; | 				compatible = "denx,fit"; | ||||||
| @@ -281,8 +292,12 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -118,6 +118,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0xe0000 0x10000>; | 				reg = <0xe0000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@f0000 { | 			partition@f0000 { | ||||||
| @@ -130,6 +141,13 @@ | |||||||
| 				label = "mfginfo"; | 				label = "mfginfo"; | ||||||
| 				reg = <0x1e0000 0x10000>; | 				reg = <0x1e0000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				macaddr_mfginfo_1d: macaddr@1d { | ||||||
|  | 					reg = <0x1d 0x6>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@1f0000 { | 			partition@1f0000 { | ||||||
|   | |||||||
| @@ -325,6 +325,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x1f0000 0x10000>; | 				reg = <0x1f0000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@1f0000 { | 			partition@1f0000 { | ||||||
| @@ -349,6 +360,13 @@ | |||||||
| 				label = "mfginfo"; | 				label = "mfginfo"; | ||||||
| 				reg = <0x390000 0x10000>; | 				reg = <0x390000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				macaddr_mfginfo_1d: macaddr@1d { | ||||||
|  | 					reg = <0x1d 0x6>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@3a0000 { | 			partition@3a0000 { | ||||||
| @@ -413,9 +431,16 @@ | |||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_1d>; | ||||||
|  | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_1d>; | ||||||
|  | 	mac-address-increment = <1>; | ||||||
|  | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -150,6 +150,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x1f0000 0x10000>; | 				reg = <0x1f0000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@200000 { | 			partition@200000 { | ||||||
|   | |||||||
| @@ -242,10 +242,15 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_1d>; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_1d>; | ||||||
|  | 	mac-address-increment = <1>; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -208,6 +208,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			firmware@180000 { | 			firmware@180000 { | ||||||
| @@ -271,10 +282,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-B1300"; | 	qcom,ath10k-calibration-variant = "GL-B1300"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-B1300"; | 	qcom,ath10k-calibration-variant = "GL-B1300"; | ||||||
| }; | }; | ||||||
|   | |||||||
| @@ -207,6 +207,17 @@ | |||||||
| 				label = "ART"; | 				label = "ART"; | ||||||
| 				reg = <0x170000 0x10000>; | 				reg = <0x170000 0x10000>; | ||||||
| 				read-only; | 				read-only; | ||||||
|  | 				compatible = "nvmem-cells"; | ||||||
|  | 				#address-cells = <1>; | ||||||
|  | 				#size-cells = <1>; | ||||||
|  |  | ||||||
|  | 				precal_art_1000: precal@1000 { | ||||||
|  | 					reg = <0x1000 0x2f20>; | ||||||
|  | 				}; | ||||||
|  |  | ||||||
|  | 				precal_art_5000: precal@5000 { | ||||||
|  | 					reg = <0x5000 0x2f20>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			firmware@180000 { | 			firmware@180000 { | ||||||
| @@ -347,10 +358,14 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_1000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-S1300"; | 	qcom,ath10k-calibration-variant = "GL-S1300"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "pre-calibration"; | ||||||
|  | 	nvmem-cells = <&precal_art_5000>; | ||||||
| 	qcom,ath10k-calibration-variant = "GL-S1300"; | 	qcom,ath10k-calibration-variant = "GL-S1300"; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Lamparter
					Christian Lamparter