From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 22 Oct 2024 10:36:11 +0000 Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM --- kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi index ce86226..e803a46 100644 --- a/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +++ b/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi @@ -46,8 +46,8 @@ gpios-states = <1>; /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */ - states = <1800000 0 - 3300000 1>; + states = <1800000 0>, + <3300000 1>; regulator-settling-time-up-us = <10000>; regulator-settling-time-down-us = <150000>; @@ -165,10 +165,13 @@ bus-width = <4>; cap-sd-highspeed; - max-frequency = <100000000>; + max-frequency = <50000000>; non-removable; disable-wp; + + /* WiFi firmware requires power to be kept while in suspend */ + keep-power-in-suspend; mmc-pwrseq = <&sdio_pwrseq>; @@ -196,8 +199,7 @@ max-frequency = <100000000>; disable-wp; - cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>; - cd-inverted; + cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>; vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_card>; -- Gitblit v1.6.2