Skip to contentSkip to conversation

arm64: dts: imx93-var-som-symphony: align DTS with hw revision

PATCH Applied Stefano Radaelli 2 participants 6 messages Dec 5, 2025 – Dec 30, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: imx93-var-som-symphony: align DTS with hw revision

This series adds support for several peripherals available on the Variscite Symphony carrier board for the VAR-SOM-MX93 module.

The patches introduce:

- GPIO aliases cleanup to better expose available GPIOs
- FT5x06 capacitive touch controller
- USB1 (OTG, via PTN5150 Type-C controller) and USB2 (host-only) support
- LPSPI6 controller exposed on the expansion connector

These changes describe real hardware connections and make the exposed interfaces available to user applications.

Tested on the Symphony board with a VAR-SOM-MX93.

Stefano Radaelli (4):
arm64: dts: imx93-var-som-symphony: Update gpio aliases
arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch
controller
arm64: dts: imx93-var-som-symphony: Add USB support
arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller

 .../dts/freescale/imx93-var-som-symphony.dts  | 84 +++++++++++++++++++
 1 file changed, 84 insertions(+)

base-commit: 3f9f0252130e7dd60d41be0802bf58f6471c691d

Signature · 1 line
2.47.3
#1 lore raw

PATCH 1/4 arm64: dts: imx93-var-som-symphony: Update gpio aliases

This patch introduces 2 simple aliases:

Add a gpio3->gpio4 alias to allow flexible access to these GPIOs

Add a gpio4 alias for the PCA9534 GPIO expander.

---
 arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts +2 -0
