2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
21 reg = <0x10000000 0x40000000>;
25 compatible = "simple-bus";
29 reg_2p5v: regulator@0 {
30 compatible = "regulator-fixed";
32 regulator-name = "2P5V";
33 regulator-min-microvolt = <2500000>;
34 regulator-max-microvolt = <2500000>;
38 reg_3p3v: regulator@1 {
39 compatible = "regulator-fixed";
41 regulator-name = "3P3V";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
47 reg_usb_otg_vbus: regulator@2 {
48 compatible = "regulator-fixed";
50 regulator-name = "usb_otg_vbus";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
57 reg_can_xcvr: regulator@3 {
58 compatible = "regulator-fixed";
60 regulator-name = "CAN XCVR";
61 regulator-min-microvolt = <3300000>;
62 regulator-max-microvolt = <3300000>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_can_xcvr>;
65 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-keys";
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_gpio_keys>;
75 label = "Power Button";
76 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_POWER>;
83 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_MENU>;
89 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_HOME>;
95 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_BACK>;
101 gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_VOLUMEUP>;
106 label = "Volume Down";
107 gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
108 linux,code = <KEY_VOLUMEDOWN>;
113 compatible = "fsl,imx6q-sabrelite-sgtl5000",
114 "fsl,imx-audio-sgtl5000";
115 model = "imx6q-sabrelite-sgtl5000";
116 ssi-controller = <&ssi1>;
117 audio-codec = <&codec>;
119 "MIC_IN", "Mic Jack",
120 "Mic Jack", "Mic Bias",
121 "Headphone Jack", "HP_OUT";
127 compatible = "pwm-backlight";
128 pwms = <&pwm1 0 5000000>;
129 brightness-levels = <0 4 8 16 32 64 128 255>;
130 default-brightness-level = <7>;
131 power-supply = <®_3p3v>;
135 backlight_lvds: backlight_lvds {
136 compatible = "pwm-backlight";
137 pwms = <&pwm4 0 5000000>;
138 brightness-levels = <0 4 8 16 32 64 128 255>;
139 default-brightness-level = <7>;
140 power-supply = <®_3p3v>;
145 compatible = "hannstar,hsd100pxn1";
146 backlight = <&backlight_lvds>;
150 remote-endpoint = <&lvds0_out>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_audmux>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pinctrl_can1>;
165 xceiver-supply = <®_can_xcvr>;
170 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
171 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
172 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
173 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
177 fsl,spi-num-chipselects = <1>;
178 cs-gpios = <&gpio3 19 0>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_ecspi1>;
184 compatible = "sst,sst25vf016b", "jedec,spi-nor";
185 spi-max-frequency = <20000000>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&pinctrl_enet>;
194 phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
196 txc-skew-ps = <3000>;
198 rxc-skew-ps = <3000>;
207 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
208 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
213 ddc-i2c-bus = <&i2c2>;
218 clock-frequency = <100000>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&pinctrl_i2c1>;
224 compatible = "fsl,sgtl5000";
226 clocks = <&clks 201>;
227 VDDA-supply = <®_2p5v>;
228 VDDIO-supply = <®_3p3v>;
233 clock-frequency = <100000>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_i2c2>;
240 clock-frequency = <100000>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&pinctrl_i2c3>;
247 pinctrl-names = "default";
248 pinctrl-0 = <&pinctrl_hog>;
251 pinctrl_hog: hoggrp {
253 /* SGTL5000 sys_mclk */
254 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0
258 pinctrl_audmux: audmuxgrp {
260 MX6QDL_PAD_SD2_DAT0__AUD4_RXD 0x130b0
261 MX6QDL_PAD_SD2_DAT3__AUD4_TXC 0x130b0
262 MX6QDL_PAD_SD2_DAT2__AUD4_TXD 0x110b0
263 MX6QDL_PAD_SD2_DAT1__AUD4_TXFS 0x130b0
267 pinctrl_can1: can1grp {
269 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0
270 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
274 pinctrl_can_xcvr: can-xcvrgrp {
276 /* Flexcan XCVR enable */
277 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
281 pinctrl_ecspi1: ecspi1grp {
283 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
284 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
285 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
286 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* CS */
290 pinctrl_enet: enetgrp {
292 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0
293 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0
294 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x100b0
295 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x100b0
296 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x100b0
297 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x100b0
298 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x100b0
299 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x100b0
300 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
301 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
302 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
303 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
304 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
305 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
306 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
308 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x000b0
309 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
313 pinctrl_gpio_keys: gpio_keysgrp {
316 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
318 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
320 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
322 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0
323 /* Volume Up Button */
324 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
325 /* Volume Down Button */
326 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
330 pinctrl_i2c1: i2c1grp {
332 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
333 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
337 pinctrl_i2c2: i2c2grp {
339 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
340 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
344 pinctrl_i2c3: i2c3grp {
346 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
347 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
351 pinctrl_pwm1: pwm1grp {
353 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1
357 pinctrl_pwm3: pwm3grp {
359 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
363 pinctrl_pwm4: pwm4grp {
365 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
369 pinctrl_uart1: uart1grp {
371 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
372 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
376 pinctrl_uart2: uart2grp {
378 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
379 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
383 pinctrl_usbotg: usbotggrp {
385 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
386 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0
387 /* power enable, high active */
388 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0
392 pinctrl_usdhc3: usdhc3grp {
394 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
395 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
396 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
397 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
398 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
399 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
400 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */
401 MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0 /* WP */
405 pinctrl_usdhc4: usdhc4grp {
407 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
408 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
409 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
410 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
411 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
412 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
413 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 /* CD */
423 fsl,data-mapping = "spwg";
424 fsl,data-width = <18>;
430 lvds0_out: endpoint {
431 remote-endpoint = <&panel_in>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&pinctrl_pwm1>;
448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_pwm3>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&pinctrl_pwm4>;
464 pinctrl-names = "default";
465 pinctrl-0 = <&pinctrl_uart1>;
470 pinctrl-names = "default";
471 pinctrl-0 = <&pinctrl_uart2>;
480 vbus-supply = <®_usb_otg_vbus>;
481 pinctrl-names = "default";
482 pinctrl-0 = <&pinctrl_usbotg>;
483 disable-over-current;
488 pinctrl-names = "default";
489 pinctrl-0 = <&pinctrl_usdhc3>;
490 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
491 wp-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
492 vmmc-supply = <®_3p3v>;
497 pinctrl-names = "default";
498 pinctrl-0 = <&pinctrl_usdhc4>;
499 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
500 vmmc-supply = <®_3p3v>;