1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * Copyright 2015 Timesys Corporation.
4 * Copyright 2015 General Electric Company
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
11 * a) This file is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * version 2 as published by the Free Software Foundation.
15 * This file is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
22 * b) Permission is hereby granted, free of charge, to any person
23 * obtaining a copy of this software and associated documentation
24 * files (the "Software"), to deal in the Software without
25 * restriction, including without limitation the rights to use,
26 * copy, modify, merge, publish, distribute, sublicense, and/or
27 * sell copies of the Software, and to permit persons to whom the
28 * Software is furnished to do so, subject to the following
31 * The above copyright notice and this permission notice shall be
32 * included in all copies or substantial portions of the Software.
34 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41 * OTHER DEALINGS IN THE SOFTWARE.
44 #include "imx6q-ba16.dtsi"
48 compatible = "fixed-clock";
50 clock-frequency = <22000000>;
54 compatible = "gpio-poweroff";
55 gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
59 reg_wl18xx_vmmc: regulator-wl18xx {
60 compatible = "regulator-fixed";
61 regulator-name = "vwl1807";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
64 gpio = <&pca9539 3 GPIO_ACTIVE_HIGH>;
65 startup-delay-us = <70000>;
69 reg_wlan: regulator-wlan {
70 compatible = "regulator-fixed";
71 regulator-name = "3P3V_wlan";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
76 gpio = <&gpio6 14 GPIO_ACTIVE_HIGH>;
80 compatible = "fsl,imx6q-ba16-sgtl5000",
81 "fsl,imx-audio-sgtl5000";
82 model = "imx6q-ba16-sgtl5000";
83 ssi-controller = <&ssi1>;
84 audio-codec = <&sgtl5000>;
87 "Mic Jack", "Mic Bias",
88 "LINE_IN", "Line In Jack",
89 "Headphone Jack", "HP_OUT";
99 compatible = "virtual,mdio-gpio";
100 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>, /* mdc */
101 <&gpio2 7 GPIO_ACTIVE_HIGH>; /* mdio */
103 #address-cells = <1>;
107 compatible = "marvell,mv88e6085"; /* 88e6240*/
110 switch_ports: ports {
111 #address-cells = <1>;
116 #address-cells = <1>;
119 switchphy0: switchphy@0 {
123 switchphy1: switchphy@1 {
127 switchphy2: switchphy@2 {
131 switchphy3: switchphy@3 {
135 switchphy4: switchphy@4 {
144 cs-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&pinctrl_ecspi5>;
149 m25_eeprom: m25p80@0 {
150 compatible = "atmel,at25";
151 spi-max-frequency = <10000000>;
155 address-width = <16>;
160 pinctrl-names = "default", "gpio";
161 pinctrl-1 = <&pinctrl_i2c1_gpio>;
162 sda-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>;
163 scl-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
166 compatible = "nxp,pca9547";
168 #address-cells = <1>;
172 #address-cells = <1>;
176 ads7830: ads7830@48 {
177 compatible = "ti,ads7830";
181 mma8453: mma8453@1c {
182 compatible = "fsl,mma8453";
188 #address-cells = <1>;
193 compatible = "atmel,24c08";
197 mpl3115: mpl3115@60 {
198 compatible = "fsl,mpl3115";
204 #address-cells = <1>;
210 #address-cells = <1>;
215 compatible = "fsl,sgtl5000";
218 VDDA-supply = <®_1p8v>;
219 VDDIO-supply = <®_3p3v>;
224 #address-cells = <1>;
228 pca9539: pca9539@74 {
229 compatible = "nxp,pca9539";
233 interrupt-controller;
234 interrupt-parent = <&gpio2>;
235 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
241 line-name = "PCA9539-P12";
248 line-name = "PCA9539-P13";
255 line-name = "PCA9539-P14";
262 line-name = "PCA9539-P15";
269 line-name = "PCA9539-P16";
276 line-name = "PCA9539-P17";
282 #address-cells = <1>;
288 #address-cells = <1>;
294 #address-cells = <1>;
302 pinctrl-names = "default", "gpio";
303 pinctrl-1 = <&pinctrl_i2c2_gpio>;
304 sda-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
305 scl-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
309 pinctrl-names = "default", "gpio";
310 pinctrl-1 = <&pinctrl_i2c3_gpio>;
311 sda-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
312 scl-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
316 pinctrl_i2c1_gpio: i2c1gpiogrp {
318 MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0x1b0b0
319 MX6QDL_PAD_CSI0_DAT9__GPIO5_IO27 0x1b0b0
323 pinctrl_i2c2_gpio: i2c2gpiogrp {
325 MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x1b0b0
326 MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x1b0b0
330 pinctrl_i2c3_gpio: i2c3gpiogrp {
332 MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x1b0b0
333 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0
347 pinctrl-names = "default";
348 pinctrl-0 = <&pinctrl_usdhc4>;
350 vmmc-supply = <®_wl18xx_vmmc>;
354 keep-power-in-suspend;
356 max-frequency = <25000000>;
357 #address-cells = <1>;
362 compatible = "ti,wl1837";
364 interrupt-parent = <&gpio2>;
365 interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
366 tcxo-clock-frequency = <26000000>;
371 /* Synopsys, Inc. Device */
373 compatible = "pci16c3,abcd";
374 reg = <0x00000000 0 0 0 0>;
376 #address-cells = <3>;
378 #interrupt-cells = <1>;
382 #include "imx6q-bx50v3-uboot.dtsi"