mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 02:48:18 +00:00
Support dual image and fix reset button does not work issue
Signed-off-by: mike_ding <mike_ding@sdc.sercomm.com>
This commit is contained in:
@@ -132,6 +132,8 @@ platform_do_upgrade() {
|
|||||||
|
|
||||||
board=$(board_name)
|
board=$(board_name)
|
||||||
case $board in
|
case $board in
|
||||||
|
sercomm,ap72tip-v4|\
|
||||||
|
sercomm,ap72tip|\
|
||||||
cig,wf189w|\
|
cig,wf189w|\
|
||||||
cig,wf189h|\
|
cig,wf189h|\
|
||||||
cig,wf189)
|
cig,wf189)
|
||||||
@@ -171,10 +173,6 @@ platform_do_upgrade() {
|
|||||||
sonicfi_dualimage_check
|
sonicfi_dualimage_check
|
||||||
nand_upgrade_tar "$1"
|
nand_upgrade_tar "$1"
|
||||||
;;
|
;;
|
||||||
sercomm,ap72tip-v4|\
|
|
||||||
sercomm,ap72tip)
|
|
||||||
nand_upgrade_tar "$1"
|
|
||||||
;;
|
|
||||||
zyxel,nwa130be)
|
zyxel,nwa130be)
|
||||||
nand_upgrade_tar "$1"
|
nand_upgrade_tar "$1"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "ipq5332-default-memory.dtsi"
|
#include "ipq5332-default-memory.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Sercomm WiFi-7";
|
model = "Sercomm AP72TIP-v4";
|
||||||
compatible = "sercomm,ap72tip-v4", "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332";
|
compatible = "sercomm,ap72tip-v4", "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "ipq5332-default-memory.dtsi"
|
#include "ipq5332-default-memory.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Sercomm WiFi-7";
|
model = "Sercomm AP72TIP";
|
||||||
compatible = "sercomm,ap72tip", "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332";
|
compatible = "sercomm,ap72tip", "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
@@ -255,7 +255,7 @@
|
|||||||
gpios = <&tca6416 14 GPIO_ACTIVE_HIGH>;
|
gpios = <&tca6416 14 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
pinctrl-0 = <&button_pins>;
|
pinctrl-0 = <&button_pins>;
|
||||||
@@ -263,11 +263,11 @@
|
|||||||
button@1 {
|
button@1 {
|
||||||
label = "rst";
|
label = "rst";
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
|
||||||
linux,input-type = <1>;
|
linux,input-type = <1>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
};*/
|
};
|
||||||
|
|
||||||
wsi: wsi {
|
wsi: wsi {
|
||||||
id = <0>;
|
id = <0>;
|
||||||
@@ -546,13 +546,13 @@
|
|||||||
drive-strength = <8>;
|
drive-strength = <8>;
|
||||||
bias-pull-down;
|
bias-pull-down;
|
||||||
};*/
|
};*/
|
||||||
/*
|
|
||||||
button_pins: button-state {
|
button_pins: button-state {
|
||||||
pins = "gpio25";
|
pins = "gpio1";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
drive-strength = <8>;
|
drive-strength = <8>;
|
||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};*/
|
};
|
||||||
|
|
||||||
pwm_pins: pwm-state {
|
pwm_pins: pwm-state {
|
||||||
pins = "gpio46";
|
pins = "gpio46";
|
||||||
|
|||||||
Reference in New Issue
Block a user