Update QCA Source

This commit is contained in:
VIKINGYFY 2025-12-02 21:51:04 +08:00 committed by VIKING
parent 56cbede117
commit 575a5114b1
72 changed files with 117 additions and 311 deletions

View File

View File

View File

View File

@ -63,8 +63,8 @@ define Build/Compile
endef
define Package/ath11k-firmware-ipq5018/install
$(INSTALL_DIR) $(1)/lib/firmware/IPQ5018/hw1.0
$(INSTALL_DATA) $(PKG_BUILD_DIR)/IPQ5018/hw1.0/* $(1)/lib/firmware/IPQ5018/
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ5018/hw1.0
$(INSTALL_DATA) $(PKG_BUILD_DIR)/IPQ5018/hw1.0/* $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/
endef
define Package/ath11k-firmware-ipq6018/install

View File

@ -88,8 +88,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;
@ -426,7 +424,9 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6v5_wcss>;
qcom,ath11k-calibration-variant = "Xiaomi-AX6000";
};

View File

@ -109,8 +109,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -228,8 +226,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;
@ -260,12 +256,18 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-calibration-variant = "Yuncore-AX830";
};
&wifi1 {
status = "okay";
qcom,rproc = <&q6_wcss_pd3>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd3";
qcom,ath11k-calibration-variant = "Yuncore-AX830";
};

View File

@ -132,8 +132,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -251,8 +249,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;
@ -298,7 +294,9 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6v5_wcss>;
qcom,ath11k-calibration-variant = "Yuncore-AX850";
};

View File

@ -52,6 +52,8 @@
* ==================================================================
*/
#include "ipq5018-qcn6122.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
@ -151,66 +153,18 @@
&q6v5_wcss {
status = "okay";
memory-region = <&q6_mem_region>;
firmware-name = "IPQ5018/q6_fw.mdt", "IPQ5018/m3_fw.mdt", "ath11k/QCN6122/hw1.0/m3_fw.mdt";
// IPQ5018
q6_wcss_pd1: pd-1 {
firmware-name = "IPQ5018/q6_fw.mdt";
resets = <&gcc GCC_WCSSAON_RESET>, <&gcc GCC_WCSS_BCR>, <&gcc GCC_CE_BCR>;
reset-names = "wcss_aon_reset", "wcss_reset", "ce_reset";
clocks = <&gcc GCC_WCSS_AHB_S_CLK>, <&gcc GCC_WCSS_ACMT_CLK>, <&gcc GCC_WCSS_AXI_M_CLK>;
clock-names = "gcc_wcss_ahb_s_clk", "gcc_wcss_acmt_clk", "gcc_wcss_axi_m_clk";
interrupts-extended = <&wcss_smp2p_in 8 IRQ_TYPE_NONE>, <&wcss_smp2p_in 9 IRQ_TYPE_NONE>, <&wcss_smp2p_in 12 IRQ_TYPE_NONE>, <&wcss_smp2p_in 11 IRQ_TYPE_NONE>;
interrupt-names = "fatal", "ready", "spawn-ack", "stop-ack";
qcom,smem-states = <&wcss_smp2p_out 8>, <&wcss_smp2p_out 9>, <&wcss_smp2p_out 10>;
qcom,smem-state-names = "shutdown", "stop", "spawn";
};
// QCN6102 5G
q6_wcss_pd2: pd-2 {
firmware-name = "IPQ5018/q6_fw.mdt";
interrupts-extended = <&wcss_smp2p_in 16 IRQ_TYPE_NONE>, <&wcss_smp2p_in 17 IRQ_TYPE_NONE>, <&wcss_smp2p_in 20 IRQ_TYPE_NONE>, <&wcss_smp2p_in 19 IRQ_TYPE_NONE>;
interrupt-names = "fatal", "ready", "spawn-ack", "stop-ack";
qcom,smem-states = <&wcss_smp2p_out 16>, <&wcss_smp2p_out 17>, <&wcss_smp2p_out 18>;
qcom,smem-state-names = "shutdown", "stop", "spawn";
};
// QCN6102 6G
q6_wcss_pd3: pd-3 {
firmware-name = "IPQ5018/q6_fw.mdt";
interrupts-extended = <&wcss_smp2p_in 24 IRQ_TYPE_NONE>, <&wcss_smp2p_in 25 IRQ_TYPE_NONE>, <&wcss_smp2p_in 28 IRQ_TYPE_NONE>, <&wcss_smp2p_in 27 IRQ_TYPE_NONE>;
interrupt-names = "fatal", "ready", "spawn-ack", "stop-ack";
qcom,smem-states = <&wcss_smp2p_out 24>, <&wcss_smp2p_out 25>, <&wcss_smp2p_out 26>;
qcom,smem-state-names = "shutdown", "stop", "spawn";
};
};
// IPQ5018
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4c400000>;
};
// QCN6102 5G
&wifi1 {
status = "okay";
qcom,rproc = <&q6_wcss_pd2>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd2";
qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4d100000>;
qcom,m3-dump-addr = <0x4df00000>;
@ -227,6 +181,7 @@
&blsp1_uart1 {
status = "okay";
pinctrl-0 = <&serial_0_pins>;
pinctrl-names = "default";
};

View File

@ -151,8 +151,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;
@ -183,14 +181,18 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-calibration-variant = "GL-iNet-GL-B3000";
};
&wifi1 {
status = "okay";
qcom,rproc = <&q6_wcss_pd2>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd2";
qcom,rproc = <&q6_wcss_pd3>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd3";
qcom,ath11k-calibration-variant = "GL-iNet-GL-B3000";
};

