GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / imx6qdl-hummingboard2.dtsi
1 /*
2  * Copyright (C) 2015 Rabeeh Khoury <rabeeh@solid-run.com>
3  *
4  * This file is dual-licensed: you can use it either under the terms
5  * of the GPL or the X11 license, at your option. Note that this dual
6  * licensing only applies to this file, and not this project as a
7  * whole.
8  *
9  *  a) This file is free software; you can redistribute it and/or
10  *     modify it under the terms of the GNU General Public License
11  *     version 2 as published by the Free Software Foundation.
12  *
13  *     This file is distributed in the hope that it will be useful,
14  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *     GNU General Public License for more details.
17  *
18  * Or, alternatively,
19  *
20  *  b) Permission is hereby granted, free of charge, to any person
21  *     obtaining a copy of this software and associated documentation
22  *     files (the "Software"), to deal in the Software without
23  *     restriction, including without limitation the rights to use,
24  *     copy, modify, merge, publish, distribute, sublicense, and/or
25  *     sell copies of the Software, and to permit persons to whom the
26  *     Software is furnished to do so, subject to the following
27  *     conditions:
28  *
29  *     The above copyright notice and this permission notice shall be
30  *     included in all copies or substantial portions of the Software.
31  *
32  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39  *     OTHER DEALINGS IN THE SOFTWARE.
40  */
41 #include <dt-bindings/sound/fsl-imx-audmux.h>
42
43 / {
44         /* Will be filled by the bootloader */
45         memory@10000000 {
46                 reg = <0x10000000 0>;
47         };
48
49         chosen {
50                 stdout-path = &uart1;
51         };
52
53         ir_recv: ir-receiver {
54                 compatible = "gpio-ir-receiver";
55                 gpios = <&gpio7 9 GPIO_ACTIVE_LOW>;
56                 pinctrl-names = "default";
57                 pinctrl-0 = <&pinctrl_hummingboard2_gpio7_9>;
58                 linux,rc-map-name = "rc-rc6-mce";
59         };
60
61         v_3v2: regulator-v-3v2 {
62                 compatible = "regulator-fixed";
63                 regulator-always-on;
64                 regulator-max-microvolt = <3300000>;
65                 regulator-min-microvolt = <3300000>;
66                 regulator-name = "v_3v2";
67         };
68
69         v_5v0: regulator-v-5v0 {
70                 compatible = "regulator-fixed";
71                 regulator-always-on;
72                 regulator-max-microvolt = <5000000>;
73                 regulator-min-microvolt = <5000000>;
74                 regulator-name = "v_5v0";
75         };
76
77         vcc_1p8: regulator-vcc-1p8 {
78                 compatible = "regulator-fixed";
79                 regulator-always-on;
80                 regulator-max-microvolt = <1800000>;
81                 regulator-min-microvolt = <1800000>;
82                 regulator-name = "vcc_1p8";
83                 vin-supply = <&v_3v2>;
84         };
85
86         v_sd: regulator-v-sd {
87                 compatible = "regulator-fixed";
88                 gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>;
89                 pinctrl-names = "default";
90                 pinctrl-0 = <&pinctrl_hummingboard2_vmmc>;
91                 regulator-boot-on;
92                 regulator-max-microvolt = <3300000>;
93                 regulator-min-microvolt = <3300000>;
94                 regulator-name = "v_sd";
95                 startup-delay-us = <1000>;
96                 vin-supply = <&v_3v2>;
97         };
98
99         v_usb1: regulator-v-usb1 {
100                 compatible = "regulator-fixed";
101                 enable-active-high;
102                 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
103                 pinctrl-names = "default";
104                 pinctrl-0 = <&pinctrl_hummingboard2_usbotg_vbus>;
105                 regulator-always-on;
106                 regulator-max-microvolt = <5000000>;
107                 regulator-min-microvolt = <5000000>;
108                 regulator-name = "v_usb1";
109                 vin-supply = <&v_5v0>;
110         };
111
112         v_usb2: regulator-v-usb2 {
113                 /* USB hub port 1 */
114                 compatible = "regulator-fixed";
115                 enable-active-high;
116                 gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
117                 pinctrl-names = "default";
118                 pinctrl-0 = <&pinctrl_hummingboard2_usbh1_vbus>;
119                 regulator-always-on;
120                 regulator-max-microvolt = <5000000>;
121                 regulator-min-microvolt = <5000000>;
122                 regulator-name = "v_usb2";
123                 vin-supply = <&v_5v0>;
124         };
125
126         v_usb3: regulator-v-usb3 {
127                 /* USB hub port 3 */
128                 compatible = "regulator-fixed";
129                 enable-active-high;
130                 gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
131                 pinctrl-names = "default";
132                 pinctrl-0 = <&pinctrl_hummingboard2_usbh2_vbus>;
133                 regulator-always-on;
134                 regulator-max-microvolt = <5000000>;
135                 regulator-min-microvolt = <5000000>;
136                 regulator-name = "v_usb3";
137                 vin-supply = <&v_5v0>;
138         };
139
140         v_usb4: regulator-v-usb4 {
141                 /* USB hub port 4 */
142                 compatible = "regulator-fixed";
143                 enable-active-high;
144                 gpio = <&gpio7 10 GPIO_ACTIVE_HIGH>;
145                 pinctrl-names = "default";
146                 pinctrl-0 = <&pinctrl_hummingboard2_usbh3_vbus>;
147                 regulator-always-on;
148                 regulator-max-microvolt = <5000000>;
149                 regulator-min-microvolt = <5000000>;
150                 regulator-name = "v_usb4";
151                 vin-supply = <&v_5v0>;
152         };
153
154         audio: sound-sgtl5000 {
155                 compatible = "simple-audio-card";
156                 simple-audio-card,name = "On-board Codec";
157                 simple-audio-card,format = "i2s";
158                 simple-audio-card,bitclock-master = <&sound_codec>;
159                 simple-audio-card,frame-master = <&sound_codec>;
160                 simple-audio-card,widgets =
161                         "Microphone", "Mic Jack",
162                         "Headphone", "Headphone Jack";
163                 simple-audio-card,routing =
164                         "MIC_IN", "Mic Jack",
165                         "Mic Jack", "Mic Bias",
166                         "Headphone Jack", "HP_OUT";
167
168                 sound_cpu: simple-audio-card,cpu {
169                         sound-dai = <&ssi1>;
170                 };
171
172                 sound_codec: simple-audio-card,codec {
173                         sound-dai = <&sgtl5000>;
174                 };
175         };
176 };
177
178 &audmux {
179         status = "okay";
180
181         ssi1 {
182                 fsl,audmux-port = <0>;
183                 fsl,port-config = <
184                         (IMX_AUDMUX_V2_PTCR_SYN |
185                          IMX_AUDMUX_V2_PTCR_TFSEL(4) |
186                          IMX_AUDMUX_V2_PTCR_TCSEL(4) |
187                          IMX_AUDMUX_V2_PTCR_TFSDIR |
188                          IMX_AUDMUX_V2_PTCR_TCLKDIR)
189                          IMX_AUDMUX_V2_PDCR_RXDSEL(4)
190                 >;
191         };
192
193         pins5 {
194                 fsl,audmux-port = <4>;
195                 fsl,port-config = <
196                         IMX_AUDMUX_V2_PTCR_SYN
197                         IMX_AUDMUX_V2_PDCR_RXDSEL(0)
198                 >;
199         };
200 };
201
202 &ecspi2 {
203         pinctrl-names = "default";
204         pinctrl-0 = <&pinctrl_hummingboard2_ecspi2>;
205         cs-gpios = <&gpio2 26 0>;
206         status = "okay";
207 };
208
209 &hdmi {
210         pinctrl-names = "default";
211         pinctrl-0 = <&pinctrl_hummingboard2_hdmi>;
212         ddc-i2c-bus = <&i2c2>;
213         status = "okay";
214 };
215
216 &i2c1 {
217         clock-frequency = <100000>;
218         pinctrl-names = "default";
219         pinctrl-0 = <&pinctrl_hummingboard2_i2c1>;
220         status = "okay";
221
222         pcf8523: rtc@68 {
223                 compatible = "nxp,pcf8523";
224                 reg = <0x68>;
225         };
226
227         sgtl5000: codec@a {
228                 clocks = <&clks IMX6QDL_CLK_CKO>;
229                 compatible = "fsl,sgtl5000";
230                 #sound-dai-cells = <0>;
231                 pinctrl-names = "default";
232                 pinctrl-0 = <&pinctrl_hummingboard2_sgtl5000>;
233                 reg = <0x0a>;
234                 VDDA-supply = <&v_3v2>;
235                 VDDD-supply = <&vcc_1p8>;
236                 VDDIO-supply = <&v_3v2>;
237         };
238 };
239
240 &i2c2 {
241         clock-frequency = <100000>;
242         pinctrl-names = "default";
243         pinctrl-0 = <&pinctrl_hummingboard2_i2c2>;
244         status = "okay";
245 };
246
247 &i2c3 {
248         clock-frequency = <100000>;
249         pinctrl-names = "default";
250         pinctrl-0 = <&pinctrl_hummingboard2_i2c3>;
251         status = "okay";
252 };
253
254 &iomuxc {
255         pinctrl-names = "default";
256         pinctrl-0 = <&pinctrl_hog>;
257
258         hummingboard2 {
259                 pinctrl_hog: hoggrp {
260                 fsl,pins = <
261                                 /*
262                                  * 36 pin headers GPIO description. The pins
263                                  * numbering as following -
264                                  *
265                                  *      3.2v    5v      74      75
266                                  *      73      72      71      70
267                                  *      69      68      67      66
268                                  *
269                                  *      77      78      79      76
270                                  *      65      64      61      60
271                                  *      53      52      51      50
272                                  *      49      48      166     132
273                                  *      95      94      90      91
274                                  *      GND     54      24      204
275                                  *
276                                  * The GPIO numbers can be extracted using
277                                  * signal name from below.
278                                  * Example -
279                                  * MX6QDL_PAD_EIM_DA10__GPIO3_IO10 is
280                                  * GPIO(3,10) which is (3-1)*32+10 = gpio 74
281                                  *
282                                  * i.e. The mapping of GPIO(X,Y) to Linux gpio
283                                  * number is : gpio number = (X-1) * 32 + Y
284                                  */
285                                 /* DI1_PIN15 */
286                                 MX6QDL_PAD_EIM_DA10__GPIO3_IO10 0x400130b1
287                                 /* DI1_PIN02 */
288                                 MX6QDL_PAD_EIM_DA11__GPIO3_IO11 0x400130b1
289                                 /* DISP1_DATA00 */
290                                 MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x400130b1
291                                 /* DISP1_DATA01 */
292                                 MX6QDL_PAD_EIM_DA8__GPIO3_IO08 0x400130b1
293                                 /* DISP1_DATA02 */
294                                 MX6QDL_PAD_EIM_DA7__GPIO3_IO07 0x400130b1
295                                 /* DISP1_DATA03 */
296                                 MX6QDL_PAD_EIM_DA6__GPIO3_IO06 0x400130b1
297                                 /* DISP1_DATA04 */
298                                 MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x400130b1
299                                 /* DISP1_DATA05 */
300                                 MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x400130b1
301                                 /* DISP1_DATA06 */
302                                 MX6QDL_PAD_EIM_DA3__GPIO3_IO03 0x400130b1
303                                 /* DISP1_DATA07 */
304                                 MX6QDL_PAD_EIM_DA2__GPIO3_IO02 0x400130b1
305                                 /* DI1_D0_CS */
306                                 MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x400130b1
307                                 /* DI1_D1_CS */
308                                 MX6QDL_PAD_EIM_DA14__GPIO3_IO14 0x400130b1
309                                 /* DI1_PIN01 */
310                                 MX6QDL_PAD_EIM_DA15__GPIO3_IO15 0x400130b1
311                                 /* DI1_PIN03 */
312                                 MX6QDL_PAD_EIM_DA12__GPIO3_IO12 0x400130b1
313                                 /* DISP1_DATA08 */
314                                 MX6QDL_PAD_EIM_DA1__GPIO3_IO01 0x400130b1
315                                 /* DISP1_DATA09 */
316                                 MX6QDL_PAD_EIM_DA0__GPIO3_IO00 0x400130b1
317                                 /* DISP1_DATA10 */
318                                 MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x400130b1
319                                 /* DISP1_DATA11 */
320                                 MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x400130b1
321                                 /* DISP1_DATA12 */
322                                 MX6QDL_PAD_EIM_A17__GPIO2_IO21 0x400130b1
323                                 /* DISP1_DATA13 */
324                                 MX6QDL_PAD_EIM_A18__GPIO2_IO20 0x400130b1
325                                 /* DISP1_DATA14 */
326                                 MX6QDL_PAD_EIM_A19__GPIO2_IO19 0x400130b1
327                                 /* DISP1_DATA15 */
328                                 MX6QDL_PAD_EIM_A20__GPIO2_IO18 0x400130b1
329                                 /* DISP1_DATA16 */
330                                 MX6QDL_PAD_EIM_A21__GPIO2_IO17 0x400130b1
331                                 /* DISP1_DATA17 */
332                                 MX6QDL_PAD_EIM_A22__GPIO2_IO16 0x400130b1
333                                 /* DISP1_DATA18 */
334                                 MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x400130b1
335                                 /* DISP1_DATA19 */
336                                 MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x400130b1
337                                 /* DISP1_DATA20 */
338                                 MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x400130b1
339                                 /* DISP1_DATA21 */
340                                 MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x400130b1
341                                 /* DISP1_DATA22 */
342                                 MX6QDL_PAD_EIM_D26__GPIO3_IO26 0x400130b1
343                                 /* DISP1_DATA23 */
344                                 MX6QDL_PAD_EIM_D27__GPIO3_IO27 0x400130b1
345                                 /* DI1_DISP_CLK */
346                                 MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x400130b1
347                                 /* SPDIF_IN */
348                                 MX6QDL_PAD_ENET_RX_ER__GPIO1_IO24 0x400130b1
349                                 /* SPDIF_OUT */
350                                 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x400130b1
351
352                                 /* MikroBUS GPIO pin number 10 */
353                                 MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x400130b1
354                         >;
355                 };
356
357                 pinctrl_hummingboard2_ecspi2: hummingboard2-ecspi2grp {
358                         fsl,pins = <
359                                 MX6QDL_PAD_EIM_OE__ECSPI2_MISO  0x100b1
360                                 MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1
361                                 MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1
362                                 MX6QDL_PAD_EIM_RW__GPIO2_IO26   0x000b1 /* CS */
363                         >;
364                 };
365
366                 pinctrl_hummingboard2_gpio7_9: hummingboard2-gpio7_9 {
367                         fsl,pins = <
368                                 MX6QDL_PAD_SD4_CMD__GPIO7_IO09 0x80000000
369                         >;
370                 };
371
372                 pinctrl_hummingboard2_hdmi: hummingboard2-hdmi {
373                         fsl,pins = <
374                                 MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
375                         >;
376                 };
377
378                 pinctrl_hummingboard2_i2c1: hummingboard2-i2c1 {
379                         fsl,pins = <
380                                 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
381                                 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
382                         >;
383                 };
384
385                 pinctrl_hummingboard2_i2c2: hummingboard2-i2c2 {
386                         fsl,pins = <
387                                 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
388                                 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
389                         >;
390                 };
391
392                 pinctrl_hummingboard2_i2c3: hummingboard2-i2c3 {
393                         fsl,pins = <
394                                 MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
395                                 MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
396                         >;
397                 };
398
399                 pinctrl_hummingboard2_mipi: hummingboard2_mipi {
400                         fsl,pins = <
401                                 MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x4001b8b1
402                                 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x4001b8b1
403                                 MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x130b0
404                         >;
405                 };
406
407                 pinctrl_hummingboard2_pcie_reset: hummingboard2-pcie-reset {
408                         fsl,pins = <
409                                 MX6QDL_PAD_SD4_DAT3__GPIO2_IO11 0x1b0b1
410                         >;
411                 };
412
413                 pinctrl_hummingboard2_pwm1: pwm1grp {
414                         fsl,pins = <
415                                 MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1
416                         >;
417                 };
418
419                 pinctrl_hummingboard2_pwm3: pwm3grp {
420                         fsl,pins = <
421                                 MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
422                         >;
423                 };
424
425                 pinctrl_hummingboard2_sgtl5000: hummingboard2-sgtl5000 {
426                         fsl,pins = <
427                                 MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
428                                 MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0
429                                 MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0
430                                 MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0
431                                 MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0
432                         >;
433                 };
434
435                 pinctrl_hummingboard2_usbh1_vbus: hummingboard2-usbh1-vbus {
436                         fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0>;
437                 };
438
439                 pinctrl_hummingboard2_usbh2_vbus: hummingboard2-usbh2-vbus {
440                         fsl,pins = <MX6QDL_PAD_SD4_DAT5__GPIO2_IO13 0x1b0b0>;
441                 };
442
443                 pinctrl_hummingboard2_usbh3_vbus: hummingboard2-usbh3-vbus {
444                         fsl,pins = <MX6QDL_PAD_SD4_CLK__GPIO7_IO10 0x1b0b0>;
445                 };
446
447                 pinctrl_hummingboard2_usbotg_id: hummingboard2-usbotg-id {
448                         /*
449                          * We want it pulled down for a fixed host connection.
450                          */
451                         fsl,pins = <MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x13059>;
452                 };
453
454                 pinctrl_hummingboard2_usbotg_vbus: hummingboard2-usbotg-vbus {
455                         fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0>;
456                 };
457
458                 pinctrl_hummingboard2_usdhc2_aux: hummingboard2-usdhc2-aux {
459                         fsl,pins = <
460                                 MX6QDL_PAD_GPIO_4__GPIO1_IO04    0x1f071
461                                 MX6QDL_PAD_KEY_ROW1__SD2_VSELECT 0x1b071
462                         >;
463                 };
464
465                 pinctrl_hummingboard2_usdhc2: hummingboard2-usdhc2 {
466                         fsl,pins = <
467                                 MX6QDL_PAD_SD2_CMD__SD2_CMD    0x17059
468                                 MX6QDL_PAD_SD2_CLK__SD2_CLK    0x10059
469                                 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
470                                 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
471                                 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
472                                 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059
473                         >;
474                 };
475
476                 pinctrl_hummingboard2_usdhc2_100mhz: hummingboard2-usdhc2-100mhz {
477                         fsl,pins = <
478                                 MX6QDL_PAD_SD2_CMD__SD2_CMD    0x170b9
479                                 MX6QDL_PAD_SD2_CLK__SD2_CLK    0x100b9
480                                 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170b9
481                                 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170b9
482                                 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170b9
483                                 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x130b9
484                         >;
485                 };
486
487                 pinctrl_hummingboard2_usdhc2_200mhz: hummingboard2-usdhc2-200mhz {
488                         fsl,pins = <
489                                 MX6QDL_PAD_SD2_CMD__SD2_CMD    0x170f9
490                                 MX6QDL_PAD_SD2_CLK__SD2_CLK    0x100f9
491                                 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170f9
492                                 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170f9
493                                 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170f9
494                                 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x130f9
495                         >;
496                 };
497
498                 pinctrl_hummingboard2_vmmc: hummingboard2-vmmc {
499                         fsl,pins = <
500                                 MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0
501                         >;
502                 };
503
504                 pinctrl_hummingboard2_uart3: hummingboard2-uart3 {
505                         fsl,pins = <
506                                 MX6QDL_PAD_EIM_D25__UART3_TX_DATA       0x1b0b1
507                                 MX6QDL_PAD_EIM_D24__UART3_RX_DATA       0x40013000
508                         >;
509                 };
510         };
511 };
512
513 &pcie {
514         pinctrl-names = "default";
515         pinctrl-0 = <&pinctrl_hummingboard2_pcie_reset>;
516         reset-gpio = <&gpio2 11 GPIO_ACTIVE_LOW>;
517         status = "okay";
518 };
519
520 &pwm1 {
521         pinctrl-names = "default";
522         pinctrl-0 = <&pinctrl_hummingboard2_pwm1>;
523         status = "okay";
524 };
525
526 &pwm3 {
527         pinctrl-names = "default";
528         pinctrl-0 = <&pinctrl_hummingboard2_pwm3>;
529         status = "okay";
530 };
531
532 &ssi1 {
533         status = "okay";
534 };
535
536 &usbh1 {
537         disable-over-current;
538         status = "okay";
539 };
540
541 &usbotg {
542         disable-over-current;
543         pinctrl-names = "default";
544         pinctrl-0 = <&pinctrl_hummingboard2_usbotg_id>;
545         vbus-supply = <&v_usb1>;
546         status = "okay";
547 };
548
549 &usdhc2 {
550         pinctrl-names = "default", "state_100mhz", "state_200mhz";
551         pinctrl-0 = <
552                 &pinctrl_hummingboard2_usdhc2_aux
553                 &pinctrl_hummingboard2_usdhc2
554         >;
555         pinctrl-1 = <
556                 &pinctrl_hummingboard2_usdhc2_aux
557                 &pinctrl_hummingboard2_usdhc2_100mhz
558         >;
559         pinctrl-2 = <
560                 &pinctrl_hummingboard2_usdhc2_aux
561                 &pinctrl_hummingboard2_usdhc2_200mhz
562         >;
563         vmmc-supply = <&v_sd>;
564         cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
565         status = "okay";
566 };
567
568 &uart3 {
569         pinctrl-names = "default";
570         pinctrl-0 = <&pinctrl_hummingboard2_uart3>;
571         status = "okay";
572 };
573
574 &vcc_3v3 {
575         vin-supply = <&v_3v2>;
576 };