Update QCA Source

This commit is contained in:
VIKING 2025-03-30 13:31:39 +08:00
parent 9bfeccf087
commit 21d7d604c1
4 changed files with 45 additions and 54 deletions

View File

@ -35,14 +35,14 @@ xiaomi,ax1800|\
zn,m2|\
glinet,gl-ax1800|\
glinet,gl-axt1800|\
linksys,mr7350|\
linksys,mr7500)
ubootenv_add_mtd "u_env" "0x0" "0x40000" "0x20000"
;;
netgear,wax214|\
tplink,eap610-outdoor)
ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000"
;;
linksys,mr7350|\
linksys,mr7500)
ubootenv_add_mtd "u_env" "0x0" "0x40000" "0x20000"
;;
yuncore,fap650)
ubootenv_add_mtd "0:appsblenv" "0x0" "0x10000" "0x10000"
;;

View File

@ -1,11 +1,13 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// Copyright 2024 Weikai Kong (priv at pppig236.com)
/dts-v1/;
#include "ipq6018-512m.dtsi"
#include "ipq6018-cp-cpu.dtsi"
#include "ipq6018.dtsi"
#include "ipq6018-common.dtsi"
#include "ipq6018-ess.dtsi"
#include "ipq6018-nss.dtsi"
#include "ipq6018-cp-cpu.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
@ -447,10 +449,6 @@
};
};
&qpic_bam {
status = "okay";
};
&qpic_nand {
status = "okay";
@ -486,10 +484,6 @@
};
};
&ssphy_0 {
status = "okay";
};
&dwc_0 {
#address-cells = <1>;
#size-cells = <0>;
@ -515,10 +509,6 @@
vbus-supply = <&reg_usb_vbus>;
};
&pcie_phy {
status = "okay";
};
&pcie0 {
status = "okay";
bridge@0,0 {
@ -539,6 +529,6 @@
&wifi {
status = "okay";
qcom,ath11k-calibration-variant = "Linksys-MR7500";
qcom,ath11k-fw-memory-mode = <1>;
qcom,ath11k-calibration-variant = "Linksys-MR7500";
};

View File

@ -28,7 +28,8 @@ case "$board" in
[ "$PHYNBR" = "0" ] && macaddr_add $label_mac 1 > /sys${DEVPATH}/macaddress
[ "$PHYNBR" = "1" ] && macaddr_add $label_mac 2 > /sys${DEVPATH}/macaddress
;;
linksys,mr7350)
linksys,mr7350|\
linksys,mr7500)
label_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
[ "$PHYNBR" = "0" ] && macaddr_add $label_mac 2 > /sys${DEVPATH}/macaddress
[ "$PHYNBR" = "1" ] && macaddr_add $label_mac 3 > /sys${DEVPATH}/macaddress