2 * Copyright 2016 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
11 #include "imx7ulp.dtsi"
14 model = "NXP i.MX7ULP EVK";
15 compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp", "Generic DT based system";
18 bootargs = "console=ttyLP0,115200 earlycon=lpuart32,0x402D0000,115200";
19 stdout-path = &lpuart4;
22 bcmdhd_wlan_0: bcmdhd_wlan@0 {
23 compatible = "android,bcmdhd_wlan";
24 wlreg_on-supply = <&wlreg_on>;
25 bcmdhd_fw = "/lib/firmware/bcm/1DX_BCM4343W/fw_bcmdhd.bin";
26 bcmdhd_nv = "/lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal";
30 device_type = "memory";
31 reg = <0x60000000 0x40000000>;
35 compatible = "gpio-backlight";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_backlight>;
38 gpios = <&gpio3 2 GPIO_ACTIVE_HIGH>;
43 mipi_dsi_reset: mipi-dsi-reset {
44 compatible = "gpio-reset";
45 reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
46 reset-delay-us = <1000>;
51 compatible = "simple-bus";
55 wlreg_on: fixedregulator@100 {
56 compatible = "regulator-fixed";
57 regulator-min-microvolt = <5000000>;
58 regulator-max-microvolt = <5000000>;
59 regulator-name = "wlreg_on";
60 gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
61 startup-delay-us = <100>;
65 reg_usb_otg1_vbus: regulator@0 {
66 compatible = "regulator-fixed";
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_usbotg1_vbus>;
70 regulator-name = "usb_otg1_vbus";
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
73 gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
77 reg_vsd_3v3: regulator@1 {
78 compatible = "regulator-fixed";
80 regulator-name = "VSD_3V3";
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
83 gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
90 compatible = "fsl,pf1550-rpmsg";
92 regulator-name = "SW1";
93 regulator-min-microvolt = <600000>;
94 regulator-max-microvolt = <1387500>;
100 regulator-name = "SW2";
101 regulator-min-microvolt = <600000>;
102 regulator-max-microvolt = <1387500>;
108 regulator-name = "SW3";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <3300000>;
116 regulator-name = "VREFDDR";
117 regulator-min-microvolt = <1200000>;
118 regulator-max-microvolt = <1200000>;
124 regulator-name = "LDO1";
125 regulator-min-microvolt = <750000>;
126 regulator-max-microvolt = <3300000>;
131 regulator-name = "LDO2";
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <3300000>;
138 regulator-name = "LDO3";
139 regulator-min-microvolt = <750000>;
140 regulator-max-microvolt = <3300000>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&pinctrl_hog_1>;
151 pinctrl_hog_1: hoggrp-1 {
153 IMX7ULP_PAD_PTC1__PTC1 0x20000
157 pinctrl_backlight: backlight_grp {
159 IMX7ULP_PAD_PTF2__PTF2 0x20000
163 pinctrl_lpi2c5: lpi2c5grp {
165 IMX7ULP_PAD_PTC4__LPI2C5_SCL 0x27
166 IMX7ULP_PAD_PTC5__LPI2C5_SDA 0x27
170 pinctrl_mipi_dsi_reset: mipi_dsi_reset_grp {
172 IMX7ULP_PAD_PTC19__PTC19 0x20003
176 pinctrl_lpuart4: lpuart4grp {
178 IMX7ULP_PAD_PTC3__LPUART4_RX 0x3
179 IMX7ULP_PAD_PTC2__LPUART4_TX 0x3
183 pinctrl_lpuart6: lpuart6grp {
185 IMX7ULP_PAD_PTE10__LPUART6_TX 0x3
186 IMX7ULP_PAD_PTE11__LPUART6_RX 0x3
187 IMX7ULP_PAD_PTE9__LPUART6_RTS_B 0x3
188 IMX7ULP_PAD_PTE8__LPUART6_CTS_B 0x3
189 IMX7ULP_PAD_PTE7__PTE7 0x20000 /* BT_REG_ON */
193 pinctrl_lpuart7: lpuart7grp {
195 IMX7ULP_PAD_PTF14__LPUART7_TX 0x3
196 IMX7ULP_PAD_PTF15__LPUART7_RX 0x3
197 IMX7ULP_PAD_PTF13__LPUART7_RTS_B 0x3
198 IMX7ULP_PAD_PTF12__LPUART7_CTS_B 0x3
202 pinctrl_usdhc0: usdhc0grp {
204 IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43
205 IMX7ULP_PAD_PTD2__SDHC0_CLK 0x10042
206 IMX7ULP_PAD_PTD7__SDHC0_D3 0x43
207 IMX7ULP_PAD_PTD8__SDHC0_D2 0x43
208 IMX7ULP_PAD_PTD9__SDHC0_D1 0x43
209 IMX7ULP_PAD_PTD10__SDHC0_D0 0x43
210 IMX7ULP_PAD_PTC10__PTC10 0x10000 /* USDHC0 CD */
211 IMX7ULP_PAD_PTD0__PTD0 0x20000 /* USDHC0 RST */
215 pinctrl_usdhc0_8bit: usdhc0grp_8bit {
217 IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43
218 IMX7ULP_PAD_PTD2__SDHC0_CLK 0x10042
219 IMX7ULP_PAD_PTD3__SDHC0_D7 0x43
220 IMX7ULP_PAD_PTD4__SDHC0_D6 0x43
221 IMX7ULP_PAD_PTD5__SDHC0_D5 0x43
222 IMX7ULP_PAD_PTD6__SDHC0_D4 0x43
223 IMX7ULP_PAD_PTD7__SDHC0_D3 0x43
224 IMX7ULP_PAD_PTD8__SDHC0_D2 0x43
225 IMX7ULP_PAD_PTD9__SDHC0_D1 0x43
226 IMX7ULP_PAD_PTD10__SDHC0_D0 0x43
227 IMX7ULP_PAD_PTD11__SDHC0_DQS 0x42
231 pinctrl_lpi2c7: lpi2c7grp {
233 IMX7ULP_PAD_PTF12__LPI2C7_SCL 0x27
234 IMX7ULP_PAD_PTF13__LPI2C7_SDA 0x27
238 pinctrl_lpspi3: lpspi3grp {
240 IMX7ULP_PAD_PTF16__LPSPI3_SIN 0x0
241 IMX7ULP_PAD_PTF17__LPSPI3_SOUT 0x0
242 IMX7ULP_PAD_PTF18__LPSPI3_SCK 0x0
243 IMX7ULP_PAD_PTF19__LPSPI3_PCS0 0x0
247 pinctrl_usbotg1_vbus: otg1vbusgrp {
249 IMX7ULP_PAD_PTC0__PTC0 0x20000
253 pinctrl_usbotg1_id: otg1idgrp {
255 IMX7ULP_PAD_PTC13__USB0_ID 0x10003
259 pinctrl_usdhc1: usdhc1grp {
261 IMX7ULP_PAD_PTE3__SDHC1_CMD 0x43
262 IMX7ULP_PAD_PTE2__SDHC1_CLK 0x10042
263 IMX7ULP_PAD_PTE1__SDHC1_D0 0x43
264 IMX7ULP_PAD_PTE0__SDHC1_D1 0x43
265 IMX7ULP_PAD_PTE5__SDHC1_D2 0x43
266 IMX7ULP_PAD_PTE4__SDHC1_D3 0x43
270 pinctrl_usdhc1_rst: usdhc1grp_rst {
272 IMX7ULP_PAD_PTE11__PTE11 0x20000 /* USDHC1 RST */
273 IMX7ULP_PAD_PTE13__PTE13 0x10003 /* USDHC1 CD */
274 IMX7ULP_PAD_PTE12__PTE12 0x10003 /* USDHC1 WP */
275 IMX7ULP_PAD_PTE14__SDHC1_VS 0x43 /* USDHC1 VSEL */
279 pinctrl_dsi_hdmi: dsi_hdmi_grp {
281 IMX7ULP_PAD_PTC18__PTC18 0x10003 /* DSI_HDMI_INT */
289 disp-dev = "mipi_dsi_northwest";
290 display = <&display0>;
292 display0: display@0 {
293 bits-per-pixel = <16>;
297 native-mode = <&timing0>;
299 clock-frequency = <9200000>;
312 pixelclk-active = <0>;
319 #address-cells = <1>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_lpi2c7>;
326 #address-cells = <1>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_lpi2c5>;
334 #address-cells = <1>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&pinctrl_lpspi3>;
342 compatible = "rohm,dh2228fv";
343 spi-max-frequency = <1000000>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&pinctrl_mipi_dsi_reset>;
350 lcd_panel = "TRULY-WVGA-TFT3P5581E";
351 resets = <&mipi_dsi_reset>;
355 &lpuart4 { /* console */
356 pinctrl-names = "default";
357 pinctrl-0 = <&pinctrl_lpuart4>;
362 pinctrl-names = "default";
363 pinctrl-0 = <&pinctrl_lpuart6>;
367 &lpuart7 { /* Uart test */
368 pinctrl-names = "default";
369 pinctrl-0 = <&pinctrl_lpuart7>;
378 vbus-supply = <®_usb_otg1_vbus>;
379 pinctrl-names = "default";
380 pinctrl-0 = <&pinctrl_usbotg1_id>;
392 pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
393 pinctrl-0 = <&pinctrl_usdhc0>;
394 pinctrl-1 = <&pinctrl_usdhc0>;
395 pinctrl-2 = <&pinctrl_usdhc0>;
396 pinctrl-3 = <&pinctrl_usdhc0>;
397 cd-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
398 vmmc-supply = <®_vsd_3v3>;
399 vqmmc-supply = <&vldo2_reg>;