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,0x402D0010,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_usb_otg1>;
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>;
87 reg_vsd_3v3b: regulator@2 {
88 compatible = "regulator-fixed";
90 regulator-name = "VSD_3V3B";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;
93 gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
98 extcon_usb1: extcon_usb1 {
99 compatible = "linux,extcon-usb-gpio";
100 id-gpio = <&gpio0 8 GPIO_ACTIVE_HIGH>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_extcon_usb1>;
106 compatible = "fsl,pf1550-rpmsg";
108 regulator-name = "SW1";
109 regulator-min-microvolt = <600000>;
110 regulator-max-microvolt = <1387500>;
116 regulator-name = "SW2";
117 regulator-min-microvolt = <600000>;
118 regulator-max-microvolt = <1387500>;
124 regulator-name = "SW3";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <3300000>;
132 regulator-name = "VREFDDR";
133 regulator-min-microvolt = <1200000>;
134 regulator-max-microvolt = <1200000>;
140 regulator-name = "LDO1";
141 regulator-min-microvolt = <750000>;
142 regulator-max-microvolt = <3300000>;
147 regulator-name = "LDO2";
148 regulator-min-microvolt = <1800000>;
149 regulator-max-microvolt = <3300000>;
154 regulator-name = "LDO3";
155 regulator-min-microvolt = <750000>;
156 regulator-max-microvolt = <3300000>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pinctrl_hog_1>;
167 pinctrl_hog_1: hoggrp-1 {
169 ULP1_PAD_PTC10__PTC10 0x30100 /* USDHC0 CD */
170 ULP1_PAD_PTC1__PTC1 0x20100
171 ULP1_PAD_PTD0__PTD0 0x30100 /* USDHC0 RST */
172 ULP1_PAD_PTE13__PTE13 0x30103 /* USDHC1 CD */
173 ULP1_PAD_PTE12__PTE12 0x30103 /* USDHC1 WP */
174 ULP1_PAD_PTE14__SDHC1_VS 0x843 /* USDHC1 VSEL */
178 pinctrl_backlight: backlight_grp {
180 ULP1_PAD_PTF2__PTF2 0x20100
184 pinctrl_lpi2c5: lpi2c5grp {
186 ULP1_PAD_PTC4__LPI2C5_SCL 0x527
187 ULP1_PAD_PTC5__LPI2C5_SDA 0x527
191 pinctrl_mipi_dsi_reset: mipi_dsi_reset_grp {
193 ULP1_PAD_PTC19__PTC19 0x20103
197 pinctrl_lpuart4: lpuart4grp {
199 ULP1_PAD_PTC3__LPUART4_RX 0x400
200 ULP1_PAD_PTC2__LPUART4_TX 0x400
204 pinctrl_lpuart6: lpuart6grp {
206 ULP1_PAD_PTE10__LPUART6_TX 0x400
207 ULP1_PAD_PTE11__LPUART6_RX 0x400
208 ULP1_PAD_PTE9__LPUART6_RTS_B 0x400
209 ULP1_PAD_PTE8__LPUART6_CTS_B 0x400
210 ULP1_PAD_PTE7__PTE7 0x00 /* BT_REG_ON */
214 pinctrl_lpuart7: lpuart7grp {
216 ULP1_PAD_PTF14__LPUART7_TX 0x400
217 ULP1_PAD_PTF15__LPUART7_RX 0x400
218 ULP1_PAD_PTF13__LPUART7_RTS_B 0x400
219 ULP1_PAD_PTF12__LPUART7_CTS_B 0x400
223 pinctrl_usdhc0: usdhc0grp {
225 ULP1_PAD_PTD1__SDHC0_CMD 0x843
226 ULP1_PAD_PTD2__SDHC0_CLK 0x10843
227 ULP1_PAD_PTD7__SDHC0_D3 0x843
228 ULP1_PAD_PTD8__SDHC0_D2 0x843
229 ULP1_PAD_PTD9__SDHC0_D1 0x843
230 ULP1_PAD_PTD10__SDHC0_D0 0x843
234 pinctrl_usdhc0_8bit: usdhc0grp_8bit {
236 ULP1_PAD_PTD1__SDHC0_CMD 0x843
237 ULP1_PAD_PTD2__SDHC0_CLK 0x843
238 ULP1_PAD_PTD3__SDHC0_D7 0x843
239 ULP1_PAD_PTD4__SDHC0_D6 0x843
240 ULP1_PAD_PTD5__SDHC0_D5 0x843
241 ULP1_PAD_PTD6__SDHC0_D4 0x843
242 ULP1_PAD_PTD7__SDHC0_D3 0x843
243 ULP1_PAD_PTD8__SDHC0_D2 0x843
244 ULP1_PAD_PTD9__SDHC0_D1 0x843
245 ULP1_PAD_PTD10__SDHC0_D0 0x843
249 pinctrl_lpi2c7: lpi2c7grp {
251 ULP1_PAD_PTF12__LPI2C7_SCL 0x527
252 ULP1_PAD_PTF13__LPI2C7_SDA 0x527
256 pinctrl_lpspi3: lpspi3grp {
258 ULP1_PAD_PTF16__LPSPI3_SIN 0x300
259 ULP1_PAD_PTF17__LPSPI3_SOUT 0x300
260 ULP1_PAD_PTF18__LPSPI3_SCK 0x300
261 ULP1_PAD_PTF19__LPSPI3_PCS0 0x300
265 pinctrl_usb_otg1: usbotg1grp {
267 ULP1_PAD_PTC0__PTC0 0x30100
271 pinctrl_extcon_usb1: extcon1grp {
273 ULP1_PAD_PTC8__PTC8 0x30103
277 pinctrl_usdhc1: usdhc1grp {
279 ULP1_PAD_PTE3__SDHC1_CMD 0x843
280 ULP1_PAD_PTE2__SDHC1_CLK 0x843
281 ULP1_PAD_PTE1__SDHC1_D0 0x843
282 ULP1_PAD_PTE0__SDHC1_D1 0x843
283 ULP1_PAD_PTE5__SDHC1_D2 0x843
284 ULP1_PAD_PTE4__SDHC1_D3 0x843
288 pinctrl_usdhc1_rst: usdhc1grp_rst {
290 ULP1_PAD_PTE11__PTE11 0x30100 /* USDHC1 RST */
294 pinctrl_wifi: wifigrp {
296 ULP1_PAD_PTE6__PTE6 0x43 /* WL_REG_ON */
304 disp-dev = "mipi_dsi_northwest";
305 display = <&display0>;
308 bits-per-pixel = <16>;
312 native-mode = <&timing0>;
314 clock-frequency = <9200000>;
327 pixelclk-active = <0>;
334 #address-cells = <1>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&pinctrl_lpi2c7>;
341 #address-cells = <1>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&pinctrl_lpi2c5>;
348 compatible = "fsl,fxas2100x";
353 compatible = "fsl,fxos8700";
358 compatible = "fsl,mpl3115";
364 #address-cells = <1>;
366 pinctrl-names = "default";
367 pinctrl-0 = <&pinctrl_lpspi3>;
372 compatible = "rohm,dh2228fv";
373 spi-max-frequency = <1000000>;
378 pinctrl-names = "default";
379 pinctrl-0 = <&pinctrl_mipi_dsi_reset>;
380 lcd_panel = "TRULY-WVGA-TFT3P5581E";
381 resets = <&mipi_dsi_reset>;
385 &lpuart4 { /* console */
386 pinctrl-names = "default";
387 pinctrl-0 = <&pinctrl_lpuart4>;
392 pinctrl-names = "default";
393 pinctrl-0 = <&pinctrl_lpuart6>;
397 &lpuart7 { /* Uart test */
398 pinctrl-names = "default";
399 pinctrl-0 = <&pinctrl_lpuart7>;
408 vbus-supply = <®_usb_otg1_vbus>;
409 extcon = <0>, <&extcon_usb1>;
417 pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
418 pinctrl-0 = <&pinctrl_usdhc0>;
419 pinctrl-1 = <&pinctrl_usdhc0>;
420 pinctrl-2 = <&pinctrl_usdhc0>;
421 pinctrl-3 = <&pinctrl_usdhc0>;
422 cd-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
423 vmmc-supply = <®_vsd_3v3>;
424 vqmmc-supply = <&vldo2_reg>;