Annotation of src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts, Revision 1.1.1.2.4.2
1.1 jmcneill 1: /*
2: * Copyright 2014-2017 Toradex AG
3: * Copyright 2012 Freescale Semiconductor, Inc.
4: * Copyright 2011 Linaro Ltd.
5: *
6: * This file is dual-licensed: you can use it either under the terms
7: * of the GPL or the X11 license, at your option. Note that this dual
8: * licensing only applies to this file, and not this project as a
9: * whole.
10: *
11: * a) This file is free software; you can redistribute it and/or
12: * modify it under the terms of the GNU General Public License
13: * version 2 as published by the Free Software Foundation.
14: *
15: * This file is distributed in the hope that it will be useful,
16: * but WITHOUT ANY WARRANTY; without even the implied warranty of
17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18: * GNU General Public License for more details.
19: *
20: * Or, alternatively,
21: *
22: * b) Permission is hereby granted, free of charge, to any person
23: * obtaining a copy of this software and associated documentation
24: * files (the "Software"), to deal in the Software without
25: * restriction, including without limitation the rights to use,
26: * copy, modify, merge, publish, distribute, sublicense, and/or
27: * sell copies of the Software, and to permit persons to whom the
28: * Software is furnished to do so, subject to the following
29: * conditions:
30: *
31: * The above copyright notice and this permission notice shall be
32: * included in all copies or substantial portions of the Software.
33: *
34: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35: * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36: * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37: * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38: * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39: * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41: * OTHER DEALINGS IN THE SOFTWARE.
42: */
43:
44: /dts-v1/;
45:
46: #include <dt-bindings/gpio/gpio.h>
47: #include <dt-bindings/input/input.h>
48: #include <dt-bindings/interrupt-controller/irq.h>
49: #include "imx6q.dtsi"
50: #include "imx6qdl-apalis.dtsi"
51:
52: / {
53: model = "Toradex Apalis iMX6Q/D Module on Ixora Carrier Board V1.1";
54: compatible = "toradex,apalis_imx6q-ixora-v1.1",
55: "toradex,apalis_imx6q-ixora", "toradex,apalis_imx6q",
56: "fsl,imx6q";
57:
58: aliases {
59: i2c0 = &i2c1;
60: i2c1 = &i2c3;
61: i2c2 = &i2c2;
62: rtc0 = &rtc_i2c;
63: rtc1 = &snvs_rtc;
64: };
65:
1.1.1.2.4.2! pgoyette 66: chosen {
! 67: stdout-path = "serial0:115200n8";
! 68: };
! 69:
1.1 jmcneill 70: gpio-keys {
71: compatible = "gpio-keys";
72: pinctrl-names = "default";
73: pinctrl-0 = <&pinctrl_gpio_keys>;
74:
75: wakeup {
76: label = "Wake-Up";
77: gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
78: linux,code = <KEY_WAKEUP>;
79: debounce-interval = <10>;
80: wakeup-source;
81: };
82: };
83:
1.1.1.2 jmcneill 84: lcd_display: disp0 {
1.1 jmcneill 85: compatible = "fsl,imx-parallel-display";
86: #address-cells = <1>;
87: #size-cells = <0>;
88: interface-pix-fmt = "rgb24";
89: pinctrl-names = "default";
90: pinctrl-0 = <&pinctrl_ipu1_lcdif>;
91: status = "okay";
92:
93: port@0 {
94: reg = <0>;
95:
96: lcd_display_in: endpoint {
97: remote-endpoint = <&ipu1_di1_disp1>;
98: };
99: };
100:
101: port@1 {
102: reg = <1>;
103:
104: lcd_display_out: endpoint {
105: remote-endpoint = <&lcd_panel_in>;
106: };
107: };
108: };
109:
110: panel: panel {
111: /*
112: * edt,et057090dhu: EDT 5.7" LCD TFT
113: * edt,et070080dh6: EDT 7.0" LCD TFT
114: */
115: compatible = "edt,et057090dhu";
116: backlight = <&backlight>;
117:
118: port {
119: lcd_panel_in: endpoint {
120: remote-endpoint = <&lcd_display_out>;
121: };
122: };
123: };
124:
125: leds {
126: compatible = "gpio-leds";
127:
128: pinctrl-names = "default";
129: pinctrl-0 = <&pinctrl_leds_ixora>;
130:
131: led4-green {
132: label = "LED_4_GREEN";
133: gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
134: };
135:
136: led4-red {
137: label = "LED_4_RED";
138: gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
139: };
140:
141: led5-green {
142: label = "LED_5_GREEN";
143: gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
144: };
145:
146: led5-red {
147: label = "LED_5_RED";
148: gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
149: };
150: };
151: };
152:
153: &backlight {
154: brightness-levels = <0 127 191 223 239 247 251 255>;
155: default-brightness-level = <1>;
156: status = "okay";
157: };
158:
159: &can1 {
160: status = "okay";
161: };
162:
163: &can2 {
164: status = "okay";
165: };
166:
167: &hdmi {
168: status = "okay";
169: };
170:
171: /* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
172: &i2c1 {
173: status = "okay";
174:
175: /* M41T0M6 real time clock on carrier board */
176: rtc_i2c: rtc@68 {
1.1.1.2.4.1 pgoyette 177: compatible = "st,m41t0";
1.1 jmcneill 178: reg = <0x68>;
179: };
180: };
181:
182: /*
183: * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
184: * board)
185: */
186: &i2c3 {
187: status = "okay";
188: };
189:
190: &ipu1_di1_disp1 {
191: remote-endpoint = <&lcd_display_in>;
192: };
193:
194: &ldb {
195: status = "okay";
196: };
197:
198: &pcie {
1.1.1.2.4.2! pgoyette 199: pinctrl-names = "default";
! 200: pinctrl-0 = <&pinctrl_reset_moci>;
1.1 jmcneill 201: /* active-high meaning opposite of regular PERST# active-low polarity */
202: reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
203: reset-gpio-active-high;
204: status = "okay";
205: };
206:
207: &pwm1 {
208: status = "okay";
209: };
210:
211: &pwm2 {
212: status = "okay";
213: };
214:
215: &pwm3 {
216: status = "okay";
217: };
218:
219: &pwm4 {
220: status = "okay";
221: };
222:
223: ®_usb_otg_vbus {
224: status = "okay";
225: };
226:
227: ®_usb_host_vbus {
228: status = "okay";
229: };
230:
231: &sata {
232: status = "okay";
233: };
234:
235: &sound_spdif {
236: status = "okay";
237: };
238:
239: &spdif {
240: status = "okay";
241: };
242:
243: &uart1 {
244: status = "okay";
245: };
246:
247: &uart2 {
248: status = "okay";
249: };
250:
251: &uart4 {
252: status = "okay";
253: };
254:
255: &uart5 {
256: status = "okay";
257: };
258:
259: &usbh1 {
260: vbus-supply = <®_usb_host_vbus>;
261: status = "okay";
262: };
263:
264: &usbotg {
265: vbus-supply = <®_usb_otg_vbus>;
266: status = "okay";
267: };
268:
269: /* MMC1 */
270: &usdhc1 {
271: pinctrl-names = "default";
272: pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_mmc_cd>;
273: cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
274: bus-width = <4>;
275: status = "okay";
276: };
277:
278: &iomuxc {
279: /*
280: * Mux the Apalis GPIOs
281: */
282: pinctrl-names = "default";
283: pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
284: &pinctrl_apalis_gpio3 &pinctrl_apalis_gpio4
285: &pinctrl_apalis_gpio5 &pinctrl_apalis_gpio6
286: &pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8
287: >;
288:
289: pinctrl_leds_ixora: ledsixoragrp {
290: fsl,pins = <
291: MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x1b0b0
292: MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x1b0b0
293: MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
294: MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0
295: >;
296: };
297: };
CVSweb <webmaster@jp.NetBSD.org>