1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 // Copyright 2019 Armadeus Systems <support@armadeus.com>
10 backlight: backlight {
11 compatible = "pwm-backlight";
12 pwms = <&pwm3 0 191000>;
13 brightness-levels = <0 4 8 16 32 64 128 255>;
14 default-brightness-level = <7>;
15 power-supply = <®_5v>;
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_keys>;
25 label = "User button";
26 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
27 linux,code = <BTN_MISC>;
33 compatible = "gpio-leds";
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_led>;
39 gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
40 linux,default-trigger = "heartbeat";
45 compatible = "w1-gpio";
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_w1>;
48 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
52 compatible = "armadeus,st0700-adapt";
53 power-supply = <®_3v3>;
54 backlight = <&backlight>;
58 remote-endpoint = <&lcdif_out>;
63 reg_5v: regulator-5v {
64 compatible = "regulator-fixed";
65 regulator-name = "5V";
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5000000>;
70 reg_usbotg1_vbus: regulator-usbotg1vbus {
71 compatible = "regulator-fixed";
72 regulator-name = "usbotg1vbus";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_usbotg1_vbus>;
77 gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
81 reg_usbotg2_vbus: regulator-usbotg2vbus {
82 compatible = "regulator-fixed";
83 regulator-name = "usbotg2vbus";
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_usbotg2_vbus>;
88 gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;
94 vref-supply = <®_3v3>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_flexcan1>;
101 xceiver-supply = <®_5v>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_flexcan2>;
108 xceiver-supply = <®_5v>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_ecspi4>;
115 cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>, <&gpio4 3 GPIO_ACTIVE_LOW>;
119 compatible = "spidev";
121 spi-max-frequency = <5000000>;
125 compatible = "spidev";
127 spi-max-frequency = <5000000>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&pinctrl_i2c1>;
134 clock-frequency = <400000>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_i2c2>;
141 clock-frequency = <400000>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pinctrl_lcdif>;
151 lcdif_out: endpoint {
152 remote-endpoint = <&panel_in>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_pwm3>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&pinctrl_tsc>;
171 xnur-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
172 measure-delay-time = <0xffff>;
173 pre-charge-time = <0xffff>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_uart1>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&pinctrl_uart2>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_usbotg1_id>;
192 vbus-supply = <®_usbotg1_vbus>;
194 disable-over-current;
199 vbus-supply = <®_usbotg2_vbus>;
201 disable-over-current;
206 pinctrl-names = "default";
207 pinctrl-0 = <&pinctrl_gpios>;
209 pinctrl_ecspi4: ecspi4grp {
211 MX6UL_PAD_NAND_DATA04__ECSPI4_SCLK 0x1b0b0
212 MX6UL_PAD_NAND_DATA05__ECSPI4_MOSI 0x1b0b0
213 MX6UL_PAD_NAND_DATA06__ECSPI4_MISO 0x1b0b0
214 MX6UL_PAD_NAND_DATA01__GPIO4_IO03 0x1b0b0
215 MX6UL_PAD_NAND_DATA07__GPIO4_IO09 0x1b0b0
219 pinctrl_flexcan1: flexcan1grp {
221 MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x0b0b0
222 MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x0b0b0
226 pinctrl_flexcan2: flexcan2grp {
228 MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x0b0b0
229 MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x0b0b0
233 pinctrl_gpios: gpiosgrp {
235 MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0x0b0b0
236 MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25 0x0b0b0
237 MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24 0x0b0b0
238 MX6UL_PAD_NAND_RE_B__GPIO4_IO00 0x0b0b0
239 MX6UL_PAD_GPIO1_IO08__GPIO1_IO08 0x0b0b0
240 MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x0b0b0
241 MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x0b0b0
242 MX6UL_PAD_NAND_WE_B__GPIO4_IO01 0x0b0b0
246 pinctrl_gpio_keys: gpiokeysgrp {
248 MX6UL_PAD_ENET2_TX_DATA0__GPIO2_IO11 0x0b0b0
252 pinctrl_i2c1: i2c1grp {
254 MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
255 MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
259 pinctrl_i2c2: i2c2grp {
261 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
262 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
266 pinctrl_lcdif: lcdifgrp {
268 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x100b1
269 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x100b1
270 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x100b1
271 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x100b1
272 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x100b1
273 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x100b1
274 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x100b1
275 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x100b1
276 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x100b1
277 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x100b1
278 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x100b1
279 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x100b1
280 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x100b1
281 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x100b1
282 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x100b1
283 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x100b1
284 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x100b1
285 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x100b1
286 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x100b1
287 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x100b1
288 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x100b1
289 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x100b1
293 pinctrl_led: ledgrp {
295 MX6UL_PAD_LCD_RESET__GPIO3_IO04 0x0b0b0
299 pinctrl_pwm3: pwm3grp {
301 MX6UL_PAD_NAND_ALE__PWM3_OUT 0x1b0b0
305 pinctrl_tsc: tscgrp {
307 MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0
308 MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0
309 MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
310 MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0
314 pinctrl_uart1: uart1grp {
316 MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1
317 MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1
321 pinctrl_uart2: uart2grp {
323 MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1
324 MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1
328 pinctrl_usbotg1_id: usbotg1idgrp {
330 MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x1b0b0
334 pinctrl_usbotg1_vbus: usbotg1vbusgrp {
336 MX6UL_PAD_GPIO1_IO05__GPIO1_IO05 0x1b0b0