index c789c1f24bdc..00bdd3b91fdc 100644
@@ -20,6 +20,8 @@ aliases {
 		gpio0 = &gpio1;
 		gpio1 = &gpio2;
 		gpio2 = &gpio3;
+		gpio3 = &gpio4;
+		gpio4 = &pca9534;
 		i2c0 = &lpi2c1;
 		i2c1 = &lpi2c2;
 		i2c2 = &lpi2c3;
Signature · 1 line
2.47.3
#2 lore raw

PATCH 2/4 arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch controller

In reply to Stefano Radaelli

The Symphony carrier board exposes a capacitive touch interface through an FFC/FPC connector. This interface is wired to an FT5x06 touch controller on the I2C bus when using Variscite’s 7-inch capacitive touch display.

This patch adds the FT5x06 device node to describe the actual hardware connection and enables touch functionality on the Symphony board

---
 .../dts/freescale/imx93-var-som-symphony.dts  | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts +21 -0
index 00bdd3b91fdc..39bfbd0428a9 100644
@@ -208,6 +208,21 @@ &lpi2c1 {
 	sda-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
 	status = "okay";
 
+	/* Capacitive touch controller */
+	ft5x06_ts: touchscreen@38 {
+		compatible = "edt,edt-ft5206";
+		reg = <0x38>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_captouch>;
+		interrupt-parent = <&gpio2>;
+		interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
+		touchscreen-size-x = <800>;
+		touchscreen-size-y = <480>;
+		touchscreen-inverted-x;
+		touchscreen-inverted-y;
+		wakeup-source;
+	};
+
 	/* DS1337 RTC module */
 	rtc@68 {
 		compatible = "dallas,ds1337";
@@ -272,6 +287,12 @@ &wdog3 {
 };
 
 &iomuxc {
+	pinctrl_captouch: captouchgrp {
+		fsl,pins = <
+			MX93_PAD_GPIO_IO25__GPIO2_IO25                  0x31e
+		>;
+	};
+
 	pinctrl_fec: fecgrp {
 		fsl,pins = <
 			MX93_PAD_ENET2_RD0__ENET1_RGMII_RD0		0x57e
Signature · 1 line
2.47.3
#3 lore raw

PATCH 3/4 arm64: dts: imx93-var-som-symphony: Add USB support

In reply to Stefano Radaelli

The Symphony carrier board includes a USB Type-C connector on the USB1 port through an NXP PTN5150 Type-C controller connected on the I2C bus. The PTN5150 provides cable orientation detection and role switching information to the USB controller.

This patch adds the PTN5150 node, its interrupt line, the required pin muxing, and wires the controller to the USB1 OTG dual-role device using the USB role-switch framework.

This patch adds also USB2 support, that remains in host-only mode, matching the hardware capabilities of the Symphony board.

---
 .../dts/freescale/imx93-var-som-symphony.dts  | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts +45 -0
index 39bfbd0428a9..ee69d6b268a4 100644
@@ -251,6 +251,22 @@ pca9534: gpio@20 {
 		#gpio-cells = <2>;
 		wakeup-source;
 	};
+
+	/* USB Type-C Controller */
+	ptn5150: typec@3d {
+		compatible = "nxp,ptn5150";
+		reg = <0x3d>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_ptn5150>;
+		interrupt-parent = <&gpio1>;
+		interrupts = <10 IRQ_TYPE_NONE>;
+
+		port {
+			typec1_dr_sw: endpoint {
+				remote-endpoint = <&usb1_drd_sw>;
+			};
+		};
+	};
 };
 
 /* Console */
@@ -267,6 +283,29 @@ &lpuart6 {
 	status = "okay";
 };
 
+&usbotg1 {
+	dr_mode = "otg";
+	hnp-disable;
+	srp-disable;
+	adp-disable;
+	usb-role-switch;
+	samsung,picophy-pre-emp-curr-control = <3>;
+	samsung,picophy-dc-vol-level-adjust = <7>;
+	status = "okay";
+
+	port {
+		usb1_drd_sw: endpoint {
+			remote-endpoint = <&typec1_dr_sw>;
+		};
+	};
+};
+
+&usbotg2 {
+	dr_mode = "host";
+	disable-over-current;
+	status = "okay";
+};
+
 /* SD */
 &usdhc2 {
 	pinctrl-names = "default", "state_100mhz", "state_200mhz";
@@ -351,6 +390,12 @@ MX93_PAD_CCM_CLKO1__GPIO3_IO26		0x31e
 		>;
 	};
 
+	pinctrl_ptn5150: ptn5150grp {
+		fsl,pins = <
+			MX93_PAD_PDM_BIT_STREAM1__GPIO1_IO10            0x31e
+		>;
+	};
+
 	pinctrl_uart1: uart1grp {
 		fsl,pins = <
 			MX93_PAD_UART1_RXD__LPUART1_RX			0x31e
Signature · 1 line
2.47.3
#4 lore raw

PATCH 4/4 arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller

In reply to Stefano Radaelli

Enable the LPSPI6 controller so it can be used by user applications through the board’s expansion connector.

---
 .../dts/freescale/imx93-var-som-symphony.dts     | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts +16 -0
index ee69d6b268a4..c0842fb3cfa3 100644
@@ -276,6 +276,13 @@ &lpuart1 {
 	status = "okay";
 };
 
+&lpspi6 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_lpspi6>;
+	cs-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+	status = "okay";
+};
+
 /* J18.7, J18.9 */
 &lpuart6 {
 	pinctrl-names = "default";
@@ -384,6 +391,15 @@ MX93_PAD_GPIO_IO22__GPIO2_IO22			0x31e
 		>;
 	};
 
+	 pinctrl_lpspi6: lpspi6grp {
+		fsl,pins = <
+			MX93_PAD_GPIO_IO00__GPIO2_IO00                  0x31e
+			MX93_PAD_GPIO_IO01__LPSPI6_SIN                  0x31e
+			MX93_PAD_GPIO_IO02__LPSPI6_SOUT                 0x31e
+			MX93_PAD_GPIO_IO03__LPSPI6_SCK                  0x31e
+		>;
+	};
+
 	pinctrl_pca9534: pca9534grp {
 		fsl,pins = <
 			MX93_PAD_CCM_CLKO1__GPIO3_IO26		0x31e
Signature · 1 line
2.47.3
Applied
#5 lore raw
In reply to Stefano Radaelli
Quoted 13 lines · Stefano Radaelli

This series adds support for several peripherals available on the Variscite Symphony carrier board for the VAR-SOM-MX93 module.

The patches introduce:

- GPIO aliases cleanup to better expose available GPIOs
- FT5x06 capacitive touch controller
- USB1 (OTG, via PTN5150 Type-C controller) and USB2 (host-only) support
- LPSPI6 controller exposed on the expansion connector

These changes describe real hardware connections and make the exposed interfaces available to user applications.

Quoted 8 lines

Tested on the Symphony board with a VAR-SOM-MX93.

Stefano Radaelli (4):
arm64: dts: imx93-var-som-symphony: Update gpio aliases
arm64: dts: imx93-var-som-symphony: Add support for ft5x06 touch
controller
arm64: dts: imx93-var-som-symphony: Add USB support
arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller

Applied all, thanks!