hc
2023-11-06 1622ff3442ff6aecc1f538cda437379d1f6a4a93
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 {
....@@ -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 {
....@@ -1579,6 +1570,10 @@
15791570 status = "okay";
15801571 };
15811572
1573
+&pwm6 {
1574
+ status = "okay";
1575
+};
1576
+
15821577 &pwm5 {
15831578 status = "okay";
15841579 };