lin
2025-03-21 36aaa54056c4f4e150f6ee0636610d9a68470a08
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
....@@ -1001,6 +1001,7 @@
10011001 };
10021002
10031003 sndcodec:sound@0 {
1004
+ noheadphonemic = <1>;
10041005 status = "okay";
10051006 };
10061007
....@@ -1234,11 +1235,11 @@
12341235 keyboard {
12351236 compatible = "allwinner,keyboard_1350mv";
12361237 status = "okay";
1237
- key_cnt = <3>;
1238
+ key_cnt = <1>;
12381239 key0 = <590 KEY_RESERVED>;
12391240 //key0 = <475 0x7372>;
1240
- key1 = <646 0x73>;
1241
- key2 = <897 0x72>;
1241
+ //key1 = <646 0x73>;
1242
+ //key2 = <897 0x72>;
12421243 };
12431244
12441245 wlan: wlan@0 {
....@@ -1407,6 +1408,7 @@
14071408 gpios = <&pio PC 12 1 0 1 0>;
14081409 linux,default_trigger = "default-on";
14091410 };
1411
+
14101412 };
14111413 };
14121414
....@@ -1417,6 +1419,10 @@
14171419 &s_cir0 {
14181420 status = "okay";
14191421
1422
+ pinctrl-names = "default", "sleep";
1423
+ pinctrl-0 = <&s_cir0_pins_a>;
1424
+ pinctrl-1 = <&s_cir0_pins_a>;
1425
+
14201426 s_cir0_used = <1>;
14211427 ir_power_key_code0 = <0x4d>;
14221428 ir_addr_code0 = <0x4040>;
....@@ -1424,7 +1430,7 @@
14241430 ir_addr_code1 = <0x7f80>;
14251431 ir_power_key_code2 = <0x1c>;
14261432 ir_addr_code2 = <0xdf00>;
1427
- //wakeup-source;
1433
+ wakeup-source;
14281434 };
14291435
14301436