huangcm
2024-10-12 802402a809d86fa522f3e9d0f8a1727d73d441cb
longan/device/config/chips/a133/configs/c3/board.dts
....@@ -301,7 +301,7 @@
301301 ctp_revert_x_flag = <0x1>;
302302 ctp_revert_y_flag = <0x1>;
303303 ctp_exchange_x_y_flag = <0x0>;
304
- ctp_int_port = <&pio PE 3 3 0xffffffff 0xffffffff 0>;
304
+ ctp_int_port = <&pio PE 3 6 0xffffffff 0xffffffff 0>;
305305 ctp_wakeup = <&pio PE 4 1 0xffffffff 0xffffffff 1>;
306306 ctp_power_ldo = <3300>;
307307 ctp_power_ldo_vol = <3300>;
....@@ -388,7 +388,7 @@
388388 interrupt-parent = <&pio>;
389389 interrupts = <PB 8 IRQ_TYPE_LEVEL_LOW>;
390390 status = "okay";
391
- //wakeup-source;
391
+ wakeup-source;
392392 };
393393 };
394394
....@@ -1234,11 +1234,11 @@
12341234 keyboard {
12351235 compatible = "allwinner,keyboard_1350mv";
12361236 status = "okay";
1237
- key_cnt = <3>;
1237
+ key_cnt = <1>;
12381238 key0 = <590 KEY_RESERVED>;
12391239 //key0 = <475 0x7372>;
1240
- key1 = <646 0x73>;
1241
- key2 = <897 0x72>;
1240
+ //key1 = <646 0x73>;
1241
+ //key2 = <897 0x72>;
12421242 };
12431243
12441244 wlan: wlan@0 {
....@@ -1407,6 +1407,7 @@
14071407 gpios = <&pio PC 12 1 0 1 0>;
14081408 linux,default_trigger = "default-on";
14091409 };
1410
+
14101411 };
14111412 };
14121413
....@@ -1417,6 +1418,10 @@
14171418 &s_cir0 {
14181419 status = "okay";
14191420
1421
+ pinctrl-names = "default", "sleep";
1422
+ pinctrl-0 = <&s_cir0_pins_a>;
1423
+ pinctrl-1 = <&s_cir0_pins_a>;
1424
+
14201425 s_cir0_used = <1>;
14211426 ir_power_key_code0 = <0x4d>;
14221427 ir_addr_code0 = <0x4040>;
....@@ -1424,7 +1429,7 @@
14241429 ir_addr_code1 = <0x7f80>;
14251430 ir_power_key_code2 = <0x1c>;
14261431 ir_addr_code2 = <0xdf00>;
1427
- //wakeup-source;
1432
+ wakeup-source;
14281433 };
14291434
14301435