2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
5 * This file is dual-licensed: you can use it either under the terms
6 * of the GPL or the X11 license, at your option. Note that this dual
7 * licensing only applies to this file, and not this project as a
10 * a) This file is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * version 2 as published by the Free Software Foundation.
14 * This file is distributed in the hope that it will be useful
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
42 #include <dt-bindings/gpio/gpio.h>
43 #include <dt-bindings/input/input.h>
51 reg = <0x10000000 0x40000000>;
55 compatible = "simple-bus";
59 reg_2p5v: regulator@0 {
60 compatible = "regulator-fixed";
62 regulator-name = "2P5V";
63 regulator-min-microvolt = <2500000>;
64 regulator-max-microvolt = <2500000>;
68 reg_3p3v: regulator@1 {
69 compatible = "regulator-fixed";
71 regulator-name = "3P3V";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
77 reg_usb_otg_vbus: regulator@2 {
78 compatible = "regulator-fixed";
80 regulator-name = "usb_otg_vbus";
81 regulator-min-microvolt = <5000000>;
82 regulator-max-microvolt = <5000000>;
87 reg_can_xcvr: regulator@3 {
88 compatible = "regulator-fixed";
90 regulator-name = "CAN XCVR";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_can_xcvr>;
95 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
100 compatible = "gpio-keys";
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_gpio_keys>;
105 label = "Power Button";
106 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
107 linux,code = <KEY_POWER>;
113 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_MENU>;
119 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
120 linux,code = <KEY_HOME>;
125 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_BACK>;
131 gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
132 linux,code = <KEY_VOLUMEUP>;
136 label = "Volume Down";
137 gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
138 linux,code = <KEY_VOLUMEDOWN>;
143 compatible = "fsl,imx6q-sabrelite-sgtl5000",
144 "fsl,imx-audio-sgtl5000";
145 model = "imx6q-sabrelite-sgtl5000";
146 ssi-controller = <&ssi1>;
147 audio-codec = <&codec>;
149 "MIC_IN", "Mic Jack",
150 "Mic Jack", "Mic Bias",
151 "Headphone Jack", "HP_OUT";
156 backlight_lcd: backlight_lcd {
157 compatible = "pwm-backlight";
158 pwms = <&pwm1 0 5000000>;
159 brightness-levels = <0 4 8 16 32 64 128 255>;
160 default-brightness-level = <7>;
161 power-supply = <®_3p3v>;
165 backlight_lvds: backlight_lvds {
166 compatible = "pwm-backlight";
167 pwms = <&pwm4 0 5000000>;
168 brightness-levels = <0 4 8 16 32 64 128 255>;
169 default-brightness-level = <7>;
170 power-supply = <®_3p3v>;
174 lcd_display: display@di0 {
175 compatible = "fsl,imx-parallel-display";
176 #address-cells = <1>;
178 interface-pix-fmt = "bgr666";
179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_j15>;
186 lcd_display_in: endpoint {
187 remote-endpoint = <&ipu1_di0_disp0>;
194 lcd_display_out: endpoint {
195 remote-endpoint = <&lcd_panel_in>;
201 compatible = "okaya,rs800480t-7x0gp";
202 backlight = <&backlight_lcd>;
205 lcd_panel_in: endpoint {
206 remote-endpoint = <&lcd_display_out>;
212 compatible = "hannstar,hsd100pxn1";
213 backlight = <&backlight_lvds>;
217 remote-endpoint = <&lvds0_out>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&pinctrl_audmux>;
230 pinctrl-names = "default";
231 pinctrl-0 = <&pinctrl_can1>;
232 xceiver-supply = <®_can_xcvr>;
237 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
238 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
239 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
240 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
244 fsl,spi-num-chipselects = <1>;
245 cs-gpios = <&gpio3 19 0>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_ecspi1>;
251 compatible = "sst,sst25vf016b", "jedec,spi-nor";
252 spi-max-frequency = <20000000>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&pinctrl_enet>;
261 phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
263 txc-skew-ps = <3000>;
265 rxc-skew-ps = <3000>;
274 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
275 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
280 ddc-i2c-bus = <&i2c2>;
285 clock-frequency = <100000>;
286 pinctrl-names = "default";
287 pinctrl-0 = <&pinctrl_i2c1>;
291 compatible = "fsl,sgtl5000";
293 clocks = <&clks 201>;
294 VDDA-supply = <®_2p5v>;
295 VDDIO-supply = <®_3p3v>;
300 clock-frequency = <100000>;
301 pinctrl-names = "default";
302 pinctrl-0 = <&pinctrl_i2c2>;
307 clock-frequency = <100000>;
308 pinctrl-names = "default";
309 pinctrl-0 = <&pinctrl_i2c3>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&pinctrl_hog>;
318 pinctrl_hog: hoggrp {
320 /* SGTL5000 sys_mclk */
321 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0
325 pinctrl_audmux: audmuxgrp {
327 MX6QDL_PAD_SD2_DAT0__AUD4_RXD 0x130b0
328 MX6QDL_PAD_SD2_DAT3__AUD4_TXC 0x130b0
329 MX6QDL_PAD_SD2_DAT2__AUD4_TXD 0x110b0
330 MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x130b0
334 pinctrl_can1: can1grp {
336 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0
337 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
341 pinctrl_can_xcvr: can-xcvrgrp {
343 /* Flexcan XCVR enable */
344 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
348 pinctrl_ecspi1: ecspi1grp {
350 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
351 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
352 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
353 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* CS */
357 pinctrl_enet: enetgrp {
359 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0
360 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0
361 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x100b0
362 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x100b0
363 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x100b0
364 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x100b0
365 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x100b0
366 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x100b0
367 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
368 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
369 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
370 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
371 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
372 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
373 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
375 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x000b0
376 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
380 pinctrl_gpio_keys: gpio_keysgrp {
383 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
385 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
387 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
389 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0
390 /* Volume Up Button */
391 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
392 /* Volume Down Button */
393 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
397 pinctrl_i2c1: i2c1grp {
399 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
400 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
404 pinctrl_i2c2: i2c2grp {
406 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
407 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
411 pinctrl_i2c3: i2c3grp {
413 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
414 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
418 pinctrl_j15: j15grp {
420 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
421 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10
422 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
423 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
424 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
425 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
426 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
427 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
428 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
429 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
430 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
431 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
432 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
433 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
434 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
435 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
436 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
437 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
438 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
439 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
440 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
441 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
442 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
443 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
444 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
445 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
446 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
447 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
451 pinctrl_pwm1: pwm1grp {
453 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1
457 pinctrl_pwm3: pwm3grp {
459 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
463 pinctrl_pwm4: pwm4grp {
465 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
469 pinctrl_uart1: uart1grp {
471 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
472 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
476 pinctrl_uart2: uart2grp {
478 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
479 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
483 pinctrl_usbotg: usbotggrp {
485 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
486 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0
487 /* power enable, high active */
488 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0
492 pinctrl_usdhc3: usdhc3grp {
494 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
495 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
496 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
497 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
498 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
499 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
500 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */
501 MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0 /* WP */
505 pinctrl_usdhc4: usdhc4grp {
507 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
508 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
509 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
510 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
511 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
512 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
513 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 /* CD */
520 remote-endpoint = <&lcd_display_in>;
527 fsl,data-mapping = "spwg";
528 fsl,data-width = <18>;
534 lvds0_out: endpoint {
535 remote-endpoint = <&panel_in>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&pinctrl_pwm1>;
552 pinctrl-names = "default";
553 pinctrl-0 = <&pinctrl_pwm3>;
558 pinctrl-names = "default";
559 pinctrl-0 = <&pinctrl_pwm4>;
568 pinctrl-names = "default";
569 pinctrl-0 = <&pinctrl_uart1>;
574 pinctrl-names = "default";
575 pinctrl-0 = <&pinctrl_uart2>;
584 vbus-supply = <®_usb_otg_vbus>;
585 pinctrl-names = "default";
586 pinctrl-0 = <&pinctrl_usbotg>;
587 disable-over-current;
592 pinctrl-names = "default";
593 pinctrl-0 = <&pinctrl_usdhc3>;
594 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
595 wp-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
596 vmmc-supply = <®_3p3v>;
601 pinctrl-names = "default";
602 pinctrl-0 = <&pinctrl_usdhc4>;
603 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
604 vmmc-supply = <®_3p3v>;