mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 02:48:18 +00:00
WIFI-14456 CIG WiFi7 WF-189W/H bring up
Signed-off-by: Ken <xshi@actiontec.com>
This commit is contained in:
@@ -14,6 +14,9 @@ sercomm,ap72tip)
|
|||||||
sonicfi,rap7110c-341x)
|
sonicfi,rap7110c-341x)
|
||||||
ucidef_set_led_default "power" "POWER" "pwm:blue" "on"
|
ucidef_set_led_default "power" "POWER" "pwm:blue" "on"
|
||||||
;;
|
;;
|
||||||
|
cig,wf189w)
|
||||||
|
ucidef_set_led_default "power" "POWER" "pwm:blue" "on"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|||||||
@@ -22,10 +22,7 @@ ipq53xx_setup_interfaces()
|
|||||||
ucidef_set_interfaces_lan_wan "" "eth0"
|
ucidef_set_interfaces_lan_wan "" "eth0"
|
||||||
;;
|
;;
|
||||||
cig,wf189w)
|
cig,wf189w)
|
||||||
ucidef_add_switch "switch1"
|
ucidef_add_switch "switch1" "5u@eth0" "3:lan" "2:lan" "1:lan" "4:wan" "0u@eth1"
|
||||||
ucidef_add_switch_attr "switch1" "enable" "false"
|
|
||||||
ucidef_add_switch_attr "switch1" "reset" "false"
|
|
||||||
ucidef_add_switch "switch1" "5u@eth0" "1:lan" "2:lan" "3:lan" "4:wan" "0u@eth1"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -166,6 +166,10 @@
|
|||||||
serial1 = &blsp1_uart1;
|
serial1 = &blsp1_uart1;
|
||||||
ethernet0 = "/soc/dp1";
|
ethernet0 = "/soc/dp1";
|
||||||
ethernet1 = "/soc/dp2";
|
ethernet1 = "/soc/dp2";
|
||||||
|
led-boot = &led_power;
|
||||||
|
led-failsafe = &led_power;
|
||||||
|
led-running = &led_power;
|
||||||
|
led-upgrade = &led_power;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
@@ -254,28 +258,28 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
pwmleds {
|
||||||
compatible = "gpio-leds";
|
compatible = "pwm-leds";
|
||||||
pinctrl-0 = <&gpio_leds_default>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
|
|
||||||
led@29 {
|
red {
|
||||||
label = "led_r";
|
label = "pwm:red";
|
||||||
gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
|
pwms = <&pwm 3 1250000>;
|
||||||
linux,default-trigger = "led_r";
|
max-brightness = <160>;
|
||||||
default-state = "off";
|
linux,default-trigger = "none";
|
||||||
};
|
};
|
||||||
led@30 {
|
|
||||||
label = "led_g";
|
green {
|
||||||
gpios = <&tlmm 30 GPIO_ACTIVE_HIGH>;
|
label = "pwm:green";
|
||||||
linux,default-trigger = "led_g";
|
pwms = <&pwm 2 1250000>;
|
||||||
default-state = "off";
|
max-brightness = <160>;
|
||||||
|
linux,default-trigger = "none";
|
||||||
};
|
};
|
||||||
led@31 {
|
|
||||||
label = "led_b";
|
led_power: blue {
|
||||||
gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
|
label = "pwm:blue";
|
||||||
linux,default-trigger = "led_b";
|
pwms = <&pwm 1 1250000>;
|
||||||
default-state = "off";
|
max-brightness = <160>;
|
||||||
|
linux,default-trigger = "none";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -644,6 +648,27 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pwm_pins: pwm_pinmux {
|
||||||
|
/* PWM LED GREEN */
|
||||||
|
mux_1 {
|
||||||
|
pins = "gpio30";
|
||||||
|
function = "pwm1";
|
||||||
|
drive-strength = <8>;
|
||||||
|
};
|
||||||
|
/* PWM LED BLUE */
|
||||||
|
mux_2 {
|
||||||
|
pins = "gpio31";
|
||||||
|
function = "pwm1";
|
||||||
|
drive-strength = <8>;
|
||||||
|
};
|
||||||
|
/* PWM LED RED */
|
||||||
|
mux_3 {
|
||||||
|
pins = "gpio29";
|
||||||
|
function = "pwm1";
|
||||||
|
drive-strength = <8>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
serial_1_pins: serial1-pinmux {
|
serial_1_pins: serial1-pinmux {
|
||||||
pins = "gpio33", "gpio34", "gpio35", "gpio36";
|
pins = "gpio33", "gpio34", "gpio35", "gpio36";
|
||||||
function = "blsp1_uart2";
|
function = "blsp1_uart2";
|
||||||
@@ -651,26 +676,6 @@
|
|||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_leds_default: gpio-leds-default-state {
|
|
||||||
led_r {
|
|
||||||
pins = "gpio29";
|
|
||||||
function = "gpio";
|
|
||||||
drive-strength = <8>;
|
|
||||||
bias-pull-down;
|
|
||||||
};
|
|
||||||
led_g {
|
|
||||||
pins = "gpio30";
|
|
||||||
function = "gpio";
|
|
||||||
drive-strength = <8>;
|
|
||||||
bias-pull-down;
|
|
||||||
};
|
|
||||||
led_b {
|
|
||||||
pins = "gpio31";
|
|
||||||
function = "gpio";
|
|
||||||
drive-strength = <8>;
|
|
||||||
bias-pull-down;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
button_pins: button-state {
|
button_pins: button-state {
|
||||||
pins = "gpio21";
|
pins = "gpio21";
|
||||||
@@ -713,15 +718,11 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb3 {
|
&pwm {
|
||||||
qcom,select-utmi-as-pipe-clk;
|
pinctrl-0 = <&pwm_pins>;
|
||||||
|
used-pwm-indices = <1>, <1>, <0>, <1>;
|
||||||
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
dwc3@8a00000 {
|
|
||||||
/delete-property/ #phy-cells;
|
|
||||||
/delete-property/ phys;
|
|
||||||
/delete-property/ phy-names;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&hs_m31phy_0 {
|
&hs_m31phy_0 {
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
From 41861d8524e61b1c350f00c67e0ca8534b73d033 Mon Sep 17 00:00:00 2001
|
||||||
|
From: huangyunxiang <huangyunxiang@cigtech.com>
|
||||||
|
Date: Wed, 9 Apr 2025 10:03:52 +0800
|
||||||
|
Subject: [PATCH] qca-ssdk:Fix QCA8385 Maximum support for 4096 VLAN settings
|
||||||
|
|
||||||
|
---
|
||||||
|
include/init/ssdk_plat.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/init/ssdk_plat.h b/init/ssdk_plat.h
|
||||||
|
index 414918a5bd..92596477af 100644
|
||||||
|
--- a/include/init/ssdk_plat.h
|
||||||
|
+++ b/include/init/ssdk_plat.h
|
||||||
|
@@ -174,7 +174,7 @@
|
||||||
|
#define AR8327_NUM_PHYS 5
|
||||||
|
#define AR8327_PORT_CPU 0
|
||||||
|
#define AR8327_NUM_PORTS 7
|
||||||
|
-#define AR8327_MAX_VLANS 128
|
||||||
|
+#define AR8327_MAX_VLANS 4096
|
||||||
|
|
||||||
|
#define MII_PHYADDR_C45 (1<<30)
|
||||||
|
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
@@ -4,10 +4,9 @@ PKG_NAME:=ucentral-schema
|
|||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git
|
PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git
|
||||||
PKG_MIRROR_HASH:=2d824a49bcb7e62f99061d201e8745124ee733f2473bd2c569fb69dfcdf6ab47
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_DATE:=2025-01-27
|
PKG_SOURCE_DATE:=2025-01-27
|
||||||
PKG_SOURCE_VERSION:=0683d041e48c0057f4b2d4fbeeebb6f475b6ecad
|
PKG_SOURCE_VERSION:=e88d964280e03d543eb7d16e4762d43794da7637
|
||||||
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user