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/rockchip/NK-R36S0.dtsi | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi b/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
index 7443c1f..aabaeba 100755
--- a/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
@@ -90,10 +90,11 @@
};
#endif
+#if 0
leds: leds {
compatible = "gpio-leds";
sig_led: sig_led {
- gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
};
@@ -105,7 +106,7 @@
default-state = "on";
};
};
-
+#endif
ndj_io_init {
compatible = "nk_io_control";
@@ -138,12 +139,12 @@
gpio_num = <&gpio3 RK_PB6 GPIO_ACTIVE_HIGH>; //AX88772_RST_GPIO3_B6_3V3
gpio_function = <3>;
};
-
+/*
hub_host3 {
gpio_num = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; //HOST3_EN_GPIO4_B2_1V8
gpio_function = <0>;
};
-
+*/
wake_4g {
gpio_num = <&gpio1 RK_PB1 GPIO_ACTIVE_LOW>; //4G_WAKEUP_GPIO01_B1_3V3
gpio_function = <0>;
@@ -737,7 +738,12 @@
<0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C2_d_3V3 DI3 18
<0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C3_d_3V3 DI4 19
<0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C5_d_3V3 DI5 21
- <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
+ <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>,
+ <4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>, //sig_led
+ <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>, //err_led
+ <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>, //run_led
+ <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; //HOST3_EN_GPIO4_B2_1V8
+
};
};
};
--
Gitblit v1.6.2