1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright (C) 2016 Amarula Solutions B.V.
4 * Copyright (C) 2016 Engicam S.r.l.
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include "imx6ul.dtsi"
14 model = "Engicam GEAM6UL Starter Kit";
15 compatible = "engicam,imx6ul-geam", "fsl,imx6ul";
18 device_type = "memory";
19 reg = <0x80000000 0x08000000>;
23 compatible = "pwm-backlight";
24 pwms = <&pwm8 0 100000>;
25 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
26 10 11 12 13 14 15 16 17 18 19
27 20 21 22 23 24 25 26 27 28 29
28 30 31 32 33 34 35 36 37 38 39
29 40 41 42 43 44 45 46 47 48 49
30 50 51 52 53 54 55 56 57 58 59
31 60 61 62 63 64 65 66 67 68 69
32 70 71 72 73 74 75 76 77 78 79
33 80 81 82 83 84 85 86 87 88 89
34 90 91 92 93 94 95 96 97 98 99
36 default-brightness-level = <100>;
43 reg_1p8v: regulator-1p8v {
44 compatible = "regulator-fixed";
45 regulator-name = "1P8V";
46 regulator-min-microvolt = <1800000>;
47 regulator-max-microvolt = <1800000>;
52 reg_3p3v: regulator-3p3v {
53 compatible = "regulator-fixed";
54 regulator-name = "3P3V";
55 regulator-min-microvolt = <3300000>;
56 regulator-max-microvolt = <3300000>;
62 compatible = "simple-audio-card";
63 simple-audio-card,name = "imx6ul-geam-sgtl5000";
64 simple-audio-card,format = "i2s";
65 simple-audio-card,bitclock-master = <&dailink_master>;
66 simple-audio-card,frame-master = <&dailink_master>;
67 simple-audio-card,widgets =
68 "Microphone", "Mic Jack",
71 "Headphone", "Headphone Jack";
72 simple-audio-card,routing =
74 "Mic Jack", "Mic Bias",
75 "Headphone Jack", "HP_OUT";
77 simple-audio-card,cpu {
81 dailink_master: simple-audio-card,codec {
82 sound-dai = <&sgtl5000>;
83 clocks = <&clks IMX6UL_CLK_SAI2>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_flexcan1>;
91 xceiver-supply = <®_3p3v>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_flexcan2>;
98 xceiver-supply = <®_3p3v>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&pinctrl_enet1>;
106 phy-handle = <ðphy0>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_enet2>;
114 phy-handle = <ðphy1>;
118 #address-cells = <1>;
121 ethphy0: ethernet-phy@0 {
122 compatible = "ethernet-phy-ieee802.3-c22";
126 ethphy1: ethernet-phy@1 {
127 compatible = "ethernet-phy-ieee802.3-c22";
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_gpmi_nand>;
141 clock-frequency = <100000>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_i2c1>;
147 compatible = "fsl,sgtl5000";
149 #sound-dai-cells = <0>;
150 clocks = <&clks IMX6UL_CLK_OSC>;
151 clock-names = "mclk";
152 VDDA-supply = <®_3p3v>;
153 VDDIO-supply = <®_3p3v>;
154 VDDD-supply = <®_1p8v>;
159 clock-frequency = <100000>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_i2c2>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_lcdif_dat
168 &pinctrl_lcdif_ctrl>;
169 display = <&display0>;
173 bits-per-pixel = <16>;
177 native-mode = <&timing0>;
179 clock-frequency = <28000000>;
191 pixelclk-active = <0>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&pinctrl_pwm8>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&pinctrl_tsc>;
206 xnur-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_sai2>;
216 measure-delay-time = <0x1ffff>;
217 pre-charge-time = <0x1fff>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_uart1>;
228 pinctrl-names = "default";
229 pinctrl-0 = <&pinctrl_uart2>;
234 dr_mode = "peripheral";
244 pinctrl-names = "default", "state_100mhz", "state_200mhz";
245 pinctrl-0 = <&pinctrl_usdhc1>;
246 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
247 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
249 cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
255 pinctrl_enet1: enet1grp {
257 MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0
258 MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
259 MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
260 MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0
261 MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
262 MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
263 MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031
267 pinctrl_enet2: enet2grp {
269 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0
270 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
271 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
272 MX6UL_PAD_ENET2_RX_ER__GPIO2_IO15 0x1b0b0 /* ENET_nRST */
273 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
274 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
275 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
276 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
277 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
278 MX6UL_PAD_GPIO1_IO05__ENET2_REF_CLK2 0x4001b031
282 pinctrl_flexcan1: flexcan1grp {
284 MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x1b020
285 MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x1b020
289 pinctrl_flexcan2: flexcan2grp {
291 MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020
292 MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020
296 pinctrl_gpmi_nand: gpminandgrp {
298 MX6UL_PAD_NAND_CLE__RAWNAND_CLE 0xb0b1
299 MX6UL_PAD_NAND_ALE__RAWNAND_ALE 0xb0b1
300 MX6UL_PAD_NAND_WP_B__RAWNAND_WP_B 0xb0b1
301 MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0xb000
302 MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B 0xb0b1
303 MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B 0xb0b1
304 MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B 0xb0b1
305 MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0xb0b1
306 MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01 0xb0b1
307 MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02 0xb0b1
308 MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03 0xb0b1
309 MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04 0xb0b1
310 MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05 0xb0b1
311 MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06 0xb0b1
312 MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07 0xb0b1
316 pinctrl_i2c1: i2c1grp {
318 MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0
319 MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0
323 pinctrl_i2c2: i2c2grp {
325 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0
326 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0
330 pinctrl_lcdif_ctrl: lcdifctrlgrp {
332 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79
333 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79
334 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79
335 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79
339 pinctrl_lcdif_dat: lcdifdatgrp {
341 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79
342 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79
343 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79
344 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79
345 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79
346 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x79
347 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x79
348 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x79
349 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x79
350 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x79
351 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x79
352 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x79
353 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x79
354 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x79
355 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x79
356 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x79
357 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x79
358 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x79
362 pinctrl_pwm8: pwm8grp {
364 MX6UL_PAD_ENET1_RX_ER__PWM8_OUT 0x110b0
368 pinctrl_tsc: tscgrp {
370 MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0
371 MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0
372 MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
373 MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0
377 pinctrl_sai2: sai2grp {
379 MX6UL_PAD_JTAG_TCK__SAI2_RX_DATA 0x130b0
380 MX6UL_PAD_JTAG_TMS__CCM_CLKO1 0x4001b031
381 MX6UL_PAD_JTAG_TDI__SAI2_TX_BCLK 0x17088
382 MX6UL_PAD_JTAG_TDO__SAI2_TX_SYNC 0x17088
383 MX6UL_PAD_JTAG_TRST_B__SAI2_TX_DATA 0x120b0
387 pinctrl_uart1: uart1grp {
389 MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1
390 MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1
394 pinctrl_uart2: uart2grp {
396 MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1
397 MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1
398 MX6UL_PAD_UART3_RX_DATA__UART2_DCE_RTS 0x1b0b1
399 MX6UL_PAD_UART3_TX_DATA__UART2_DCE_CTS 0x1b0b1
403 pinctrl_usdhc1: usdhc1grp {
405 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
406 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10059
407 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
408 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
409 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
410 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
414 pinctrl_usdhc1_100mhz: usdhc1grp100mhz {
416 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170b9
417 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100b9
418 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9
419 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9
420 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9
421 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9
425 pinctrl_usdhc1_200mhz: usdhc1grp200mhz {
427 MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170f9
428 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100f9
429 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170f9
430 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170f9
431 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170f9
432 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170f9
436 pinctrl_usdhc2: usdhc2grp {
438 MX6UL_PAD_CSI_VSYNC__USDHC2_CLK 0x17070
439 MX6UL_PAD_CSI_HSYNC__USDHC2_CMD 0x10070
440 MX6UL_PAD_CSI_DATA00__USDHC2_DATA0 0x17070
441 MX6UL_PAD_CSI_DATA01__USDHC2_DATA1 0x17070
442 MX6UL_PAD_CSI_DATA02__USDHC2_DATA2 0x17070
443 MX6UL_PAD_CSI_DATA03__USDHC2_DATA3 0x17070