2 * Copyright 2013 Boundary Devices, Inc.
3 * Copyright 2011 Freescale Semiconductor, Inc.
4 * Copyright 2011 Linaro Ltd.
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
22 reg = <0x10000000 0x40000000>;
26 compatible = "simple-bus";
30 reg_2p5v: regulator@0 {
31 compatible = "regulator-fixed";
33 regulator-name = "2P5V";
34 regulator-min-microvolt = <2500000>;
35 regulator-max-microvolt = <2500000>;
39 reg_3p3v: regulator@1 {
40 compatible = "regulator-fixed";
42 regulator-name = "3P3V";
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
48 reg_usb_otg_vbus: regulator@2 {
49 compatible = "regulator-fixed";
51 regulator-name = "usb_otg_vbus";
52 regulator-min-microvolt = <5000000>;
53 regulator-max-microvolt = <5000000>;
58 reg_can_xcvr: regulator@3 {
59 compatible = "regulator-fixed";
61 regulator-name = "CAN XCVR";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_can_xcvr>;
66 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
71 compatible = "gpio-keys";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_gpio_keys>;
76 label = "Power Button";
77 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_POWER>;
84 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_MENU>;
90 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_HOME>;
96 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_BACK>;
102 gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
103 linux,code = <KEY_VOLUMEUP>;
107 label = "Volume Down";
108 gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
109 linux,code = <KEY_VOLUMEDOWN>;
114 compatible = "fsl,imx6q-nitrogen6x-sgtl5000",
115 "fsl,imx-audio-sgtl5000";
116 model = "imx6q-nitrogen6x-sgtl5000";
117 ssi-controller = <&ssi1>;
118 audio-codec = <&codec>;
120 "MIC_IN", "Mic Jack",
121 "Mic Jack", "Mic Bias",
122 "Headphone Jack", "HP_OUT";
128 compatible = "pwm-backlight";
129 pwms = <&pwm1 0 5000000>;
130 brightness-levels = <0 4 8 16 32 64 128 255>;
131 default-brightness-level = <7>;
132 power-supply = <®_3p3v>;
136 backlight_lvds: backlight_lvds {
137 compatible = "pwm-backlight";
138 pwms = <&pwm4 0 5000000>;
139 brightness-levels = <0 4 8 16 32 64 128 255>;
140 default-brightness-level = <7>;
141 power-supply = <®_3p3v>;
146 compatible = "hannstar,hsd100pxn1";
147 backlight = <&backlight_lvds>;
151 remote-endpoint = <&lvds0_out>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&pinctrl_audmux>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_can1>;
166 xceiver-supply = <®_can_xcvr>;
171 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
172 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
173 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
174 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
178 fsl,spi-num-chipselects = <1>;
179 cs-gpios = <&gpio3 19 0>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&pinctrl_ecspi1>;
185 compatible = "sst,sst25vf016b";
186 spi-max-frequency = <20000000>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&pinctrl_enet>;
195 phy-reset-gpios = <&gpio1 27 0>;
197 txc-skew-ps = <3000>;
199 rxc-skew-ps = <3000>;
208 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
209 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
214 ddc-i2c-bus = <&i2c2>;
219 clock-frequency = <100000>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_i2c1>;
225 compatible = "fsl,sgtl5000";
227 clocks = <&clks 201>;
228 VDDA-supply = <®_2p5v>;
229 VDDIO-supply = <®_3p3v>;
233 compatible = "isil,isl1208";
239 clock-frequency = <100000>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_i2c2>;
246 clock-frequency = <100000>;
247 pinctrl-names = "default";
248 pinctrl-0 = <&pinctrl_i2c3>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&pinctrl_hog>;
257 pinctrl_hog: hoggrp {
259 /* SGTL5000 sys_mclk */
260 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0
264 pinctrl_audmux: audmuxgrp {
266 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
267 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
268 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
269 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
273 pinctrl_can1: can1grp {
275 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0
276 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
280 pinctrl_can_xcvr: can-xcvrgrp {
282 /* Flexcan XCVR enable */
283 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
287 pinctrl_ecspi1: ecspi1grp {
289 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
290 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
291 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
292 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* CS */
296 pinctrl_enet: enetgrp {
298 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0
299 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0
300 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x100b0
301 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x100b0
302 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x100b0
303 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x100b0
304 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x100b0
305 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x100b0
306 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
307 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
308 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
309 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
310 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
311 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
312 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
314 MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x000b0
315 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
319 pinctrl_gpio_keys: gpio_keysgrp {
322 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
324 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
326 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
328 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0
329 /* Volume Up Button */
330 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
331 /* Volume Down Button */
332 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
336 pinctrl_i2c1: i2c1grp {
338 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
339 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
343 pinctrl_i2c2: i2c2grp {
345 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
346 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
350 pinctrl_i2c3: i2c3grp {
352 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
353 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
357 pinctrl_pwm1: pwm1grp {
359 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1
363 pinctrl_pwm3: pwm3grp {
365 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
369 pinctrl_pwm4: pwm4grp {
371 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
375 pinctrl_uart1: uart1grp {
377 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
378 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
382 pinctrl_uart2: uart2grp {
384 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
385 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
389 pinctrl_usbotg: usbotggrp {
391 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
392 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0
393 /* power enable, high active */
394 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0
398 pinctrl_usdhc3: usdhc3grp {
400 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
401 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
402 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
403 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
404 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
405 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
406 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */
410 pinctrl_usdhc4: usdhc4grp {
412 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
413 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
414 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
415 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
416 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
417 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
418 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 /* CD */
428 fsl,data-mapping = "spwg";
429 fsl,data-width = <18>;
435 lvds0_out: endpoint {
436 remote-endpoint = <&panel_in>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&pinctrl_pwm1>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&pinctrl_pwm3>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&pinctrl_pwm4>;
469 pinctrl-names = "default";
470 pinctrl-0 = <&pinctrl_uart1>;
475 pinctrl-names = "default";
476 pinctrl-0 = <&pinctrl_uart2>;
485 vbus-supply = <®_usb_otg_vbus>;
486 pinctrl-names = "default";
487 pinctrl-0 = <&pinctrl_usbotg>;
488 disable-over-current;
493 pinctrl-names = "default";
494 pinctrl-0 = <&pinctrl_usdhc3>;
495 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
496 vmmc-supply = <®_3p3v>;
501 pinctrl-names = "default";
502 pinctrl-0 = <&pinctrl_usdhc4>;
503 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
504 vmmc-supply = <®_3p3v>;