1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 Toradex
4 * Copyright 2012 Freescale Semiconductor, Inc.
5 * Copyright 2011 Linaro Ltd.
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include "imx6dl.dtsi"
13 #include "imx6qdl-colibri.dtsi"
16 model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3";
17 compatible = "toradex,colibri_imx6dl-eval-v3", "toradex,colibri_imx6dl",
20 /* Will be filled by the bootloader */
22 device_type = "memory";
37 stdout-path = "serial0:115200n8";
40 /* Fixed crystal dedicated to mcp251x */
42 compatible = "fixed-clock";
44 clock-frequency = <16000000>;
45 clock-output-names = "clk16m";
49 compatible = "gpio-keys";
50 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_gpio_keys>;
55 gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */
56 linux,code = <KEY_WAKEUP>;
57 debounce-interval = <10>;
63 compatible = "fsl,imx-parallel-display";
66 interface-pix-fmt = "bgr666";
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
74 lcd_display_in: endpoint {
75 remote-endpoint = <&ipu1_di0_disp0>;
82 lcd_display_out: endpoint {
83 remote-endpoint = <&lcd_panel_in>;
90 * edt,et057090dhu: EDT 5.7" LCD TFT
91 * edt,et070080dh6: EDT 7.0" LCD TFT
93 compatible = "edt,et057090dhu";
94 backlight = <&backlight>;
97 lcd_panel_in: endpoint {
98 remote-endpoint = <&lcd_display_out>;
105 brightness-levels = <0 127 191 223 239 247 251 255>;
106 default-brightness-level = <1>;
114 mcp251x0: mcp251x@0 {
115 compatible = "microchip,mcp2515";
118 interrupt-parent = <&gpio3>;
119 interrupts = <27 0x2>;
120 spi-max-frequency = <10000000>;
130 * Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier board)
136 * Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
137 * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
140 compatible = "atmel,maxtouch";
141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_pcap_1>;
144 interrupt-parent = <&gpio1>;
145 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */
146 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; /* SODIMM 30 */
150 /* M41T0M6 real time clock on carrier board */
152 compatible = "st,m41t0";
158 pinctrl-names = "default";
160 &pinctrl_weim_gpio_1 &pinctrl_weim_gpio_2
161 &pinctrl_weim_gpio_3 &pinctrl_weim_gpio_4
162 &pinctrl_weim_gpio_5 &pinctrl_weim_gpio_6
163 &pinctrl_usbh_oc_1 &pinctrl_usbc_id_1
166 pinctrl_pcap_1: pcap1grp {
168 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* SODIMM 28 */
169 MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SODIMM 30 */
173 pinctrl_mxt_ts: mxttsgrp {
175 MX6QDL_PAD_EIM_CS1__GPIO2_IO24 0x130b0 /* SODIMM 107 */
176 MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x130b0 /* SODIMM 106 */
182 remote-endpoint = <&lcd_display_in>;
218 vbus-supply = <®_usb_host_vbus>;
234 /* weim memory map: 32MB on CS0, CS1, CS2 and CS3 */
235 ranges = <0 0 0x08000000 0x02000000
236 1 0 0x0a000000 0x02000000
237 2 0 0x0c000000 0x02000000
238 3 0 0x0e000000 0x02000000>;
240 /* SRAM on Colibri nEXT_CS0 */
242 compatible = "cypress,cy7c1019dv33-10zsxi", "mtd-ram";
243 reg = <0 0 0x00010000>;
244 #address-cells = <1>;
247 fsl,weim-cs-timing = <0x00010081 0x00000000 0x04000000
248 0x00000000 0x04000040 0x00000000>;
251 /* SRAM on Colibri nEXT_CS1 */
253 compatible = "cypress,cy7c1019dv33-10zsxi", "mtd-ram";
254 reg = <1 0 0x00010000>;
255 #address-cells = <1>;
258 fsl,weim-cs-timing = <0x00010081 0x00000000 0x04000000
259 0x00000000 0x04000040 0x00000000>;