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/rk3568-evb.dtsi | 36 ++++++++++++++++++++++++------------
1 files changed, 24 insertions(+), 12 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
old mode 100644
new mode 100755
index 9a9ff3d..325326a
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
@@ -185,14 +185,26 @@
sound-dai = <&hdmi>;
};
};
-
+/*
leds: leds {
compatible = "gpio-leds";
- sys_led: sys_led {
- gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "heartbeat";
+ run_led: run_led {
+ gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+// linux,default-trigger = "heartbeat";
};
- };
+
+ sig_led: sig_led {
+ gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+
+ err_led: err_led {
+ gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+
+ };*/
pdmics: dummy-codec {
status = "disabled";
@@ -318,7 +330,6 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
- gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
@@ -333,7 +344,6 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
- gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
@@ -362,6 +372,8 @@
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
wifi_chip_type = "ap6398s";
+ clocks = <&rk809 1>;
+ clock-names = "ext_clock";
status = "okay";
};
@@ -398,6 +410,7 @@
&dfi {
status = "okay";
};
+
&dmc {
center-supply = <&vdd_logic>;
@@ -1253,7 +1266,7 @@
};
&i2c1 {
- status = "okay";
+ status = "disabled";
};
&i2c5 {
@@ -1289,7 +1302,6 @@
};
&i2s3_2ch {
- pinctrl-0 = <&i2s3m0_sclk &i2s3m0_lrck &i2s3m0_sdi &i2s3m0_sdo>;
rockchip,bclk-fs = <32>;
status = "disabled";
};
@@ -1431,7 +1443,7 @@
};
&pwm7 {
- status = "okay";
+ status = "disabled";
compatible = "rockchip,remotectl-pwm";
remote_pwm_id = <3>;
@@ -1606,7 +1618,7 @@
};
&spdif_8ch {
- status = "okay";
+ status = "disabled";
};
&tsadc {
@@ -1658,7 +1670,7 @@
};
&usbdrd_dwc3 {
- dr_mode = "otg";
+ dr_mode = "host";
extcon = <&usb2phy0>;
status = "okay";
};
--
Gitblit v1.6.2