1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Supports Symphony evaluation board versions >= 1.4a.
5 * Copyright 2019-2020 Variscite Ltd.
6 * Copyright (C) 2020 Krzysztof Kozlowski <krzk@kernel.org>
11 #include <dt-bindings/usb/pd.h>
12 #include "imx8mn-var-som.dtsi"
15 model = "Variscite VAR-SOM-MX8MN Symphony evaluation board";
16 compatible = "variscite,var-som-mx8mn-symphony", "variscite,var-som-mx8mn", "fsl,imx8mn";
18 reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
19 compatible = "regulator-fixed";
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
22 regulator-name = "VSD_3V3";
23 regulator-min-microvolt = <3300000>;
24 regulator-max-microvolt = <3300000>;
25 gpio = <&gpio4 22 GPIO_ACTIVE_HIGH>;
30 compatible = "gpio-keys";
34 gpios = <&pca9534 1 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_BACK>;
40 gpios = <&pca9534 2 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_HOME>;
46 gpios = <&pca9534 3 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_MENU>;
52 compatible = "gpio-leds";
56 gpios = <&pca9534 0 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "heartbeat";
63 reset-gpios = <&pca9534 5 GPIO_ACTIVE_HIGH>;
67 clock-frequency = <400000>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_i2c2>;
73 compatible = "nxp,pca9534";
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_pca9534>;
78 interrupt-parent = <&gpio1>;
79 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
83 /* USB 3.0 OTG (usbotg1) / SATA port switch, set to USB 3.0 */
86 gpios = <4 GPIO_ACTIVE_HIGH>;
88 line-name = "usb3_sata_sel";
93 gpios = <6 GPIO_ACTIVE_HIGH>;
95 line-name = "som_vselect";
100 gpios = <7 GPIO_ACTIVE_HIGH>;
102 line-name = "enet_sel";
107 * For Symphony board version <= 1.4, the PTN5150 IRQ pin is connected
108 * to GPIO1_IO11 on the SoM (R106 present, R132 absent). From Symphony
109 * board version >= 1.4a, the PTN5150 ID pin is connected to GPIO1_IO11
110 * on the SoM (R106 absent, R132 present).
112 extcon_usbotg1: typec@3d {
113 compatible = "nxp,ptn5150";
115 interrupt-parent = <&gpio1>;
116 interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&pinctrl_ptn5150>;
122 typec1_dr_sw: endpoint {
123 remote-endpoint = <&usb1_drd_sw>;
130 /* Capacitive touch controller */
131 ft5x06_ts: touchscreen@38 {
132 compatible = "edt,edt-ft5406";
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_captouch>;
136 interrupt-parent = <&gpio5>;
137 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
139 touchscreen-size-x = <800>;
140 touchscreen-size-y = <480>;
141 touchscreen-inverted-x;
142 touchscreen-inverted-y;
146 compatible = "dallas,ds1337";
153 pinctrl-names = "default";
154 pinctrl-0 = <&pinctrl_uart1>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_uart3>;
171 disable-over-current;
172 samsung,picophy-pre-emp-curr-control = <3>;
173 samsung,picophy-dc-vol-level-adjust = <7>;
177 usb1_drd_sw: endpoint {
178 remote-endpoint = <&typec1_dr_sw>;
184 pinctrl_captouch: captouchgrp {
186 MX8MN_IOMUXC_SPDIF_RX_GPIO5_IO4 0x16
190 pinctrl_i2c2: i2c2grp {
192 MX8MN_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3
193 MX8MN_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3
197 pinctrl_pca9534: pca9534grp {
199 MX8MN_IOMUXC_GPIO1_IO07_GPIO1_IO7 0x16
203 pinctrl_ptn5150: ptn5150grp {
205 MX8MN_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x16
209 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
211 MX8MN_IOMUXC_SAI2_RXC_GPIO4_IO22 0x41
215 pinctrl_uart1: uart1grp {
217 MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140
218 MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140
222 pinctrl_uart3: uart3grp {
224 MX8MN_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140
225 MX8MN_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140