2 * Copyright (C) 2013,2014 Russell King
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
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.
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.
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
29 * The above copyright notice and this permission notice shall be
30 * included in all copies or substantial portions of the Software.
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.
43 /* Will be filled by the bootloader */
52 ir_recv: ir-receiver {
53 compatible = "gpio-ir-receiver";
54 gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>;
59 v_3v2: regulator-v-3v2 {
60 compatible = "regulator-fixed";
62 regulator-max-microvolt = <3300000>;
63 regulator-min-microvolt = <3300000>;
64 regulator-name = "v_3v2";
65 vin-supply = <&v_5v0>;
68 v_5v0: regulator-v-5v0 {
69 compatible = "regulator-fixed";
71 regulator-max-microvolt = <5000000>;
72 regulator-min-microvolt = <5000000>;
73 regulator-name = "v_5v0";
76 v_sd: regulator-v-sd {
77 compatible = "regulator-fixed";
78 gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_hummingboard_vmmc>;
82 regulator-max-microvolt = <3300000>;
83 regulator-min-microvolt = <3300000>;
84 regulator-name = "v_sd";
85 startup-delay-us = <1000>;
86 vin-supply = <&v_3v2>;
89 v_usb2: regulator-v-usb2 {
90 compatible = "regulator-fixed";
92 gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>;
95 regulator-max-microvolt = <5000000>;
96 regulator-min-microvolt = <5000000>;
97 regulator-name = "v_usb2";
98 vin-supply = <&v_5v0>;
101 v_usb1: regulator-v-usb1 {
102 compatible = "regulator-fixed";
104 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>;
107 regulator-max-microvolt = <5000000>;
108 regulator-min-microvolt = <5000000>;
109 regulator-name = "v_usb1";
110 vin-supply = <&v_5v0>;
114 audio-codec = <&sgtl5000>;
116 "MIC_IN", "Mic Jack",
117 "Mic Jack", "Mic Bias",
118 "Headphone Jack", "HP_OUT";
119 compatible = "fsl,imx-audio-sgtl5000";
120 model = "On-board Codec";
123 ssi-controller = <&ssi1>;
127 compatible = "fsl,imx-audio-spdif";
128 model = "On-board SPDIF";
129 /* IMX6 doesn't implement this yet */
130 spdif-controller = <&spdif>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_hummingboard_flexcan1>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pinctrl_hummingboard_hdmi>;
148 ddc-i2c-bus = <&i2c2>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pinctrl_hummingboard_i2c1>;
157 /* Pro baseboard model */
159 compatible = "nxp,pcf8523";
163 /* Pro baseboard model */
165 clocks = <&clks IMX6QDL_CLK_CKO>;
166 compatible = "fsl,sgtl5000";
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_hummingboard_sgtl5000>;
170 VDDA-supply = <&v_3v2>;
171 VDDIO-supply = <&v_3v2>;
176 clock-frequency = <100000>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_hummingboard_i2c2>;
184 pinctrl_hummingboard_flexcan1: hummingboard-flexcan1 {
186 MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000
187 MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000
191 pinctrl_hummingboard_gpio3_5: hummingboard-gpio3_5 {
193 MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x1b0b1
197 pinctrl_hummingboard_hdmi: hummingboard-hdmi {
199 MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
203 pinctrl_hummingboard_i2c1: hummingboard-i2c1 {
205 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
206 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
210 pinctrl_hummingboard_i2c2: hummingboard-i2c2 {
212 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
213 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
217 pinctrl_hummingboard_pcie_reset: hummingboard-pcie-reset {
219 MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x1b0b1
223 pinctrl_hummingboard_pwm1: pwm1grp {
224 fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>;
227 pinctrl_hummingboard_sgtl5000: hummingboard-sgtl5000 {
229 MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
230 MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0
231 MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0
232 MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0
233 MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0
237 pinctrl_hummingboard_spdif: hummingboard-spdif {
238 fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
241 pinctrl_hummingboard_usbh1_vbus: hummingboard-usbh1-vbus {
242 fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0>;
245 pinctrl_hummingboard_usbotg_id: hummingboard-usbotg-id {
247 * We want it pulled down for a fixed host connection.
249 fsl,pins = <MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x13059>;
252 pinctrl_hummingboard_usbotg_vbus: hummingboard-usbotg-vbus {
253 fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0>;
256 pinctrl_hummingboard_usdhc2_aux: hummingboard-usdhc2-aux {
258 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1f071
262 pinctrl_hummingboard_usdhc2: hummingboard-usdhc2 {
264 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
265 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
266 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
267 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
268 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
269 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059
272 pinctrl_hummingboard_vmmc: hummingboard-vmmc {
274 MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0
281 pinctrl-names = "default";
282 pinctrl-0 = <&pinctrl_hummingboard_pcie_reset>;
283 reset-gpio = <&gpio3 4 GPIO_ACTIVE_LOW>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&pinctrl_hummingboard_pwm1>;
294 pinctrl-names = "default";
299 pinctrl-names = "default";
300 pinctrl-0 = <&pinctrl_hummingboard_spdif>;
309 disable-over-current;
310 vbus-supply = <&v_usb2>;
315 disable-over-current;
316 pinctrl-names = "default";
317 pinctrl-0 = <&pinctrl_hummingboard_usbotg_id>;
318 vbus-supply = <&v_usb1>;
323 pinctrl-names = "default";
325 &pinctrl_hummingboard_usdhc2_aux
326 &pinctrl_hummingboard_usdhc2
328 vmmc-supply = <&v_sd>;
329 cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
334 vin-supply = <&v_3v2>;