View File

@ -197,7 +197,9 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6v5_wcss>;
qcom,ath11k-calibration-variant = "Linksys-MR5500";
};

View File

@ -86,8 +86,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;

View File

@ -14,12 +14,18 @@
boot-args = <0x01 0x04 0x02 0x0f 0x00 0x00>;
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-calibration-variant = "Linksys-MX2000";
};
&wifi1 {
status = "okay";
qcom,rproc = <&q6_wcss_pd2>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd2";
qcom,ath11k-calibration-variant = "Linksys-MX2000";
};

View File

@ -24,7 +24,9 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6v5_wcss>;
qcom,ath11k-calibration-variant = "Linksys-MX5500";
};

View File

@ -71,8 +71,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;
@ -208,12 +206,18 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-calibration-variant = "CMCC-PZ-L8";
};
&wifi1 {
status = "okay";
qcom,rproc = <&q6_wcss_pd2>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd2";
qcom,ath11k-calibration-variant = "CMCC-PZ-L8";
};

View File

@ -174,7 +174,6 @@
};
&q6v5_wcss {
status = "okey";
boot-args = <0x02 0x04 0x02 0x0f 0x00 0x00>;
};

View File

@ -99,7 +99,9 @@
};
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6v5_wcss>;
qcom,ath11k-calibration-variant = "Linksys-SPNMX56";
};

View File

