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 as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
48 model = "Technexion Pico i.MX7D Board";
49 compatible = "technexion,imx7d-pico", "fsl,imx7d";
52 reg = <0x80000000 0x80000000>;
55 reg_ap6212: regulator-ap6212 {
56 compatible = "regulator-fixed";
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_reg_ap6212>;
59 regulator-name = "AP6212";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
62 gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>;
66 reg_2p5v: regulator-2p5v {
67 compatible = "regulator-fixed";
68 regulator-name = "2P5V";
69 regulator-min-microvolt = <2500000>;
70 regulator-max-microvolt = <2500000>;
74 reg_3p3v: regulator-3p3v {
75 compatible = "regulator-fixed";
76 regulator-name = "3P3V";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
82 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
83 compatible = "regulator-fixed";
84 regulator-name = "usb_otg1_vbus";
85 regulator-min-microvolt = <5000000>;
86 regulator-max-microvolt = <5000000>;
87 gpio = <&gpio4 5 GPIO_ACTIVE_LOW>;
90 reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
91 compatible = "regulator-fixed";
92 regulator-name = "usb_otg2_vbus";
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
97 reg_vref_1v8: regulator-vref-1v8 {
98 compatible = "regulator-fixed";
99 regulator-name = "vref-1v8";
100 regulator-min-microvolt = <1800000>;
101 regulator-max-microvolt = <1800000>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_i2c4>;
111 compatible = "fsl,pfuze3000";
116 regulator-min-microvolt = <700000>;
117 regulator-max-microvolt = <3300000>;
120 regulator-ramp-delay = <6250>;
122 /* use sw1c_reg to align with pfuze100/pfuze200 */
124 regulator-min-microvolt = <700000>;
125 regulator-max-microvolt = <1475000>;
128 regulator-ramp-delay = <6250>;
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1850000>;
139 regulator-min-microvolt = <900000>;
140 regulator-max-microvolt = <1650000>;
146 regulator-min-microvolt = <5000000>;
147 regulator-max-microvolt = <5150000>;
151 regulator-min-microvolt = <1000000>;
152 regulator-max-microvolt = <3000000>;
163 regulator-min-microvolt = <1800000>;
164 regulator-max-microvolt = <3300000>;
169 regulator-min-microvolt = <800000>;
170 regulator-max-microvolt = <1550000>;
174 regulator-min-microvolt = <2850000>;
175 regulator-max-microvolt = <3300000>;
180 regulator-min-microvolt = <2850000>;
181 regulator-max-microvolt = <3300000>;
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <3300000>;
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <3300000>;
200 &usdhc2 { /* Wifi SDIO */
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_usdhc2>;
205 keep-power-in-suspend;
207 vmmc-supply = <®_ap6212>;
212 pinctrl-names = "default", "state_100mhz", "state_200mhz";
213 pinctrl-0 = <&pinctrl_usdhc3>;
214 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
215 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
216 assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
217 assigned-clock-rates = <400000000>;
220 fsl,tuning-step = <2>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&pinctrl_wdog>;
228 fsl,ext-reset-output;
233 pinctrl_i2c4: i2c4grp {
235 MX7D_PAD_SAI1_RX_BCLK__I2C4_SDA 0x4000007f
236 MX7D_PAD_SAI1_RX_SYNC__I2C4_SCL 0x4000007f
240 pinctrl_reg_ap6212: regap6212grp {
242 MX7D_PAD_ECSPI1_SCLK__GPIO4_IO16 0x59
246 pinctrl_usdhc2: usdhc2grp {
248 MX7D_PAD_SD2_CMD__SD2_CMD 0x59
249 MX7D_PAD_SD2_CLK__SD2_CLK 0x19
250 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59
251 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59
252 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59
253 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59
257 pinctrl_usdhc3: usdhc3grp {
259 MX7D_PAD_SD3_CMD__SD3_CMD 0x59
260 MX7D_PAD_SD3_CLK__SD3_CLK 0x19
261 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
262 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
263 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
264 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
265 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
266 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
267 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
268 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
272 pinctrl_usdhc3_100mhz: usdhc3grp_100mhz {
274 MX7D_PAD_SD3_CMD__SD3_CMD 0x5a
275 MX7D_PAD_SD3_CLK__SD3_CLK 0x1a
276 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a
277 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a
278 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a
279 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a
280 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a
281 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a
282 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a
283 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a
287 pinctrl_usdhc3_200mhz: usdhc3grp_200mhz {
289 MX7D_PAD_SD3_CMD__SD3_CMD 0x5b
290 MX7D_PAD_SD3_CLK__SD3_CLK 0x1b
291 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b
292 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b
293 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b
294 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b
295 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b
296 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b
297 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b
298 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b
304 pinctrl_wdog: wdoggrp {
306 MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x74