boards: added touch controller to the /chosen node
This adds zephyr,touch property to boards with touch controllers, analogous to `zephyr,display`. Signed-off-by: Dominik Lau <dlau@internships.antmicro.com> Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
parent
8941a2100c
commit
b38a4ccbdb
24 changed files with 25 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
zephyr,bt-c2h-uart = &uart0;
|
||||
zephyr,display = &ili9340;
|
||||
zephyr,bt-hci = &bt_hci_ipc0;
|
||||
zephyr,touch = &ft5336;
|
||||
};
|
||||
|
||||
/* Main LEDs and buttons are on an I2C TCA9538 GPIO port expander */
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,rtc = &pfc8563_rtc;
|
||||
zephyr,bt-hci = &esp32_bt_hci;
|
||||
zephyr,touch = &ft5336_touch;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
zephyr,console = &lpuart1;
|
||||
zephyr,shell-uart = &lpuart1;
|
||||
zephyr,canbus = &flexcan2;
|
||||
zephyr,touch = &ft5336;
|
||||
};
|
||||
|
||||
sdram0: memory@80000000 {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,display = &st7796s_lcdic;
|
||||
zephyr,touch = &ft7401;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,display = &st7789v;
|
||||
zephyr,touch = &cst816s;
|
||||
};
|
||||
|
||||
aliases {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,display = &lcdc;
|
||||
zephyr,touch = &display_touch;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,display = &ili9340;
|
||||
zephyr,touch = &display_touch;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,display = &adafruit_2_8_tft_touch_v2_ili9340;
|
||||
zephyr,touch = &ft5336_adafruit_2_8_tft_touch_v2;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,display = &ili9340_buydisplay_2_8_tft_touch_arduino;
|
||||
zephyr,touch = &ft5336_buydisplay_2_8_tft_touch_arduino;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,display = &ili9488_buydisplay_3_5_tft_touch_arduino;
|
||||
zephyr,touch = &ft5336_buydisplay_3_5_tft_touch_arduino;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
/{
|
||||
chosen {
|
||||
zephyr,display = &rm67162_g1120b0mipi;
|
||||
zephyr,touch = &ft3267_g1120b0mipi;
|
||||
};
|
||||
|
||||
en_mipi_display_g1120b0mipi: enable-mipi-display {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/{
|
||||
chosen {
|
||||
zephyr,display = &st7796s;
|
||||
zephyr,touch = >911_lcd_par_s035;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/{
|
||||
chosen {
|
||||
zephyr,display = &zephyr_lcdif;
|
||||
zephyr,touch = &ft5336_rk043fn02h_ct;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/{
|
||||
chosen {
|
||||
zephyr,display = &zephyr_lcdif;
|
||||
zephyr,touch = >911_rk043fn66hs_ctg;
|
||||
};
|
||||
|
||||
lvgl_pointer {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/{
|
||||
chosen {
|
||||
zephyr,display = &lcdif;
|
||||
zephyr,touch = >911_rk055hdmipi4m;
|
||||
};
|
||||
|
||||
en_mipi_display: enable-mipi-display {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/{
|
||||
chosen {
|
||||
zephyr,display = &lcdif;
|
||||
zephyr,touch = >911_rk055hdmipi4ma0;
|
||||
};
|
||||
|
||||
en_mipi_display_rk055hdmipi4ma0: enable-mipi-display-rk055hdmipi4ma0 {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,display = &gc9a01_xiao_round_display;
|
||||
zephyr,touch = &chsc6x_xiao_round_display;
|
||||
};
|
||||
|
||||
vbatt {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,ccm = &ccm0;
|
||||
zephyr,display = <dc;
|
||||
zephyr,touch = &stmpe811;
|
||||
};
|
||||
|
||||
sdram2: sdram@d0000000 {
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
zephyr,dtcm = &dtcm;
|
||||
zephyr,flash-controller = &n25q128a1;
|
||||
zephyr,display = <dc;
|
||||
zephyr,touch = &ft5336;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
zephyr,dtcm = &dtcm;
|
||||
zephyr,flash-controller = &n25q128a1;
|
||||
zephyr,display = <dc;
|
||||
zephyr,touch = &ft5336;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,dtcm = &dtcm;
|
||||
zephyr,flash-controller = &mx25l51245g;
|
||||
zephyr,touch = &ft6202;
|
||||
};
|
||||
|
||||
sdram1: sdram@c0000000 {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,display = <dc;
|
||||
zephyr,canbus = &fdcan1;
|
||||
zephyr,touch = &ft5336;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,display = &gc9a01;
|
||||
zephyr,bt-hci = &esp32_bt_hci;
|
||||
zephyr,touch = &cst816s;
|
||||
};
|
||||
|
||||
/* Buttons */
|
||||
|
|
|
|||
2
doc/build/dts/api/api.rst
vendored
2
doc/build/dts/api/api.rst
vendored
|
|
@ -456,3 +456,5 @@ device.
|
|||
* - zephyr,led-strip
|
||||
- A LED-strip node which is used to determine the timings of the
|
||||
WS2812 GPIO driver
|
||||
* - zephyr,touch
|
||||
- touchscreen controller device node.
|
||||
|
|
|
|||
Loading…
Reference in a new issue