@ -122,8 +122,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;
@ -265,18 +263,21 @@
};
&q6v5_wcss {
status = "disabled";
boot-args = <0x02 0x04 0x02 0x12 0x00 0x00>;
};
&wifi0 {
&wifi {
status = "okay";
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-calibration-variant = "IODATA-WN-DAX3000GR";
ieee80211-freq-limit = <2400000 2483000>;
};
&wifi1 {
status = "okay";
qcom,rproc = <&q6_wcss_pd2>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd2";
qcom,ath11k-calibration-variant = "IODATA-WN-DAX3000GR";
ieee80211-freq-limit = <5150000 5730000>;
};

View File

@ -115,8 +115,6 @@
nand@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-engine = <&qpic_nand>;
@ -258,18 +256,21 @@
};
&q6v5_wcss {
status = "disabled";
boot-args = <0x02 0x04 0x02 0x12 0x00 0x00>;
};
&wifi0 {
status = "disabled";
&wifi {
status = "okay";
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-calibration-variant = "ELECOM-WRC-X3000GS2";
ieee80211-freq-limit = <2400000 2483000>;
};
&wifi1 {
status = "disabled";
status = "okay";
qcom,rproc = <&q6_wcss_pd2>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd2";
qcom,ath11k-calibration-variant = "ELECOM-WRC-X3000GS2";
ieee80211-freq-limit = <5150000 5730000>;
};

View File

@ -81,8 +81,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -121,8 +121,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <25000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -247,8 +245,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -110,8 +110,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -151,8 +151,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -251,8 +249,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -105,8 +105,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -132,8 +132,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -71,8 +71,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -266,8 +266,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -371,8 +369,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <8>;

View File

@ -89,8 +89,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <25000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -259,8 +257,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -372,8 +372,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -113,8 +113,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -116,8 +116,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -139,8 +139,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -170,8 +170,6 @@
compatible = "micron,n25q128a11", "jedec,spi-nor";
linux,modalias = "m25p80", "mx30uf2g18ac", "n25q128a11";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -307,8 +305,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -71,8 +71,6 @@
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
use-default-sizes;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -204,8 +202,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -87,8 +87,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <8>;

View File

@ -39,8 +39,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -129,8 +127,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -29,8 +29,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -180,8 +178,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <8>;

View File

@ -82,8 +82,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -227,8 +225,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -1,14 +1,13 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright (c) 2025 Pascal Beleiu <pascal@beleiu.de>
* Copyright (c) 2025 Eric Schäfer <eric@es86.de>
*/
/dts-v1/;
#include "ipq8074.dtsi"
#include "ipq8074-ac-cpu.dtsi"
#include "ipq8074-ess.dtsi"
#include "ipq8074-nss.dtsi"
#include "ipq8074-common.dtsi"
#include "ipq8074-ac-cpu.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
@ -18,13 +17,16 @@
compatible = "zyxel,nwa210ax", "qcom,ipq8074";
aliases {
serial0 = &blsp1_uart5;
led-boot = &lp5562_blue;
led-failsafe = &lp5562_white;
led-running = &lp5562_green;
led-upgrade = &lp5562_red;
serial0 = &blsp1_uart5;
ethernet0 = &dp5;
ethernet1 = &dp1;
label-mac-device = &dp5;
};
@ -70,35 +72,7 @@
};
};
&blsp1_uart5 {
status = "okay";
};
&crypto {
status = "okay";
};
&edma {
status = "okay";
};
&tlmm {
mdio_pins: mdio-pins {
mdc {
pins = "gpio68";
function = "mdc";
drive-strength = <8>;
bias-pull-up;
};
mdio {
pins = "gpio69";
function = "mdio";
drive-strength = <8>;
bias-pull-up;
};
};
mdio_gpio_pins: mdio-gpio-pins {
pins = "gpio37", "gpio44";
function = "gpio";
@ -186,8 +160,6 @@
flash@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
linux,modalias = "m25p80", "n25q128a11";
spi-max-frequency = <50000000>;
@ -336,47 +308,47 @@
};
};
&qpic_bam {
status = "okay";
};
&qpic_nand {
status = "okay";
nand@0 {
reg = <0>;
nand-ecc-strength = <4>;
nand-ecc-step-size = <512>;
nand-bus-width = <8>;
nand-ecc-strength = <4>;
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x00 0x3c00000>;
label = "rootfs";
};
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@3c00000 {
reg = <0x3c00000 0x800000>;
label = "0:wififw";
read-only;
};
partition@0 {
label = "rootfs";
reg = <0x00 0x3c00000>;
};
partition@4400000 {
reg = <0x4400000 0x3c00000>;
label = "rootfs_1";
};
partition@3c00000 {
label = "0:wififw";
reg = <0x3c00000 0x800000>;
read-only;
};
partition@8000000 {
reg = <0x8000000 0x800000>;
label = "0:wififw_1";
read-only;
};
partition@4400000 {
label = "rootfs_1";
reg = <0x4400000 0x3c00000>;
};
partition@8800000 {
reg = <0x8800000 0x7800000>;
label = "logs";
partition@8000000 {
label = "0:wififw_1";
reg = <0x8000000 0x800000>;
read-only;
};
partition@8800000 {
label = "logs";
reg = <0x8800000 0x7800000>;
};
};
};
};

