From eb6b9ee90f50f13c5abb885ce483802d6262f2b5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 19 Aug 2024 06:54:24 +0000
Subject: [PATCH] 设置 recovery dtb
---
kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi | 29 ++++++++++++++++++++---------
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi b/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi
index 9cad9bf..282038e 100755
--- a/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi
@@ -273,6 +273,11 @@
gpio_function = <0>;
};//4G_PWREN_GPIO3_C7_u_3V3
+ 5g_power {
+ gpio_num =<&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
+ gpio_function = <0>;
+ };
+
wake_wifi_bt {
gpio_num = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
gpio_function = <0>;
@@ -287,6 +292,8 @@
gpio_num = <&gpio2 RK_PC3 GPIO_ACTIVE_LOW>;
gpio_function = <3>;
}; //GPIO2_C3_d_1V8_4G_RESET_N_IN
+
+
};
@@ -365,13 +372,13 @@
};
&backlight {
- pwms = <&pwm10 0 25000 0>;
+ pwms = <&pwm3 0 25000 0>;
status = "okay";
};
&backlight1 {
pwms = <&pwm11 0 25000 0>;
- status = "okay";
+ status = "disabled";
};
&combphy0_ps {
@@ -517,12 +524,12 @@
/* Should work with at least 128MB cma reserved above. */
&hdmirx_ctrler {
- status = "disabled";
+ status = "okay";
#sound-dai-cells = <1>;
/* Effective level used to trigger HPD: 0-low, 1-high */
hpd-trigger-level = <1>;
- hdmirx-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
+ hdmirx-det-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&hdmim1_rx &hdmirx_det>;
};
@@ -840,7 +847,7 @@
phys = <&combphy2_psu PHY_TYPE_PCIE>;
reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;//PCIEX1_1_PERSTn_M1_L
vpcie3v3-supply = <&vcc3v3_pcie30>;
- status = "okay";
+ status = "disabled";
};//M.2 WIFI6
&pcie2x1l0 {
@@ -890,7 +897,7 @@
hdmi {
hdmirx_det: hdmirx-det {
- rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>;
+ rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
@@ -988,8 +995,8 @@
};
};
&pwm3 {
- pinctrl-0 = <&pwm3m1_pins>;
status = "okay";
+ pinctrl-0 = <&pwm3m1_pins>;
};
&route_dsi0 {
@@ -1003,12 +1010,12 @@
};
&pwm10 {
- status = "okay";
+ status = "disabled";
pinctrl-0 = <&pwm10m2_pins>;
};
&pwm11 {
- status = "okay";
+ status = "disabled";
pinctrl-0 = <&pwm11m3_pins>;
};
@@ -1024,6 +1031,10 @@
status = "disabled";
};
+&sata2 {
+ status = "okay";
+};
+
&sdio {
max-frequency = <150000000>;
no-sd;
--
Gitblit v1.6.2