Browse Source

ipq806x: G10: use ASROCK's wifi calibration data

brings back the ath10k QCA9980 wifi nodes to which
it adds ASROCK's wifi calibration data. These are
now provided by the ath10k_firmware.git's board-2.bin.

Signed-off-by: Christian Lamparter <[email protected]>
Christian Lamparter 3 years ago
parent
commit
965e878333
1 changed files with 26 additions and 0 deletions
  1. 26 0
      target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts

+ 26 - 0
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts

@@ -197,10 +197,36 @@
 
 &pcie0 {
 	status = "okay";
+
+	bridge@0,0 {
+		reg = <0x00000000 0 0 0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		ranges;
+
+		wifi5g: wifi@1,0 {
+			reg = <0x00010000 0 0 0 0>;
+			compatible = "qcom,ath10k";
+			qcom,ath10k-calibration-variant = "ASRock-G10";
+		};
+	};
 };
 
 &pcie1 {
 	status = "okay";
+
+	bridge@0,0 {
+		reg = <0x00000000 0 0 0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		ranges;
+
+		wifi2g: wifi@1,0 {
+			reg = <0x00010000 0 0 0 0>;
+			compatible = "qcom,ath10k";
+			qcom,ath10k-calibration-variant = "ASRock-G10";
+		};
+	};
 };
 
 &qcom_pinmux {