View File

@ -46,8 +46,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -173,8 +173,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {

View File

@ -169,8 +169,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <8>;

View File

@ -74,8 +74,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -212,8 +210,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -115,8 +115,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -80,8 +80,6 @@
compatible = "micron,n25q128a11", "jedec,spi-nor";
linux,modalias = "m25p80", "mx30uf2g18ac", "n25q128a11";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
};
};

View File

@ -73,8 +73,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <8>;

View File

@ -68,8 +68,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {

View File

@ -61,8 +61,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -66,8 +66,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -50,8 +50,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -130,8 +130,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -155,8 +155,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -99,8 +99,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -232,8 +230,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <8>;

View File

@ -101,8 +101,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {
@ -232,8 +230,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <8>;

View File

@ -316,8 +316,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -46,8 +46,6 @@
flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
partitions {

View File

@ -129,8 +129,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -294,8 +294,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -315,8 +315,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -216,8 +216,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -146,8 +146,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -24,8 +24,6 @@
status = "okay";
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -37,8 +37,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -34,8 +34,6 @@
};
nand@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
nand-ecc-strength = <4>;

View File

@ -43,7 +43,7 @@ define Device/elecom_wrc-x3000gs2
PAGESIZE := 2048
SOC := ipq5018
DEVICE_DTS_CONFIG := config@mp03.3
DEVICE_PACKAGES := ipq-wifi-elecom_wrc-x3000gs2
DEVICE_PACKAGES := ipq-wifi-elecom_wrc-x3000gs2 ath11k-firmware-qcn6122
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand | mstc-header 4.04(XZF.0)b90 | elecom-product-header WRC-X3000GS2
endef
@ -61,7 +61,7 @@ define Device/glinet_gl-b3000
PAGESIZE := 2048
SOC := ipq5018
DEVICE_DTS_CONFIG := config@mp03.5-c1
DEVICE_PACKAGES := ipq-wifi-glinet_gl-b3000 dumpimage
DEVICE_PACKAGES := ipq-wifi-glinet_gl-b3000 ath11k-firmware-qcn6122 dumpimage
IMAGES := factory.img sysupgrade.bin
IMAGE/factory.img := append-ubi | gl-qsdk-factory | append-metadata
endef
@ -78,7 +78,7 @@ define Device/iodata_wn-dax3000gr
PAGESIZE := 2048
SOC := ipq5018
DEVICE_DTS_CONFIG := config@mp03.3
DEVICE_PACKAGES := ipq-wifi-iodata_wn-dax3000gr
DEVICE_PACKAGES := ipq-wifi-iodata_wn-dax3000gr ath11k-firmware-qcn6122
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand | mstc-header 4.04(XZH.1)b90 0x480
endef
@ -109,7 +109,7 @@ define Device/linksys_mx2000
$(call Device/linksys_ipq50xx_mx_base)
DEVICE_MODEL := MX2000
DEVICE_DTS_CONFIG := config@mp03.5-c1
DEVICE_PACKAGES := ipq-wifi-linksys_mx2000
DEVICE_PACKAGES := ipq-wifi-linksys_mx2000 ath11k-firmware-qcn6122
endef
TARGET_DEVICES += linksys_mx2000
@ -159,7 +159,7 @@ define Device/yuncore_ax830
PAGESIZE := 2048
SOC := ipq5018
DEVICE_DTS_CONFIG := config@mp03.5-c1
DEVICE_PACKAGES := ipq-wifi-yuncore_ax830
DEVICE_PACKAGES := ipq-wifi-yuncore_ax830 ath11k-firmware-qcn6122
endef
TARGET_DEVICES += yuncore_ax830
@ -186,7 +186,7 @@ define Device/jdcloud_re-cs-03
PAGESIZE := 2048
SOC := ipq5018
DEVICE_DTS_CONFIG := config@mp03.5-c2
DEVICE_PACKAGES := ipq-wifi-jdcloud_re-cs-03
DEVICE_PACKAGES := ipq-wifi-jdcloud_re-cs-03 ath11k-firmware-qcn6122
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-rootfs | append-metadata
endef
TARGET_DEVICES += jdcloud_re-cs-03

View File

@ -585,11 +585,11 @@ define Device/zyxel_nwa210ax
$(call Device/UbiFit)
DEVICE_VENDOR := ZYXEL
DEVICE_MODEL := NWA210AX
DEVICE_DTS_CONFIG := config@ac02
SOC := ipq8071
DEVICE_PACKAGES := ipq-wifi-zyxel_nwa210ax zyxel-bootconfig-ipq807x kmod-leds-lp5562
BLOCKSIZE := 128k
PAGESIZE := 2048
SOC := ipq8071
DEVICE_DTS_CONFIG := config@ac02
DEVICE_PACKAGES := ipq-wifi-zyxel_nwa210ax zyxel-bootconfig-ipq807x kmod-leds-lp5562
IMAGE_SIZE := 61440k
IMAGES += factory.bin
IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE) | zyxel-nwa210ax-fit

View File

View File

@ -1,6 +1,6 @@
SUBTARGET:=ipq50xx
BOARDNAME:=Qualcomm Atheros IPQ50xx
DEFAULT_PACKAGES += ath11k-firmware-ipq5018 ath11k-firmware-qcn6122
DEFAULT_PACKAGES += ath11k-firmware-ipq5018
define Target/Description
Build firmware images for Qualcomm Atheros IPQ50xx based boards.

View File

View File

@ -39,7 +39,8 @@ case "$FIRMWARE" in
zbtlink,zbt-z800ax|\
zte,mf269|\
zte,mf269-stock|\
zyxel,nbg7815)
zyxel,nbg7815|\
zyxel,nwa210ax)
caldata_extract "0:art" 0x1000 0x20000
;;
linksys,homewrk|\
@ -60,13 +61,6 @@ case "$FIRMWARE" in
tplink,eap660hd-v1)
caldata_from_file "/tmp/factory_data/radio" 0 0x20000
;;
zyxel,nwa210ax)
caldata_extract "0:art" 0x1000 0x20000
label_mac=$(get_mac_label)
ath11k_patch_mac $(macaddr_add $label_mac 3) 0
ath11k_patch_mac $(macaddr_add $label_mac 2) 1
ath11k_set_macflag
;;
esac
;;
"ath11k/QCN9074/hw1.0/cal-pci-0000:01:00.0.bin"|\

