diff options
| author | Leonardo Costa <leonardo.costa@toradex.com> | 2026-06-24 13:01:56 -0300 |
|---|---|---|
| committer | Leonardo Costa <leonardo.costa@toradex.com> | 2026-06-25 08:19:42 -0300 |
| commit | fc9d03d61f1d46b4dae56485667eb6af43394689 (patch) | |
| tree | ae426e5b490d899fad403217cfb408a8ac6578c7 | |
| parent | 462606a1f4c921d45d5b0f25e807d281e45caf8c (diff) | |
verdin-am62: Add Mezzanine with Toradex Display 10.1" LVDS V2toradex_ti-linux-6.6.y
Add a device tree overlay enabling the Toradex Capacitive Touch Display
10.1" LVDS V2 on the Verdin Development Board with Verdin AM62 Mezzanine
expansion board. The panel connects via the AM62 OLDI0 on the Mezzanine
LVDS interface (J10). The panel is an Opto Logic SCX1001511GGC49 10.1" WXGA
TFT LCD LVDS and the touch input is provided by an ILITEK ILI251x
capacitive touch controller.
Link: https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds
Related-to: ELB-7054
Signed-off-by: Leonardo Costa <leonardo.costa@toradex.com>
| -rw-r--r-- | overlays/Makefile | 1 | ||||
| -rw-r--r-- | overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds-v2_overlay.dts | 116 |
2 files changed, 117 insertions, 0 deletions
diff --git a/overlays/Makefile b/overlays/Makefile index 5ee9f0c..aee3268 100644 --- a/overlays/Makefile +++ b/overlays/Makefile @@ -37,6 +37,7 @@ dtb-y += verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dtbo dtb-y += verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds-v2_overlay.dtbo dtb-y += verdin-am62_mezzanine_can.dtbo dtb-y += verdin-am62_mezzanine_panel-cap-touch-10inch-lvds_overlay.dtbo +dtb-y += verdin-am62_mezzanine_panel-cap-touch-10inch-lvds-v2_overlay.dtbo dtb-y += verdin-am62_mezzanine_panel-lvds-dual-channel-1080p_overlay.dtbo dtb-y += verdin-am62_nau8822-btl_overlay.dtbo dtb-y += verdin-am62_ov5640-27mhz_overlay.dtbo diff --git a/overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds-v2_overlay.dts b/overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds-v2_overlay.dts new file mode 100644 index 0000000..5909771 --- /dev/null +++ b/overlays/verdin-am62_mezzanine_panel-cap-touch-10inch-lvds-v2_overlay.dts @@ -0,0 +1,116 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) Toradex + * + * Toradex Capacitive Touch Display 10.1" LVDS V2 on the Verdin AM62 Mezzanine + * LVDS interface (J10), used with the Verdin Development Board. + * + * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds + * https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds + */ + +/dts-v1/; +/plugin/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/pwm/pwm.h> + +&{/} { + backlight_pwm2: backlight-pwm2 { + compatible = "pwm-backlight"; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + /* Verdin GPIO_4 (SODIMM 212) - LVDS_BKL_EN */ + enable-gpios = <&mcu_gpio0 4 GPIO_ACTIVE_HIGH>; + /* Verdin PWM_2 (SODIMM 16) - LVDS_PWM */ + pwms = <&epwm0 1 6666667 0>; + }; + + panel-lvds-native { + compatible = "optologic,scx1001511ggc49", "panel-lvds"; + backlight = <&backlight_pwm2>; + data-mapping = "vesa-24"; + height-mm = <136>; + width-mm = <217>; + + panel-timing { + clock-frequency = <64500000>; + hactive = <1280>; + hback-porch = <20>; + hfront-porch = <20>; + hsync-len = <2>; + vactive = <800>; + vback-porch = <5>; + vfront-porch = <5>; + vsync-len = <3>; + de-active = <1>; + hsync-active = <0>; + vsync-active = <0>; + pixelclk-active = <0>; + }; + + port { + panel_lvds_native_in: endpoint { + remote-endpoint = <&oldi0_out>; + }; + }; + }; +}; + +&dss { + status = "okay"; +}; + +&dss_ports { + #address-cells = <1>; + #size-cells = <0>; + + /* DSS VP1: internal DPI output to OLDIx */ + port@0 { + reg = <0>; + + dss0_out: endpoint { + remote-endpoint = <&oldi0_in>; + }; + }; +}; + +/* Verdin I2C_2_DSI */ +&main_i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@41 { + compatible = "ilitek,ili251x"; + reg = <0x41>; + /* Verdin GPIO_3 (SODIMM 210) - LVDS_TOUCH_INT# */ + interrupt-parent = <&mcu_gpio0>; + interrupts = <3 IRQ_TYPE_EDGE_RISING>; + /* Verdin GPIO_2 (SODIMM 208) - LVDS_TOUCH_RST# */ + reset-gpios = <&mcu_gpio0 2 GPIO_ACTIVE_LOW>; + }; +}; + +&oldi0 { + status = "okay"; +}; + +&oldi0_ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + oldi0_in: endpoint { + remote-endpoint = <&dss0_out>; + }; + }; + + port@1 { + reg = <1>; + oldi0_out: endpoint { + remote-endpoint = <&panel_lvds_native_in>; + }; + }; +}; |
