Update QCA Source

This commit is contained in:
VIKING 2025-03-28 22:19:51 +08:00
parent 4a1a13aa0a
commit e90eb8de8f
16 changed files with 41 additions and 50 deletions

View File

@ -1,10 +1,12 @@
// SPDX-License-Identifier: (GPL-2.0+) // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/; /dts-v1/;
#include "ipq5018.dtsi" #include "ipq5018.dtsi"
#include "ipq5018-ess.dtsi" #include "ipq5018-ess.dtsi"
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
/ { / {
model = "JDCloud RE-CS-03"; model = "JDCloud RE-CS-03";
compatible = "jdcloud,re-cs-03", "qcom,ipq5018"; compatible = "jdcloud,re-cs-03", "qcom,ipq5018";

View File

@ -208,8 +208,3 @@
qcom,ath11k-fw-memory-mode = <1>; qcom,ath11k-fw-memory-mode = <1>;
qcom,ath11k-calibration-variant = "Qihoo-360V6"; qcom,ath11k-calibration-variant = "Qihoo-360V6";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -166,8 +166,3 @@
&edma { &edma {
status = "okay"; status = "okay";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -141,8 +141,3 @@
ieee80211-freq-limit = <2402000 5835000>; ieee80211-freq-limit = <2402000 5835000>;
qcom,ath11k-calibration-variant = "TP-Link-EAP610-Outdoor"; qcom,ath11k-calibration-variant = "TP-Link-EAP610-Outdoor";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -327,8 +327,3 @@
qcom,ath11k-fw-memory-mode = <1>; qcom,ath11k-fw-memory-mode = <1>;
qcom,ath11k-calibration-variant = "Yuncore-FAP650"; qcom,ath11k-calibration-variant = "Yuncore-FAP650";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -292,8 +292,3 @@
&edma { &edma {
status = "okay"; status = "okay";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -96,8 +96,3 @@
&edma { &edma {
status = "okay"; status = "okay";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -327,8 +327,3 @@
qcom,ath11k-fw-memory-mode = <1>; qcom,ath11k-fw-memory-mode = <1>;
qcom,ath11k-calibration-variant = "Linksys-MR7350"; qcom,ath11k-calibration-variant = "Linksys-MR7350";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -195,8 +195,3 @@
&edma { &edma {
status = "okay"; status = "okay";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -192,8 +192,3 @@
&edma { &edma {
status = "okay"; status = "okay";
}; };
&cpu_opp_table {
/delete-node/ opp-1608000000;
/delete-node/ opp-1800000000;
};

View File

@ -4,5 +4,16 @@
&q6_region { &q6_region {
reg = <0x0 0x4ab00000 0x0 0x1000000>; reg = <0x0 0x4ab00000 0x0 0x1000000>;
no-map; };
&q6_etr_region {
reg = <0x0 0x4bb00000 0x0 0x100000>;
};
&m3_dump_region {
reg = <0x0 0x4bc00000 0x0 0x100000>;
};
&ramoops_region {
reg = <0x0 0x4bd00000 0x0 0x100000>;
}; };

View File

@ -5,3 +5,15 @@
&q6_region { &q6_region {
reg = <0x0 0x4b000000 0x0 0x1000000>; reg = <0x0 0x4b000000 0x0 0x1000000>;
}; };
&q6_etr_region {
reg = <0x0 0x4c000000 0x0 0x100000>;
};
&m3_dump_region {
reg = <0x0 0x4c100000 0x0 0x100000>;
};
&ramoops_region {
reg = <0x0 0x4c200000 0x0 0x100000>;
};

View File

@ -124,6 +124,8 @@ define Device/yuncore_fap650
DEVICE_DTS_CONFIG := config@cp03-c1 DEVICE_DTS_CONFIG := config@cp03-c1
SOC := ipq6000 SOC := ipq6000
DEVICE_PACKAGES := ipq-wifi-yuncore_fap650 DEVICE_PACKAGES := ipq-wifi-yuncore_fap650
IMAGES := factory.ubi factory.ubin sysupgrade.bin
IMAGE/factory.ubin := append-ubi | qsdk-ipq-factory-nand
endef endef
TARGET_DEVICES += yuncore_fap650 TARGET_DEVICES += yuncore_fap650

View File

@ -108,6 +108,8 @@ define Device/cmcc_rm2-6
PAGESIZE := 2048 PAGESIZE := 2048
DEVICE_DTS_CONFIG := config@ac02 DEVICE_DTS_CONFIG := config@ac02
SOC := ipq8070 SOC := ipq8070
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand
DEVICE_PACKAGES := ipq-wifi-cmcc_rm2-6 kmod-hwmon-gpiofan DEVICE_PACKAGES := ipq-wifi-cmcc_rm2-6 kmod-hwmon-gpiofan
endef endef
TARGET_DEVICES += cmcc_rm2-6 TARGET_DEVICES += cmcc_rm2-6
@ -122,6 +124,7 @@ define Device/compex_wpq873
DEVICE_DTS_CONFIG := config@hk09.wpq873 DEVICE_DTS_CONFIG := config@hk09.wpq873
SOC := ipq8072 SOC := ipq8072
DEVICE_PACKAGES := ipq-wifi-compex_wpq873 DEVICE_PACKAGES := ipq-wifi-compex_wpq873
IMAGE/factory.ubi := append-ubi | qsdk-ipq-factory-nand
endef endef
TARGET_DEVICES += compex_wpq873 TARGET_DEVICES += compex_wpq873
@ -148,6 +151,7 @@ define Device/edgecore_eap102
DEVICE_DTS_CONFIG := config@ac02 DEVICE_DTS_CONFIG := config@ac02
SOC := ipq8071 SOC := ipq8071
DEVICE_PACKAGES := ipq-wifi-edgecore_eap102 DEVICE_PACKAGES := ipq-wifi-edgecore_eap102
IMAGE/factory.ubi := append-ubi | qsdk-ipq-factory-nand
endef endef
TARGET_DEVICES += edgecore_eap102 TARGET_DEVICES += edgecore_eap102
@ -382,6 +386,7 @@ define Device/spectrum_sax1v1k
DEVICE_MODEL := SAX1V1K DEVICE_MODEL := SAX1V1K
DEVICE_DTS_CONFIG := config@rt5010w-d187-rev6 DEVICE_DTS_CONFIG := config@rt5010w-d187-rev6
SOC := ipq8072 SOC := ipq8072
IMAGES := sysupgrade.bin
DEVICE_PACKAGES := ipq-wifi-spectrum_sax1v1k DEVICE_PACKAGES := ipq-wifi-spectrum_sax1v1k
endef endef
TARGET_DEVICES += spectrum_sax1v1k TARGET_DEVICES += spectrum_sax1v1k
@ -477,6 +482,8 @@ define Device/yuncore_ax880
DEVICE_DTS_CONFIG := config@hk09 DEVICE_DTS_CONFIG := config@hk09
SOC := ipq8072 SOC := ipq8072
DEVICE_PACKAGES := ipq-wifi-yuncore_ax880 DEVICE_PACKAGES := ipq-wifi-yuncore_ax880
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand
endef endef
TARGET_DEVICES += yuncore_ax880 TARGET_DEVICES += yuncore_ax880
@ -490,6 +497,8 @@ define Device/zbtlink_zbt-z800ax
DEVICE_DTS_CONFIG := config@hk09 DEVICE_DTS_CONFIG := config@hk09
SOC := ipq8072 SOC := ipq8072
DEVICE_PACKAGES := ipq-wifi-zbtlink_zbt-z800ax DEVICE_PACKAGES := ipq-wifi-zbtlink_zbt-z800ax
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand
endef endef
TARGET_DEVICES += zbtlink_zbt-z800ax TARGET_DEVICES += zbtlink_zbt-z800ax

View File

@ -60,14 +60,14 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
opp-1608000000 { opp-1608000000 {
opp-hz = /bits/ 64 <1608000000>; opp-hz = /bits/ 64 <1608000000>;
opp-microvolt = <987500>; opp-microvolt = <987500>;
+ opp-supported-hw = <0xf>; + opp-supported-hw = <0x1>;
clock-latency-ns = <200000>; clock-latency-ns = <200000>;
}; };
opp-1800000000 { opp-1800000000 {
opp-hz = /bits/ 64 <1800000000>; opp-hz = /bits/ 64 <1800000000>;
opp-microvolt = <1062500>; opp-microvolt = <1062500>;
+ opp-supported-hw = <0xf>; + opp-supported-hw = <0x1>;
clock-latency-ns = <200000>; clock-latency-ns = <200000>;
}; };
}; };

View File

@ -31,7 +31,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
+ .parent_hws = (const struct clk_hw *[]){ + .parent_hws = (const struct clk_hw *[]){
+ &qdss_at_clk_src.clkr.hw }, + &qdss_at_clk_src.clkr.hw },
+ .num_parents = 1, + .num_parents = 1,
+ .flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL, + .flags = CLK_SET_RATE_PARENT,
+ .ops = &clk_branch2_ops, + .ops = &clk_branch2_ops,
+ }, + },
+ }, + },