summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlays/Makefile1
-rw-r--r--overlays/toradex-smarc-imx8mp_panel-cap-touch-7inch-dsi_overlay.dts105
2 files changed, 106 insertions, 0 deletions
diff --git a/overlays/Makefile b/overlays/Makefile
index de2770f..25256af 100644
--- a/overlays/Makefile
+++ b/overlays/Makefile
@@ -58,6 +58,7 @@ dtb-y += colibri-imx8x_hmp_overlay.dtbo
dtb-y += toradex-smarc-imx8mp_dsi-to-hdmi_overlay.dtbo
dtb-y += toradex-smarc-imx8mp_panel-cap-touch-10inch-dsi_overlay.dtbo
dtb-y += toradex-smarc-imx8mp_panel-cap-touch-10inch-lvds_overlay.dtbo
+dtb-y += toradex-smarc-imx8mp_panel-cap-touch-7inch-dsi_overlay.dtbo
dtb-y += toradex-smarc-imx8mp_spi0-cs0_spidev_overlay.dtbo
dtb-y += toradex-smarc-imx8mp_spi0-cs1_spidev_overlay.dtbo
dtb-y += toradex-smarc-imx8mp_spi1-cs0_spidev_overlay.dtbo
diff --git a/overlays/toradex-smarc-imx8mp_panel-cap-touch-7inch-dsi_overlay.dts b/overlays/toradex-smarc-imx8mp_panel-cap-touch-7inch-dsi_overlay.dts
new file mode 100644
index 0000000..1c1e51a
--- /dev/null
+++ b/overlays/toradex-smarc-imx8mp_panel-cap-touch-7inch-dsi_overlay.dts
@@ -0,0 +1,105 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright (C) 2025 Toradex
+ *
+ * Capacitive Touch Display 7" DSI.
+ *
+ * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-7inch-dsi
+ * https://www.toradex.com/accessories/capacitive-touch-display-7-inch-dsi
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pwm/pwm.h>
+
+#include "display-rvt70hslnwca0_overlay.dtsi"
+#include "toradex-smarc_backlight-lcd1_overlay.dtsi"
+
+/ {
+ compatible = "toradex,smarc-imx8mp";
+};
+
+/* I2C on DSI Connector Pins 52/54 */
+&i2c_dsi_1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ bridge@2c {
+ compatible = "ti,sn65dsi83";
+ reg = <0x2c>;
+ /* SMARC LCD1_BKLT_EN */
+ enable-gpios = <&som_gpio_expander 7 GPIO_ACTIVE_HIGH>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ dsi_lvds_bridge_in: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&mipi_dsi_bridge1_out>;
+ };
+ };
+
+ port@2 {
+ reg = <2>;
+
+ dsi_lvds_bridge_out: endpoint {
+ remote-endpoint = <&panel_in_rvt70hslnwca0>;
+ };
+ };
+ };
+ };
+
+ touch@41 {
+ compatible = "ilitek,ili2132";
+ reg = <0x41>;
+ /* SMARC GPIO8 */
+ interrupt-parent = <&gpio1>;
+ interrupts = <1 IRQ_TYPE_EDGE_RISING>;
+ };
+};
+
+&lcdif1 {
+ status = "okay";
+};
+
+&lvds_dsi_mux_hog {
+ /* LVDS_DSI_SEL as DSI */
+ output-low;
+};
+
+&mipi_dsi {
+ samsung,esc-clock-frequency = <16000000>;
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+
+ mipi_dsi_bridge1_out: endpoint {
+ attach-bridge;
+ remote-endpoint = <&dsi_lvds_bridge_in>;
+ };
+ };
+ };
+};
+
+&panel_rvt70hslnwca0 {
+ backlight = <&backlight_lcd1>;
+
+ port {
+ panel_in_rvt70hslnwca0: endpoint {
+ remote-endpoint = <&dsi_lvds_bridge_out>;
+ };
+ };
+};