T113-S3适配GT9xx触摸
-
&twi1 { clock-frequency = <400000>; pinctrl-0 = <&twi1_pins_a>; pinctrl-1 = <&twi1_pins_b>; pinctrl-names = "default", "sleep"; status = "okay"; ctp@5d { compatible = "allwinner,goodix"; device_type = "ctp"; reg = <0x5d>; status = "okay"; ctp_name = "gt9xxnew_ts"; ctp_twi_id = <0x1>; ctp_twi_addr = <0x5d>; ctp_screen_max_x = <0x1E0>; ctp_screen_max_y = <0x1E0>; ctp_revert_x_flag = <0x0>; ctp_revert_y_flag = <0x0>; ctp_exchange_x_y_flag = <0x0>; ctp_int_port = <&pio PE 5 GPIO_ACTIVE_HIGH>; ctp_wakeup = <&pio PE 4 GPIO_ACTIVE_HIGH>; }; }
开启触摸驱动后,并且根据原理图使用了twi1,但是启动时候报错了,如果插上屏幕会导致串口中断,启动不起来,上面报错是将屏幕FPC拆下来看到的。
-
@nathanliu DTS中PE4 PE5 IO占用了?
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号