forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-24 2b26ab132d1b33b91c84c6d732456200e8c5ee77
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,29 +345,18 @@
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 {
352352 compatible = "wlan-platdata";
353353 rockchip,grf = <&grf>;
354354 wifi_chip_type = "ap6398s";
355
- status = "okay";
355
+ status = "disabled";
356356 };
357357
358358 wireless_bluetooth: wireless-bluetooth {
359
- compatible = "bluetooth-platdata";
360
- clocks = <&rk809 1>;
361
- clock-names = "ext_clock";
362
- //wifi-bt-power-toggle;
363
- uart_rts_gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
364
- pinctrl-names = "default", "rts_gpio";
365
- pinctrl-0 = <&uart8m0_rtsn>;
366
- pinctrl-1 = <&uart8_gpios>;
367
- BT,reset_gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>;
368
- BT,wake_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
369
- BT,wake_host_irq = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>;
370
- status = "okay";
359
+ status = "disabled";
371360 };
372361
373362 test-power {
....@@ -1398,15 +1387,6 @@
13981387
13991388 &i2c1 {
14001389 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
- };
14101390 };
14111391
14121392 &i2c5 {
....@@ -1527,7 +1507,7 @@
15271507
15281508 sdio-pwrseq {
15291509 wifi_enable_h: wifi-enable-h {
1530
- rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
1510
+ rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
15311511 };
15321512 };
15331513
....@@ -1541,11 +1521,6 @@
15411521 };
15421522 };
15431523
1544
- wireless-bluetooth {
1545
- uart8_gpios: uart8-gpios {
1546
- rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
1547
- };
1548
- };
15491524 };
15501525
15511526 /*
....@@ -1579,12 +1554,16 @@
15791554 status = "okay";
15801555 };
15811556
1557
+&pwm6 {
1558
+ status = "okay";
1559
+};
1560
+
15821561 &pwm5 {
15831562 status = "okay";
15841563 };
15851564
15861565 &pwm7 {
1587
- status = "okay";
1566
+ status = "disabled";
15881567
15891568 compatible = "rockchip,remotectl-pwm";
15901569 remote_pwm_id = <3>;
....@@ -1808,7 +1787,7 @@
18081787 };
18091788
18101789 &usbdrd_dwc3 {
1811
- dr_mode = "otg";
1790
+ dr_mode = "host";
18121791 extcon = <&usb2phy0>;
18131792 status = "okay";
18141793 };