Hey.
I have a beer machine running on a A13-SOM-512 board. I'm trying to install a newer linux version on it, and it seems to go fine, but I'm having a lot of trouble getting the capacitive touch panel to work (the display itself seems to work just fine). The touch panel is using a goodix gt911 chip.
The old installation uses a "script.fex" file, and I'm trying to make the new installation work with the dtb tree.
I'm editing the dts file directly, since I had trouble getting overlays to work.
I'm attaching the dts file below.
If I understand correctly, I should be able to get some data using "cat /dev/input/event0", and touching the screen - but I so far I only get a "mice" in /dev/input.
I've compiled the kernel using the instructions:
git clone https://github.com/olimex/build -b olimex-dev
cd build
touch .ignore_changes
./compile.sh BRANCH=next BOARD=olimex-som-a13 KERNEL_ONLY=no KERNEL_CONFIGURE=yes CLEAN_LEVEL="make,debs,alldebs,images" RELEASE=stretch BUILD_KSRC=no NO_APT_CACHER=yes BUILD_DESKTOP=no
and enabling the goodix touch panel driver as a module.
I can load the module fine without any errors, but I just don't get any event0...
Please help.
I'm attaching various log below
Note - in the script.fex, the pin for the interrupt is shown as PG12 - but tracing the circuit board that teh A13-SOM is connected to, the actual pin that the panel interrupt is connected to, is PG11. Reset is still PC3, and scl and sda is PB17/18.
Here's the original script.fex file:
[product]
version = "1.0"
machine = "A13-EVB-V1.0"
[target]
boot_clock = 1008
dcdc2_vol = 1400
dcdc3_vol = 1200
ldo2_vol = 3000
ldo3_vol = 3300
ldo4_vol = 3300
pll4_freq = 960
pll6_freq = 720
[card_boot]
logical_start = 40960
sprite_gpio0 =
[card_boot0_para]
card_ctrl = 0
card_high_speed = 1
card_line = 4
sdc_d1 = port:PF00<2><1><default><default>
sdc_d0 = port:PF01<2><1><default><default>
sdc_clk = port:PF02<2><1><default><default>
sdc_cmd = port:PF03<2><1><default><default>
sdc_d3 = port:PF04<2><1><default><default>
sdc_d2 = port:PF05<2><1><default><default>
[twi_para]
twi_port = 0
twi_scl = port:PB00<2><1><default><default>
twi_sda = port:PB01<2><1><default><default>
[uart_para]
uart_debug_port = 1
uart_debug_tx = port:PG03<4><1><default><default>
uart_debug_rx = port:PG04<4><1><default><default>
[jtag_para]
jtag_enable = 0
jtag_ms = port:PF00<4><1><default><default>
jtag_ck = port:PF05<4><1><default><default>
jtag_do = port:PF03<4><1><default><default>
jtag_di = port:PF01<4><1><default><default>
[dram_para]
dram_baseaddr = 0x40000000
dram_clk = 408
dram_type = 3
dram_rank_num = 1
dram_chip_density = 4096
dram_io_width = 16
dram_bus_width = 16
dram_cas = 9
dram_zq = 0x7b
dram_odt_en = 0
dram_size = 512
dram_tpr0 = 0x42d899b7
dram_tpr1 = 0xa090
dram_tpr2 = 0x22a00
dram_tpr3 = 0x0
dram_tpr4 = 0x0
dram_tpr5 = 0x0
dram_emr1 = 0x0
dram_emr2 = 0x10
dram_emr3 = 0x0
[nand_para]
nand_used = 1
nand_we = port:PC00<2><default><default><default>
nand_ale = port:PC01<2><default><default><default>
nand_cle = port:PC02<2><default><default><default>
nand_ce1 = port:PC03<2><default><default><default>
nand_ce0 = port:PC04<2><default><default><default>
nand_nre = port:PC05<2><default><default><default>
nand_rb0 = port:PC06<2><default><default><default>
nand_rb1 = port:PC07<2><default><default><default>
nand_d0 = port:PC08<2><default><default><default>
nand_d1 = port:PC09<2><default><default><default>
nand_d2 = port:PC10<2><default><default><default>
nand_d3 = port:PC11<2><default><default><default>
nand_d4 = port:PC12<2><default><default><default>
nand_d5 = port:PC13<2><default><default><default>
nand_d6 = port:PC14<2><default><default><default>
nand_d7 = port:PC15<2><default><default><default>
nand_wp =
nand_ce2 =
nand_ce3 =
nand_ce4 =
nand_ce5 =
nand_ce6 =
nand_ce7 =
nand_spi =
nand_ndqs = port:PC19<2><default><default><default>
[mali_para]
mali_used = 1
mali_clkdiv = 1
[twi0_para]
twi0_used = 1
twi0_scl = port:PB00<2><default><default><default>
twi0_sda = port:PB01<2><default><default><default>
[twi1_para]
twi1_used = 0
twi1_scl = port:PB15<2><default><default><default>
twi1_sda = port:PB16<2><default><default><default>
[twi2_para]
twi2_used = 1
twi2_scl = port:PB17<2><default><default><default>
twi2_sda = port:PB18<2><default><default><default>
[uart_para0]
uart_used = 0
uart_port = 0
uart_type = 2
uart_tx = port:PB19<2><1><default><default>
uart_rx = port:PB20<2><1><default><default>
[uart_para1]
uart_used = 1
uart_port = 1
uart_type = 2
uart_tx = port:PG03<4><1><default><default>
uart_rx = port:PG04<4><1><default><default>
[uart_para3]
uart_used = 1
uart_port = 2
uart_type = 2
uart_tx = port:PG09<3><1><default><default>
uart_rx = port:PG10<3><1><default><default>
[spi1_para]
spi_used = 0
spi_cs0 = port:PG09<2><default><default><default>
spi_cs1 = port:PG13<2><default><default><default>
spi_sclk = port:PG10<2><default><default><default>
spi_mosi = port:PG11<2><default><default><default>
spi_miso = port:PG12<2><default><default><default>
[spi2_para]
spi_used = 1
spi_cs0 = port:PE00<4><default><default><default>
spi_sclk = port:PE01<4><default><default><default>
spi_mosi = port:PE02<4><default><default><default>
spi_miso = port:PE03<4><default><default><default>
[spi_devices]
spi_dev_num = 1
[spi_board0]
modalias = "spidev"
max_speed_hz = 1000000
bus_num = 2
chip_select = 0
mode = 3
full_duplex = 0
manual_cs = 0
[rtp_para]
rtp_used = 0
rtp_screen_size = 5
rtp_regidity_level = 5
rtp_press_threshold_enable = 0
rtp_press_threshold = 0x1f40
rtp_sensitive_level = 0xf
rtp_exchange_x_y_flag = 0
[ctp_para]
ctp_used = 1
ctp_name = "Goodix-TS"
ctp_twi_id = 2
ctp_twi_addr = 0x14
ctp_screen_max_x = 800
ctp_screen_max_y = 480
ctp_revert_x_flag = 0
ctp_revert_y_flag = 0
ctp_exchange_x_y_flag = 0
ctp_int_port = port:PG12<6><default><default><default>
ctp_wakeup =
ctp_io_port =
rst_port = port:PC03<1><1><default><default>
[tkey_para]
tkey_used = 0
tkey_name = "hv_keypad"
tkey_twi_id = 2
tkey_twi_addr = 0x62
tkey_int =
[motor_para]
motor_used = 0
motor_shake =
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 5
screen1_output_type = 1
screen1_output_mode = 5
fb0_framebuffer_num = 2
fb0_format = 9
fb0_pixel_sequence = 2
fb0_scaler_mode_enable = 0
fb1_framebuffer_num = 2
fb1_format = 9
fb1_pixel_sequence = 2
fb1_scaler_mode_enable = 0
lcd0_backlight = 5
lcd0_bright = 50
lcd0_saturation = 50
lcd0_hue = 50
[lcd0_para]
lcd_used = 1
lcd_x = 480
lcd_y = 272
lcd_dclk_freq = 9
lcd_pwm_not_used = 0
lcd_pwm_ch = 0
lcd_pwm_freq = 10000
lcd_pwm_pol = 1
lcd_if = 0
lcd_hbp = 40
lcd_ht = 525
lcd_vbp = 8
lcd_vt = 576
lcd_hv_if = 0
lcd_hv_smode = 0
lcd_hv_s888_if = 0
lcd_hv_syuv_if = 0
lcd_hv_vspw = 5
lcd_hv_hspw = 30
lcd_lvds_ch = 0
lcd_lvds_mode = 0
lcd_lvds_bitwidth = 0
lcd_lvds_io_cross = 0
lcd_cpu_if = 0
lcd_frm = 1
lcd_io_cfg0 = 268435456
lcd_gamma_correction_en = 0
lcd_gamma_tbl_0 = 0x0
lcd_gamma_tbl_1 = 0x10101
lcd_gamma_tbl_255 = 0xffffff
lcd_bl_en_used = 1
lcd_bl_en = port:power1<1><0><default><1>
lcd_power_used = 0
lcd_power = port:PB10<1><0><default><1>
lcd_pwm_used = 1
lcd_pwm = port:PB02<2><0><default><default>
lcd_gpio_0 =
lcd_gpio_1 =
lcd_gpio_2 =
lcd_gpio_3 =
lcdd0 = port:PD00<2><0><default><default>
lcdd1 = port:PD01<2><0><default><default>
lcdd2 = port:PD02<2><0><default><default>
lcdd3 = port:PD03<2><0><default><default>
lcdd4 = port:PD04<2><0><default><default>
lcdd5 = port:PD05<2><0><default><default>
lcdd6 = port:PD06<2><0><default><default>
lcdd7 = port:PD07<2><0><default><default>
lcdd8 = port:PD08<2><0><default><default>
lcdd9 = port:PD09<2><0><default><default>
lcdd10 = port:PD10<2><0><default><default>
lcdd11 = port:PD11<2><0><default><default>
lcdd12 = port:PD12<2><0><default><default>
lcdd13 = port:PD13<2><0><default><default>
lcdd14 = port:PD14<2><0><default><default>
lcdd15 = port:PD15<2><0><default><default>
lcdd16 = port:PD16<2><0><default><default>
lcdd17 = port:PD17<2><0><default><default>
lcdd18 = port:PD18<2><0><default><default>
lcdd19 = port:PD19<2><0><default><default>
lcdd20 = port:PD20<2><0><default><default>
lcdd21 = port:PD21<2><0><default><default>
lcdd22 = port:PD22<2><0><default><default>
lcdd23 = port:PD23<2><0><default><default>
lcdclk = port:PD24<2><0><default><default>
lcdde = port:PD25<2><0><default><default>
lcdhsync = port:PD26<2><0><default><default>
lcdvsync = port:PD27<2><0><default><default>
[tv_out_dac_para]
dac_used = 1
dac0_src = 0
[hdmi_para]
hdmi_used = 0
[csi0_para]
csi_used = 0
csi_mode = 0
csi_dev_qty = 1
csi_stby_mode = 1
csi_mname = "gc0308"
csi_twi_id = 2
csi_twi_addr = 0x42
csi_if = 0
csi_vflip = 0
csi_hflip = 1
csi_iovdd = ""
csi_avdd = ""
csi_dvdd = ""
csi_flash_pol = 1
csi_mname_b = ""
csi_twi_id_b = 1
csi_twi_addr_b = 0x78
csi_if_b = 0
csi_vflip_b = 1
csi_hflip_b = 0
csi_iovdd_b = ""
csi_avdd_b = ""
csi_dvdd_b = ""
csi_flash_pol_b = 1
csi_pck = port:PE00<3><default><default><default>
csi_ck = port:PE01<3><default><default><default>
csi_hsync = port:PE02<3><default><default><default>
csi_vsync = port:PE03<3><default><default><default>
csi_d0 = port:PE04<3><default><default><default>
csi_d1 = port:PE05<3><default><default><default>
csi_d2 = port:PE06<3><default><default><default>
csi_d3 = port:PE07<3><default><default><default>
csi_d4 = port:PE08<3><default><default><default>
csi_d5 = port:PE09<3><default><default><default>
csi_d6 = port:PE10<3><default><default><default>
csi_d7 = port:PE11<3><default><default><default>
csi_reset = port:power3<1><default><default><0>
csi_power_en =
csi_stby = port:PB10<1><default><default><1>
csi_flash =
csi_af_en =
csi_reset_b =
csi_power_en_b =
csi_stby_b =
csi_flash_b =
csi_af_en_b =
[csi1_para]
csi_used = 0
csi_mode = 0
csi_dev_qty = 1
csi_stby_mode = 1
csi_mname = ""
csi_twi_id = 1
csi_twi_addr = 0xba
csi_if = 0
csi_vflip = 0
csi_hflip = 0
csi_iovdd = ""
csi_avdd = ""
csi_dvdd = ""
csi_flash_pol = 1
csi_mname_b = ""
csi_twi_id_b = 1
csi_twi_addr_b = 0x78
csi_if_b = 0
csi_vflip_b = 1
csi_hflip_b = 0
csi_iovdd_b = ""
csi_avdd_b = ""
csi_dvdd_b = ""
csi_flash_pol_b = 1
csi_reset =
csi_power_en =
csi_stby =
csi_flash =
csi_af_en =
csi_reset_b =
csi_power_en_b =
csi_stby_b =
csi_flash_b =
csi_af_en_b =
[mmc0_para]
sdc_used = 1
sdc_detmode = 3
bus_width = 4
sdc_d1 = port:PF00<2><1><2><default>
sdc_d0 = port:PF01<2><1><2><default>
sdc_clk = port:PF02<2><1><2><default>
sdc_cmd = port:PF03<2><1><2><default>
sdc_d3 = port:PF04<2><1><2><default>
sdc_d2 = port:PF05<2><1><2><default>
sdc_det = port:PG00<0><0><default><default>
sdc_use_wp = 0
sdc_wp =
[mmc1_para]
sdc_used = 0
sdc_detmode =
bus_width =
sdc_cmd =
sdc_clk =
sdc_d0 =
sdc_d1 =
sdc_d2 =
sdc_d3 =
sdc_det =
sdc_use_wp =
sdc_wp =
[mmc2_para]
sdc_used = 0
sdc_detmode = 3
bus_width = 4
sdc_cmd = port:PE08<4><1><2><default>
sdc_clk = port:PE09<4><1><2><default>
sdc_d0 = port:PE04<4><1><2><default>
sdc_d1 = port:PE05<4><1><2><default>
sdc_d2 = port:PE06<4><1><2><default>
sdc_d3 = port:PE07<4><1><2><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
[ms_para]
ms_used = 0
ms_bs =
ms_clk =
ms_d0 =
ms_d1 =
ms_d2 =
ms_d3 =
ms_det =
[keypad_para]
kp_used = 0
kp_in_size =
kp_out_size =
kp_in0 =
kp_in1 =
kp_in2 =
kp_in3 =
kp_in4 =
kp_in5 =
kp_in6 =
kp_in7 =
kp_out0 =
kp_out1 =
kp_out2 =
kp_out3 =
kp_out4 =
kp_out5 =
kp_out6 =
kp_out7 =
[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 1
usb_id_gpio = port:PG02<0><1><default><default>
usb_det_vbus_gpio = port:PG01<0><0><default><default>
usb_drv_vbus_gpio = port:PG13<1><0><default><0>
usb_host_init_state = 1
[usbc1]
usb_used = 1
usb_port_type = 1
usb_detect_type = 0
usb_id_gpio =
usb_det_vbus_gpio =
usb_drv_vbus_gpio = port:PG05<1><0><default><0>
usb_host_init_state = 1
[usb_feature]
vendor_id = 6353
mass_storage_id = 1
adb_id = 2
manufacturer_name = "USB Developer"
product_name = "Android"
serial_number = "20080411"
[msc_feature]
vendor_name = "USB 2.0"
product_name = "USB Flash Driver"
release = 100
luns = 3
[gsensor_para]
gsensor_used = 0
gsensor_name = "bma222"
gsensor_twi_id = 1
gsensor_twi_addr = 0x18
gsensor_int1 =
gsensor_int2 =
[gps_para]
gps_used = 0
gps_spi_id =
gps_spi_cs_num =
gps_lradc =
gps_clk =
gps_sign =
gps_mag =
gps_vcc_en =
gps_osc_en =
gps_rx_en =
[sdio_wifi_para]
sdio_wifi_used = 0
sdio_wifi_sdc_id =
sdio_wifi_mod_sel =
[usb_wifi_para]
usb_wifi_used = 1
usb_wifi_usbc_num = 1
[3g_para]
3g_used = 0
3g_name =
3g_usbc_num =
3g_on_off =
3g_reset =
3g_poweron =
3g_wakeup_out =
3g_wakeup_in =
[gy_para]
gy_used = 0
gy_twi_id = 1
gy_twi_addr = 0
gy_int1 =
gy_int2 =
[ls_para]
ls_used = 0
ls_name = "ltr501als"
ls_twi_id = 1
ls_twi_addr =
ls_int =
[compass_para]
compass_used = 0
compass_twi_id =
compass_twi_addr =
compass_int =
[bt_para]
bt_used = 0
bt_uart_id =
bt_mod_type =
[i2s_para]
i2s_used = 0
i2s_channel =
i2s_mclk =
i2s_bclk =
i2s_lrclk =
i2s_dout0 =
i2s_dout1 =
i2s_dout2 =
i2s_dout3 =
i2s_din =
[spdif_para]
spdif_used = 0
spdif_mclk =
spdif_dout =
spdif_din =
[audio_para]
audio_used = 1
capture_used = 1
playback_used = 1
audio_lr_change = 0
[ir_para]
ir_used = 0
ir0_rx = port:PB04<2><default><default><default>
[rtc_para]
rtc_used = 1
rtc_name = "pcf8563"
rtc_twi_id = 0
rtc_twi_addr = 81
[pmu_para]
pmu_used = 0
pmu_twi_addr = 52
pmu_twi_id = 0
pmu_irq_id = 0
pmu_battery_rdc = 200
pmu_battery_cap = 2600
pmu_init_chgcur = 300
pmu_earlysuspend_chgcur = 600
pmu_suspend_chgcur = 1000
pmu_resume_chgcur = 300
pmu_shutdown_chgcur = 1000
pmu_init_chgvol = 4200
pmu_init_chgend_rate = 15
pmu_init_chg_enabled = 1
pmu_init_adc_freq = 100
pmu_init_adc_freqc = 100
pmu_init_chg_pretime = 50
pmu_init_chg_csttime = 720
pmu_bat_para1 = 0
pmu_bat_para2 = 0
pmu_bat_para3 = 1
pmu_bat_para4 = 5
pmu_bat_para5 = 7
pmu_bat_para6 = 13
pmu_bat_para7 = 16
pmu_bat_para8 = 26
pmu_bat_para9 = 36
pmu_bat_para10 = 46
pmu_bat_para11 = 53
pmu_bat_para12 = 61
pmu_bat_para13 = 73
pmu_bat_para14 = 84
pmu_bat_para15 = 92
pmu_bat_para16 = 100
pmu_usbvol = 4000
pmu_usbcur = 0
pmu_usbvol_pc = 4000
pmu_usbcur_pc = 0
pmu_pwroff_vol = 3300
pmu_pwron_vol = 2900
pmu_pekoff_time = 6000
pmu_pekoff_en = 1
pmu_peklong_time = 1500
pmu_pekon_time = 1000
pmu_pwrok_time = 64
pmu_pwrnoe_time = 2000
pmu_intotp_en = 1
pmu_used2 = 0
pmu_adpdet =
pmu_init_chgcur2 = 400
pmu_earlysuspend_chgcur2 = 600
pmu_suspend_chgcur2 = 1200
pmu_resume_chgcur2 = 400
pmu_shutdown_chgcur2 = 1200
pmu_suspendpwroff_vol = 3500
pmu_batdeten = 1
[recovery_key]
key_min = 4
key_max = 6
[gpio_para]
gpio_used = 1
gpio_num = 8
gpio_pin_1 = port:PB03<1><default><default><1>
gpio_pin_2 = port:PB15<0><default><default><default>
gpio_pin_3 = port:PB04<1><default><default><1>
gpio_pin_4 = port:PB16<1><default><default><0>
gpio_pin_5 = port:PB02<1><default><default><default>
gpio_pin_6 = port:PE09<1><default><default><1>
gpio_pin_7 = port:PB10<1><default><default><1>
gpio_pin_8 = port:PC07<1><default><default><1>
[gpio_init]
pin_3 = port:PB04<1><default><default><1>
pin_7 = port:PB10<1><default><default><1>
pin_8 = port:PC07<1><default><default><1>
[pwm0_para]
pwm_used = 0
pwm_period = 10000
pwm_duty_percent = 99
[leds_para]
leds_used = 0
leds_num = 1
leds_pin_1 = port:PG09<1><default><default><0>
leds_name_1 = "green:pg09:led1"
leds_default_1 = 0
leds_trigger_1 = "heartbeat"
Here's my current dts file - I've modified it under pinctrl@1c20800 and under i2c@1c2b400:
Due to constraints I'm reducing it a bit, to show mostly the edited stuff.
/dts-v1/;
/ {
interrupt-parent = <0x1>;
#address-cells = <0x1>;
#size-cells = <0x1>;
model = "Olimex A13-Olinuxino Micro";
compatible = "olimex,a13-olinuxino-micro", "allwinner,sun5i-a13";
soc {
compatible = "simple-bus";
#address-cells = <0x1>;
#size-cells = <0x1>;
ranges;
system-control@1c00000 {
compatible = "allwinner,sun5i-a13-system-control";
reg = <0x1c00000 0x30>;
#address-cells = <0x1>;
#size-cells = <0x1>;
ranges;
interrupt-controller@1c20400 {
compatible = "allwinner,sun4i-a10-ic";
reg = <0x1c20400 0x400>;
interrupt-controller;
#interrupt-cells = <0x1>;
phandle = <0x1>;
};
gpio: pinctrl@1c20800 {
reg = <0x1c20800 0x400>;
interrupts = <0x1c>;
clocks = <0x2 0x35 0x14 0x15>;
clock-names = "apb", "hosc", "losc";
gpio-controller;
interrupt-controller;
#interrupt-cells = <0x3>;
#gpio-cells = <0x3>;
compatible = "allwinner,sun5i-a13-pinctrl";
phandle = <0xd>;
emac-pd-pins {
pins = "PD6", "PD7", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD18", "PD19", "PD20", "PD21", "PD22", "PD23", "PD24", "PD25", "PD26", "PD27";
function = "emac";
phandle = <0x3a>;
};
i2c0-pins {
pins = "PB0", "PB1";
function = "i2c0";
phandle = <0x17>;
};
i2c1-pins {
pins = "PB15", "PB16";
function = "i2c1";
phandle = <0x18>;
};
i2c2-pins {
pins = "PB17", "PB18";
function = "i2c2";
phandle = <0x19>;
};
gt911_irq_pin: gt911_irq_pin {
pins = "PG11";
function = "gpio_in";
pull = <1>;
phandle = <0x61>;
};
gt911_reset_pin: gt911_reset_pin {
pins = "PC3";
function = "gpio_out";
pull = <1>;
phandle = <0x62>;
};
uart3-pg-pins {
pins = "PG9", "PG10";
function = "uart3";
phandle = <0x47>;
};
uart3-cts-rts-pg-pins {
pins = "PG11", "PG12";
function = "uart3";
phandle = <0x48>;
};
;
usb0-id-detect-pin {
pins = "PG2";
function = "gpio_in";
bias-pull-up;
phandle = <0x10>;
};
usb0-vbus-detect-pin {
pins = "PG1";
function = "gpio_in";
bias-pull-down;
phandle = <0x11>;
};
};
rtp@1c25000 {
compatible = "allwinner,sun5i-a13-ts";
reg = <0x1c25000 0x100>;
interrupts = <0x1d>;
#thermal-sensor-cells = <0x0>;
allwinner,ts-attached;
touchscreen-inverted-x;
phandle = <0x1e>;
};
i2c@1c2ac00 {
compatible = "allwinner,sun4i-a10-i2c";
reg = <0x1c2ac00 0x400>;
interrupts = <0x7>;
clocks = <0x2 0x38>;
pinctrl-names = "default";
pinctrl-0 = <0x17>;
status = "okay";
#address-cells = <0x1>;
#size-cells = <0x0>;
phandle = <0x52>;
};
i2c@1c2b000 {
compatible = "allwinner,sun4i-a10-i2c";
reg = <0x1c2b000 0x400>;
interrupts = <0x8>;
clocks = <0x2 0x39>;
pinctrl-names = "default";
pinctrl-0 = <0x18>;
status = "okay";
#address-cells = <0x1>;
#size-cells = <0x0>;
phandle = <0x53>;
};
i2c@1c2b400 {
compatible = "allwinner,sun4i-a10-i2c";
reg = <0x1c2b400 0x400>;
interrupts = <0x9>;
clocks = <0x2 0x3a>;
pinctrl-names = "default";
pinctrl-0 = <0x19>;
status = "okay";
#address-cells = <0x1>;
#size-cells = <0x0>;
phandle = <0x54>;
gt911: gt911@14 {
compatible = "goodix, gt911";
reg = <0x14>;
pinctrl-names = "default";
// pinctrl-0 = <>911_irq_pin>, <>911_reset_pin>; //<0x61>, <0x62>
interrupt-parent = <&gpio>;
interrupts = <6 11 2>;
irq-gpios = <&gpio 6 11 2>;
reset-gpios = <&gpio 2 3 0>;
};
};
and finaly the dmesg, also slightly cut down.:
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.105363] pinctrl core: initialized pinctrl subsystem
[ 0.105743] reg-dummy reg-dummy: no of_node; not parsing pinctrl DT
[ 0.503610] sun5i-pinctrl 1c20800.pinctrl: try to register 76 pins ...
[ 0.503625] pinctrl core: registered pin 32 (PB0) on 1c20800.pinctrl
.....pinctrl core: registered pin 33-36, 42, 48-50,64-79, 83, 98-103, 106-111, 114-123, 128-139, 160-165, 192-196, 201-204 on 1c20800.pinctrl
[ 0.503973] pinctrl core: registered pin 204 (PG12) on 1c20800.pinctrl
[ 0.503986] sun5i-pinctrl 1c20800.pinctrl: no hogs found
[ 0.505624] sun5i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.506891] pinctrl core: add 1 pinctrl maps
[ 0.506918] sun5i-pinctrl 1c20800.pinctrl: found group selector 2 for PB2
[ 0.506934] sun5i-pinctrl 1c20800.pinctrl: request pin 34 (PB2) for 1c20e00.pwm
[ 0.507006] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.507108] sun5i-pinctrl 1c20800.pinctrl: Linked as a consumer to regulator.0
[ 0.507617] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.507696] pwm-backlight backlight: Linked as a consumer to regulator.0
[ 0.555857] pinctrl core: add 2 pinctrl maps
[ 0.555887] sun5i-pinctrl 1c20800.pinctrl: found group selector 70 for PG3
[ 0.555898] sun5i-pinctrl 1c20800.pinctrl: found group selector 71 for PG4
[ 0.555912] sun5i-pinctrl 1c20800.pinctrl: request pin 195 (PG3) for 1c28400.serial
[ 0.555990] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 0.556096] sun5i-pinctrl 1c20800.pinctrl: request pin 196 (PG4) for 1c28400.serial
[ 0.578397] pinctrl core: add 22 pinctrl maps
[ 0.578430] sun5i-pinctrl 1c20800.pinctrl: found group selector 27 for PD2
[ 0.578440] sun5i-pinctrl 1c20800.pinctrl: found group selector 28 for PD3
[ 0.578450] sun5i-pinctrl 1c20800.pinctrl: found group selector 29 for PD4
[ 0.578459] sun5i-pinctrl 1c20800.pinctrl: found group selector 30 for PD5
[ 0.578467] sun5i-pinctrl 1c20800.pinctrl: found group selector 31 for PD6
[ 0.578476] sun5i-pinctrl 1c20800.pinctrl: found group selector 32 for PD7
[ 0.578490] sun5i-pinctrl 1c20800.pinctrl: found group selector 33 for PD10
[ 0.578500] sun5i-pinctrl 1c20800.pinctrl: found group selector 34 for PD11
[ 0.578509] sun5i-pinctrl 1c20800.pinctrl: found group selector 35 for PD12
[ 0.578519] sun5i-pinctrl 1c20800.pinctrl: found group selector 36 for PD13
[ 0.578528] sun5i-pinctrl 1c20800.pinctrl: found group selector 37 for PD14
[ 0.578538] sun5i-pinctrl 1c20800.pinctrl: found group selector 38 for PD15
[ 0.578548] sun5i-pinctrl 1c20800.pinctrl: found group selector 39 for PD18
[ 0.578557] sun5i-pinctrl 1c20800.pinctrl: found group selector 40 for PD19
[ 0.578567] sun5i-pinctrl 1c20800.pinctrl: found group selector 41 for PD20
[ 0.578577] sun5i-pinctrl 1c20800.pinctrl: found group selector 42 for PD21
[ 0.578587] sun5i-pinctrl 1c20800.pinctrl: found group selector 43 for PD22
[ 0.578598] sun5i-pinctrl 1c20800.pinctrl: found group selector 44 for PD23
[ 0.578608] sun5i-pinctrl 1c20800.pinctrl: found group selector 45 for PD24
[ 0.578618] sun5i-pinctrl 1c20800.pinctrl: found group selector 46 for PD25
[ 0.578628] sun5i-pinctrl 1c20800.pinctrl: found group selector 47 for PD26
[ 0.578639] sun5i-pinctrl 1c20800.pinctrl: found group selector 48 for PD27
[ 0.578652] sun5i-pinctrl 1c20800.pinctrl: request pin 98 (PD2) for 1c0c000.lcd-controller
[ 0.578722] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[ 0.578809] sun5i-pinctrl 1c20800.pinctrl: request pin 99 (PD3) for 1c0c000.lcd-controller
[ 0.578821] sun5i-pinctrl 1c20800.pinctrl: request pin 100 (PD4) for 1c0c000.lcd-controller
[ 0.578830] sun5i-pinctrl 1c20800.pinctrl: request pin 101 (PD5) for 1c0c000.lcd-controller
[ 0.578840] sun5i-pinctrl 1c20800.pinctrl: request pin 102 (PD6) for 1c0c000.lcd-controller
[ 0.578849] sun5i-pinctrl 1c20800.pinctrl: request pin 103 (PD7) for 1c0c000.lcd-controller
[ 0.578858] sun5i-pinctrl 1c20800.pinctrl: request pin 106 (PD10) for 1c0c000.lcd-controller
[ 0.578867] sun5i-pinctrl 1c20800.pinctrl: request pin 107 (PD11) for 1c0c000.lcd-controller
[ 0.578877] sun5i-pinctrl 1c20800.pinctrl: request pin 108 (PD12) for 1c0c000.lcd-controller
[ 0.578887] sun5i-pinctrl 1c20800.pinctrl: request pin 109 (PD13) for 1c0c000.lcd-controller
[ 0.578896] sun5i-pinctrl 1c20800.pinctrl: request pin 110 (PD14) for 1c0c000.lcd-controller
[ 0.578906] sun5i-pinctrl 1c20800.pinctrl: request pin 111 (PD15) for 1c0c000.lcd-controller
[ 0.578916] sun5i-pinctrl 1c20800.pinctrl: request pin 114 (PD18) for 1c0c000.lcd-controller
[ 0.578926] sun5i-pinctrl 1c20800.pinctrl: request pin 115 (PD19) for 1c0c000.lcd-controller
[ 0.578935] sun5i-pinctrl 1c20800.pinctrl: request pin 116 (PD20) for 1c0c000.lcd-controller
[ 0.578945] sun5i-pinctrl 1c20800.pinctrl: request pin 117 (PD21) for 1c0c000.lcd-controller
[ 0.578954] sun5i-pinctrl 1c20800.pinctrl: request pin 118 (PD22) for 1c0c000.lcd-controller
[ 0.578964] sun5i-pinctrl 1c20800.pinctrl: request pin 119 (PD23) for 1c0c000.lcd-controller
[ 0.578974] sun5i-pinctrl 1c20800.pinctrl: request pin 120 (PD24) for 1c0c000.lcd-controller
[ 0.578984] sun5i-pinctrl 1c20800.pinctrl: request pin 121 (PD25) for 1c0c000.lcd-controller
[ 0.578994] sun5i-pinctrl 1c20800.pinctrl: request pin 122 (PD26) for 1c0c000.lcd-controller
[ 0.579004] sun5i-pinctrl 1c20800.pinctrl: request pin 123 (PD27) for 1c0c000.lcd-controller
[ 0.581587] panel-simple panel: panel supply power not found, using dummy regulator
[ 0.581666] panel-simple panel: Linked as a consumer to regulator.0
[ 0.581721] sun5i-pinctrl 1c20800.pinctrl: request pin 42 (PB10) for 1c20800.pinctrl:42
[ 0.584860] mousedev: PS/2 mouse device common for all mice
[ 0.585402] i2c /dev entries driver
[ 0.585538] pinctrl core: add 2 pinctrl maps
[ 0.585565] sun5i-pinctrl 1c20800.pinctrl: found group selector 0 for PB0
[ 0.585573] sun5i-pinctrl 1c20800.pinctrl: found group selector 1 for PB1
[ 0.585587] sun5i-pinctrl 1c20800.pinctrl: request pin 32 (PB0) for 1c2ac00.i2c
[ 0.585599] sun5i-pinctrl 1c20800.pinctrl: request pin 33 (PB1) for 1c2ac00.i2c
[ 0.586181] pinctrl core: add 2 pinctrl maps
[ 0.586202] sun5i-pinctrl 1c20800.pinctrl: found group selector 6 for PB15
[ 0.586210] sun5i-pinctrl 1c20800.pinctrl: found group selector 7 for PB16
[ 0.586221] sun5i-pinctrl 1c20800.pinctrl: request pin 47 (PB15) for 1c2b000.i2c
[ 0.586232] sun5i-pinctrl 1c20800.pinctrl: request pin 48 (PB16) for 1c2b000.i2c
[ 0.586850] pinctrl core: add 2 pinctrl maps
[ 0.586872] sun5i-pinctrl 1c20800.pinctrl: found group selector 8 for PB17
[ 0.586881] sun5i-pinctrl 1c20800.pinctrl: found group selector 9 for PB18
[ 0.586892] sun5i-pinctrl 1c20800.pinctrl: request pin 49 (PB17) for 1c2b400.i2c
[ 0.586903] sun5i-pinctrl 1c20800.pinctrl: request pin 50 (PB18) for 1c2b400.i2c
[ 0.588461] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 0.588877] cpufreq-dt cpufreq-dt: no of_node; not parsing pinctrl DT
[ 0.590015] pinctrl core: add 12 pinctrl maps
[ 0.590051] sun5i-pinctrl 1c20800.pinctrl: found group selector 61 for PF0
[ 0.590061] sun5i-pinctrl 1c20800.pinctrl: found group selector 61 for PF0
[ 0.590073] sun5i-pinctrl 1c20800.pinctrl: found group selector 62 for PF1
[ 0.590083] sun5i-pinctrl 1c20800.pinctrl: found group selector 62 for PF1
[ 0.590093] sun5i-pinctrl 1c20800.pinctrl: found group selector 63 for PF2
[ 0.590102] sun5i-pinctrl 1c20800.pinctrl: found group selector 63 for PF2
[ 0.590113] sun5i-pinctrl 1c20800.pinctrl: found group selector 64 for PF3
[ 0.590122] sun5i-pinctrl 1c20800.pinctrl: found group selector 64 for PF3
[ 0.590132] sun5i-pinctrl 1c20800.pinctrl: found group selector 65 for PF4
[ 0.590141] sun5i-pinctrl 1c20800.pinctrl: found group selector 65 for PF4
[ 0.590152] sun5i-pinctrl 1c20800.pinctrl: found group selector 66 for PF5
[ 0.590161] sun5i-pinctrl 1c20800.pinctrl: found group selector 66 for PF5
[ 0.590174] sun5i-pinctrl 1c20800.pinctrl: request pin 160 (PF0) for 1c0f000.mmc
[ 0.590251] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 0.590356] sun5i-pinctrl 1c20800.pinctrl: request pin 161 (PF1) for 1c0f000.mmc
[ 0.590370] sun5i-pinctrl 1c20800.pinctrl: request pin 162 (PF2) for 1c0f000.mmc
[ 0.590382] sun5i-pinctrl 1c20800.pinctrl: request pin 163 (PF3) for 1c0f000.mmc
[ 0.590394] sun5i-pinctrl 1c20800.pinctrl: request pin 164 (PF4) for 1c0f000.mmc
[ 0.590405] sun5i-pinctrl 1c20800.pinctrl: request pin 165 (PF5) for 1c0f000.mmc
[ 0.590559] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[ 0.591722] sun5i-pinctrl 1c20800.pinctrl: request pin 192 (PG0) for 1c20800.pinctrl:192
[ 0.591753] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 0.617166] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl: request IRQ for GPIO 192, return 0
[ 0.617416] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 0.617846] pinctrl core: add 2 pinctrl maps
[ 0.617879] sun5i-pinctrl 1c20800.pinctrl: found group selector 72 for PG9
[ 0.617889] sun5i-pinctrl 1c20800.pinctrl: found group selector 72 for PG9
[ 0.617904] sun5i-pinctrl 1c20800.pinctrl: request pin 201 (PG9) for leds
[ 0.618014] sun5i-pinctrl 1c20800.pinctrl: request pin 201 (PG9) for 1c20800.pinctrl:201
[ 0.655922] usbcore: registered new interface driver usbhid
[ 0.655929] usbhid: USB HID core driver
[ 0.672827] sun5i-pinctrl 1c20800.pinctrl: request pin 204 (PG12) for 1c20800.pinctrl:204
[ 0.673325] sun5i-pinctrl 1c20800.pinctrl: request pin 83 (PC19) for 1c20800.pinctrl:83
[ 0.673407] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.673806] pinctrl core: add 2 pinctrl maps
[ 0.673827] pinctrl core: add 2 pinctrl maps
[ 0.673861] sun5i-pinctrl 1c20800.pinctrl: found group selector 69 for PG2
[ 0.673872] sun5i-pinctrl 1c20800.pinctrl: found group selector 69 for PG2
[ 0.673883] sun5i-pinctrl 1c20800.pinctrl: found group selector 68 for PG1
[ 0.673893] sun5i-pinctrl 1c20800.pinctrl: found group selector 68 for PG1
[ 0.673906] sun5i-pinctrl 1c20800.pinctrl: request pin 194 (PG2) for 1c13400.phy
[ 0.673923] sun5i-pinctrl 1c20800.pinctrl: request pin 193 (PG1) for 1c13400.phy
[ 0.674051] sun5i-pinctrl 1c20800.pinctrl: request pin 194 (PG2) for 1c20800.pinctrl:194
[ 0.674094] sun5i-pinctrl 1c20800.pinctrl: request pin 193 (PG1) for 1c20800.pinctrl:193
[ 0.674378] sun4i-usb-phy 1c13400.phy: Linked as a consumer to regulator.4
[ 0.674573] sun4i-usb-phy 1c13400.phy: Linked as a consumer to regulator.5
[ 0.674689] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl: request IRQ for GPIO 194, return 2
[ 0.674767] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl: request IRQ for GPIO 193, return 1
[ 0.675225] pinctrl core: add 22 pinctrl maps
[ 0.675258] sun5i-pinctrl 1c20800.pinctrl: found group selector 27 for PD2
[ 0.675269] sun5i-pinctrl 1c20800.pinctrl: found group selector 28 for PD3
[ 0.675278] sun5i-pinctrl 1c20800.pinctrl: found group selector 29 for PD4
[ 0.675287] sun5i-pinctrl 1c20800.pinctrl: found group selector 30 for PD5
[ 0.675296] sun5i-pinctrl 1c20800.pinctrl: found group selector 31 for PD6
[ 0.675305] sun5i-pinctrl 1c20800.pinctrl: found group selector 32 for PD7
[ 0.675314] sun5i-pinctrl 1c20800.pinctrl: found group selector 33 for PD10
[ 0.675324] sun5i-pinctrl 1c20800.pinctrl: found group selector 34 for PD11
[ 0.675333] sun5i-pinctrl 1c20800.pinctrl: found group selector 35 for PD12
[ 0.675342] sun5i-pinctrl 1c20800.pinctrl: found group selector 36 for PD13
[ 0.675352] sun5i-pinctrl 1c20800.pinctrl: found group selector 37 for PD14
[ 0.675362] sun5i-pinctrl 1c20800.pinctrl: found group selector 38 for PD15
[ 0.675371] sun5i-pinctrl 1c20800.pinctrl: found group selector 39 for PD18
[ 0.675381] sun5i-pinctrl 1c20800.pinctrl: found group selector 40 for PD19
[ 0.675399] sun5i-pinctrl 1c20800.pinctrl: found group selector 41 for PD20
[ 0.675410] sun5i-pinctrl 1c20800.pinctrl: found group selector 42 for PD21
[ 0.675420] sun5i-pinctrl 1c20800.pinctrl: found group selector 43 for PD22
[ 0.675430] sun5i-pinctrl 1c20800.pinctrl: found group selector 44 for PD23
[ 0.675440] sun5i-pinctrl 1c20800.pinctrl: found group selector 45 for PD24
[ 0.675450] sun5i-pinctrl 1c20800.pinctrl: found group selector 46 for PD25
[ 0.675461] sun5i-pinctrl 1c20800.pinctrl: found group selector 47 for PD26
[ 0.675471] sun5i-pinctrl 1c20800.pinctrl: found group selector 48 for PD27
[ 0.675484] sun5i-pinctrl 1c20800.pinctrl: request pin 98 (PD2) for 1c0c000.lcd-controller
[ 0.675548] sun5i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[ 0.675656] sun5i-pinctrl 1c20800.pinctrl: request pin 99 (PD3) for 1c0c000.lcd-controller
[ 0.675668] sun5i-pinctrl 1c20800.pinctrl: request pin 100 (PD4) for 1c0c000.lcd-controller
[ 0.675677] sun5i-pinctrl 1c20800.pinctrl: request pin 101 (PD5) for 1c0c000.lcd-controller
[ 0.675687] sun5i-pinctrl 1c20800.pinctrl: request pin 102 (PD6) for 1c0c000.lcd-controller
[ 0.675696] sun5i-pinctrl 1c20800.pinctrl: request pin 103 (PD7) for 1c0c000.lcd-controller
[ 0.675705] sun5i-pinctrl 1c20800.pinctrl: request pin 106 (PD10) for 1c0c000.lcd-controller
[ 0.675715] sun5i-pinctrl 1c20800.pinctrl: request pin 107 (PD11) for 1c0c000.lcd-controller
[ 0.675724] sun5i-pinctrl 1c20800.pinctrl: request pin 108 (PD12) for 1c0c000.lcd-controller
[ 0.675734] sun5i-pinctrl 1c20800.pinctrl: request pin 109 (PD13) for 1c0c000.lcd-controller
[ 0.675743] sun5i-pinctrl 1c20800.pinctrl: request pin 110 (PD14) for 1c0c000.lcd-controller
[ 0.675753] sun5i-pinctrl 1c20800.pinctrl: request pin 111 (PD15) for 1c0c000.lcd-controller
[ 0.675763] sun5i-pinctrl 1c20800.pinctrl: request pin 114 (PD18) for 1c0c000.lcd-controller
[ 0.675773] sun5i-pinctrl 1c20800.pinctrl: request pin 115 (PD19) for 1c0c000.lcd-controller
[ 0.675783] sun5i-pinctrl 1c20800.pinctrl: request pin 116 (PD20) for 1c0c000.lcd-controller
[ 0.675792] sun5i-pinctrl 1c20800.pinctrl: request pin 117 (PD21) for 1c0c000.lcd-controller
[ 0.675802] sun5i-pinctrl 1c20800.pinctrl: request pin 118 (PD22) for 1c0c000.lcd-controller
[ 0.675812] sun5i-pinctrl 1c20800.pinctrl: request pin 119 (PD23) for 1c0c000.lcd-controller
[ 0.675822] sun5i-pinctrl 1c20800.pinctrl: request pin 120 (PD24) for 1c0c000.lcd-controller
[ 0.675832] sun5i-pinctrl 1c20800.pinctrl: request pin 121 (PD25) for 1c0c000.lcd-controller
[ 0.675842] sun5i-pinctrl 1c20800.pinctrl: request pin 122 (PD26) for 1c0c000.lcd-controller
[ 0.675852] sun5i-pinctrl 1c20800.pinctrl: request pin 123 (PD27) for 1c0c000.lcd-controller