ipq40xx: fix wlan mac address for Aruba AP-303H
Assigns the correct mac address from nvmen to the wlan interfaces.
This Mac address corresponds to the label "Wireless MAC" on the device
and the stock firmware.
Removes duplicate entry of calibration variant for both radios.
Fixes: cfc13c4459 ("ipq40xx: utilize nvmem-cells for macs & (pre-)calibration data")
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
			
			
This commit is contained in:
		 Bjoern Dobe
					Bjoern Dobe
				
			
				
					committed by
					
						 Christian Marangi
						Christian Marangi
					
				
			
			
				
	
			
			
			 Christian Marangi
						Christian Marangi
					
				
			
						parent
						
							f4d949b404
						
					
				
				
					commit
					1036545b00
				
			| @@ -359,6 +359,10 @@ | |||||||
| 				macaddr_mfginfo_1d: macaddr@1d { | 				macaddr_mfginfo_1d: macaddr@1d { | ||||||
| 					reg = <0x1d 0x6>; | 					reg = <0x1d 0x6>; | ||||||
| 				}; | 				}; | ||||||
|  |  | ||||||
|  | 				macaddr_mfginfo_45: macaddr@45 { | ||||||
|  | 					reg = <0x45 0x6>; | ||||||
|  | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			partition@3a0000 { | 			partition@3a0000 { | ||||||
| @@ -454,17 +458,15 @@ | |||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; |  | ||||||
| 	nvmem-cell-names = "pre-calibration", "mac-address"; | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
| 	nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_1d>; | 	nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_45>; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi1 { | &wifi1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; |  | ||||||
| 	nvmem-cell-names = "pre-calibration", "mac-address"; | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
| 	nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_1d>; | 	nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_45>; | ||||||
| 	mac-address-increment = <1>; | 	mac-address-increment = <1>; | ||||||
| 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | 	qcom,ath10k-calibration-variant = "Aruba-AP-303"; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user