forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 69d6da3c1c63675524a25e7dc92a4f43c4164cef
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
old mode 100644new mode 100755
....@@ -103,7 +103,7 @@
103103
104104 backlight1: backlight1 {
105105 compatible = "pwm-backlight";
106
- pwms = <&pwm5 0 25000 0>;
106
+ pwms = <&pwm6 0 25000 0>;
107107 brightness-levels = <
108108 0 20 20 21 21 22 22 23
109109 23 24 24 25 25 26 26 27
....@@ -182,8 +182,8 @@
182182
183183 leds: leds {
184184 compatible = "gpio-leds";
185
- work_led: work {
186
- gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
185
+ sys_led: sys_led {
186
+ gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
187187 linux,default-trigger = "heartbeat";
188188 };
189189 };
....@@ -308,7 +308,7 @@
308308 regulator-min-microvolt = <3300000>;
309309 regulator-max-microvolt = <3300000>;
310310 enable-active-high;
311
- gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
311
+ gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
312312 vin-supply = <&vcc3v3_sys>;
313313
314314 regulator-state-mem {
....@@ -345,7 +345,7 @@
345345 * - PDN (power down when low)
346346 */
347347 post-power-on-delay-ms = <200>;
348
- reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;
348
+ reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
349349 };
350350
351351 wireless_wlan: wireless-wlan {
....@@ -1398,15 +1398,6 @@
13981398
13991399 &i2c1 {
14001400 status = "okay";
1401
-
1402
- gt1x: gt1x@14 {
1403
- compatible = "goodix,gt1x";
1404
- reg = <0x14>;
1405
- pinctrl-names = "default";
1406
- pinctrl-0 = <&touch_gpio>;
1407
- goodix,rst-gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
1408
- goodix,irq-gpio = <&gpio0 RK_PB5 IRQ_TYPE_LEVEL_LOW>;
1409
- };
14101401 };
14111402
14121403 &i2c5 {
....@@ -1527,7 +1518,7 @@
15271518
15281519 sdio-pwrseq {
15291520 wifi_enable_h: wifi-enable-h {
1530
- rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
1521
+ rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
15311522 };
15321523 };
15331524
....@@ -1579,6 +1570,10 @@
15791570 status = "okay";
15801571 };
15811572
1573
+&pwm6 {
1574
+ status = "okay";
1575
+};
1576
+
15821577 &pwm5 {
15831578 status = "okay";
15841579 };