View File

@ -77,7 +77,8 @@ case "$board" in
[ "$PHYNBR" = "0" ] && macaddr_add $label_mac 2 > /sys${DEVPATH}/macaddress
[ "$PHYNBR" = "1" ] && macaddr_add $label_mac 3 > /sys${DEVPATH}/macaddress
;;
zyxel,nbg7815)
zyxel,nbg7815|\
zyxel,nwa210ax)
label_mac=$(get_mac_label)
[ "$PHYNBR" = "0" ] && macaddr_add $label_mac 3 > /sys${DEVPATH}/macaddress
[ "$PHYNBR" = "1" ] && macaddr_add $label_mac 2 > /sys${DEVPATH}/macaddress

View File

@ -1,6 +1,6 @@
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -136,26 +136,45 @@
@@ -104,17 +104,27 @@
#size-cells = <2>;
ranges;
@ -29,26 +29,5 @@
- smem@4ab00000 {
+ smem_region: smem@4ab00000 {
compatible = "qcom,smem";
+ hwlocks = <&tcsr_mutex 3>;
reg = <0x0 0x4ab00000 0x0 0x100000>;
no-map;
-
- hwlocks = <&tcsr_mutex 3>;
};
tz_region: tz@4ac00000 {
- reg = <0x0 0x4ac00000 0x0 0x200000>;
+ reg = <0x0 0x4ac00000 0x0 0x400000>;
+ no-map;
+ };
+
+ q6_mem_region: q6_mem@4b000000 {
+ reg = <0x0 0x4b000000 0x0 0x4000000>;
+ no-map;
+ };
+
+ q6_code_data_region: q6_code_data@4f000000 {
+ reg = <0x0 0x4f000000 0x0 0x1000000>;
no-map;
};
};