[Letux-kernel] [PATCH letux] ARM: dts: omap: add gta04b2 via overlay
Andreas Kemnade
andreas at kemnade.info
Mon Feb 23 18:36:48 CET 2026
Add The GTA04A4B2 as an overlay. It gets auto-merged
and can so both used with existing setups as also dealed with
separately.
Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
There seems to be some trouble with Letux 3704 on 7.0-rc1
it does not cleanly boot, GTA04A5 does. The same dtb works
with 6.19
arch/arm/boot/dts/ti/omap/Makefile | 5 +
arch/arm/boot/dts/ti/omap/omap3-gta04b2.dtso | 109 +++++++++++++++++++
2 files changed, 114 insertions(+)
create mode 100644 arch/arm/boot/dts/ti/omap/omap3-gta04b2.dtso
diff --git a/arch/arm/boot/dts/ti/omap/Makefile b/arch/arm/boot/dts/ti/omap/Makefile
index 3f54b515c471..501e6dc52e44 100644
--- a/arch/arm/boot/dts/ti/omap/Makefile
+++ b/arch/arm/boot/dts/ti/omap/Makefile
@@ -30,6 +30,8 @@ dtb-$(CONFIG_ARCH_OMAP3) += \
omap3-evm-37xx.dtb \
omap3-gta04a3.dtb \
omap3-gta04a4.dtb \
+ omap3-gta04b2.dtbo \
+ omap3-gta04a4+b2.dtb \
omap3-gta04a5.dtb \
omap3-gta04a5one.dtb \
omap3-ha.dtb \
@@ -67,6 +69,9 @@ dtb-$(CONFIG_ARCH_OMAP3) += \
omap3-sniper.dtb \
omap3-thunder.dtb \
omap3-zoom3.dtb
+
+omap3-gta04a4+b2-dtbs := omap3-gta04a4.dtb omap3-gta04b2.dtbo
+
dtb-$(CONFIG_ARCH_OMAP4) += \
omap4-droid-bionic-xt875.dtb \
omap4-droid4-xt894.dtb \
diff --git a/arch/arm/boot/dts/ti/omap/omap3-gta04b2.dtso b/arch/arm/boot/dts/ti/omap/omap3-gta04b2.dtso
new file mode 100644
index 000000000000..ab1e33ca3e5e
--- /dev/null
+++ b/arch/arm/boot/dts/ti/omap/omap3-gta04b2.dtso
@@ -0,0 +1,109 @@
+/*
+ * Copyright (C) 2014 H. Nikolaus Schaller <hns at goldelico.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+&{/} {
+ model = "Goldelico GTA04b2/Letux 3704";
+
+ aliases {
+ display0 = <&lcd_dpi>;
+ };
+
+ lcd_dpi: lcd-dpi {
+ compatible = "ortustech,com37h3m05dtc",
+ "ortustech,com37h3m99dtc",
+ "panel-dpi";
+ label = "lcd";
+ enable-gpios = <&gpio1 20 0>;
+ backlight = <&backlight>;
+
+ port {
+ lcd_dpi_in: endpoint {
+ remote-endpoint = <&dpi_out>;
+ };
+ };
+ };
+};
+
+&spi_lcd {
+ status = "disabled";
+};
+
+&dpi_out {
+ remote-endpoint = <&lcd_dpi_in>;
+};
+
+/* FIXME: add optional TRF7970 */
+/*
+&bat {
+ battery-name = "Letux-7004-battery";
+ energy-full-design-microwatt-hours = <14430000>;
+ charge-full-design-microamp-hours = <3900000>;
+};
+*/
+
+&tca6507 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ gta04_led0: led at 0 {
+ compatible = "led";
+ label = "gta04:red:aux";
+ reg = <0x0>;
+ };
+
+ gta04_led1: led at 1 {
+ compatible = "led";
+ label = "gta04:green:power";
+ linux,default-trigger = "default-on";
+ reg = <0x1>;
+ };
+
+ gta04_led3: led at 3 {
+ reg = <7>;
+ };
+
+ gta04_led4: led at 4 {
+ reg = <7>;
+ };
+
+ wifi_reset: led at 6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */
+ reg = <0x6>;
+ compatible = "gpio";
+ };
+
+};
+
+&i2c2 {
+ /* touchscreen */
+ tsc2007 at 48 {
+ compatible = "ti,tsc2007";
+ pinctrl-names = "default";
+ pinctrl-0 = <&penirq_pins>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+ gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* gpio160 */
+ ti,x-plate-ohms = <450>;
+ touchscreen-min-x = <190>;
+ touchscreen-min-y = <140>;
+ touchscreen-size-x = <3900>;
+ touchscreen-size-y = <3900>;
+ touchscreen-max-pressure = <1000>;
+ touchscreen-fuzz-x = <2>;
+ touchscreen-fuzz-y = <2>;
+ touchscreen-fuzz-pressure = <10>;
+ ti,max-rt = <1000>;
+ };
+
+};
+
--
2.47.3
More information about the Letux-kernel
mailing list