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"
45 #include "imx6q-bx50v3-uboot.dtsi"
49 compatible = "fixed-clock";
51 clock-frequency = <22000000>;
55 compatible = "gpio-poweroff";
56 gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
60 reg_wl18xx_vmmc: regulator-wl18xx {
61 compatible = "regulator-fixed";
62 regulator-name = "vwl1807";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
65 gpio = <&pca9539 3 GPIO_ACTIVE_HIGH>;
66 startup-delay-us = <70000>;
70 reg_wlan: regulator-wlan {
71 compatible = "regulator-fixed";
72 regulator-name = "3P3V_wlan";
73 regulator-min-microvolt = <3300000>;
74 regulator-max-microvolt = <3300000>;
77 gpio = <&gpio6 14 GPIO_ACTIVE_HIGH>;
81 compatible = "fsl,imx6q-ba16-sgtl5000",
82 "fsl,imx-audio-sgtl5000";
83 model = "imx6q-ba16-sgtl5000";
84 ssi-controller = <&ssi1>;
85 audio-codec = <&sgtl5000>;
88 "Mic Jack", "Mic Bias",
89 "LINE_IN", "Line In Jack",
90 "Headphone Jack", "HP_OUT";
100 compatible = "virtual,mdio-gpio";
101 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>, /* mdc */
102 <&gpio2 7 GPIO_ACTIVE_HIGH>; /* mdio */
104 #address-cells = <1>;
108 compatible = "marvell,mv88e6085"; /* 88e6240*/
111 switch_ports: ports {
112 #address-cells = <1>;
117 #address-cells = <1>;
120 switchphy0: switchphy@0 {
124 switchphy1: switchphy@1 {
128 switchphy2: switchphy@2 {
132 switchphy3: switchphy@3 {
136 switchphy4: switchphy@4 {
145 cs-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pinctrl_ecspi5>;
150 m25_eeprom: m25p80@0 {
151 compatible = "atmel,at25";
152 spi-max-frequency = <10000000>;
156 address-width = <16>;
161 pinctrl-names = "default", "gpio";
162 pinctrl-1 = <&pinctrl_i2c1_gpio>;
163 sda-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>;
164 scl-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
167 compatible = "nxp,pca9547";
169 #address-cells = <1>;
173 #address-cells = <1>;
177 ads7830: ads7830@48 {
178 compatible = "ti,ads7830";
182 mma8453: mma8453@1c {
183 compatible = "fsl,mma8453";
189 #address-cells = <1>;
194 compatible = "atmel,24c08";
198 mpl3115: mpl3115@60 {
199 compatible = "fsl,mpl3115";
205 #address-cells = <1>;
211 #address-cells = <1>;
216 compatible = "fsl,sgtl5000";
219 VDDA-supply = <®_1p8v>;
220 VDDIO-supply = <®_3p3v>;
225 #address-cells = <1>;
229 pca9539: pca9539@74 {
230 compatible = "nxp,pca9539";
234 interrupt-controller;
235 interrupt-parent = <&gpio2>;
236 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
242 line-name = "PCA9539-P12";
249 line-name = "PCA9539-P13";
256 line-name = "PCA9539-P14";
263 line-name = "PCA9539-P15";
270 line-name = "PCA9539-P16";
277 line-name = "PCA9539-P17";
283 #address-cells = <1>;
289 #address-cells = <1>;
295 #address-cells = <1>;
303 pinctrl-names = "default", "gpio";
304 pinctrl-1 = <&pinctrl_i2c2_gpio>;
305 sda-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
306 scl-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
310 pinctrl-names = "default", "gpio";
311 pinctrl-1 = <&pinctrl_i2c3_gpio>;
312 sda-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
313 scl-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
317 pinctrl_i2c1_gpio: i2c1gpiogrp {
319 MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0x1b0b0
320 MX6QDL_PAD_CSI0_DAT9__GPIO5_IO27 0x1b0b0
324 pinctrl_i2c2_gpio: i2c2gpiogrp {
326 MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x1b0b0
327 MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x1b0b0
331 pinctrl_i2c3_gpio: i2c3gpiogrp {
333 MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x1b0b0
334 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0
348 pinctrl-names = "default";
349 pinctrl-0 = <&pinctrl_usdhc4>;
351 vmmc-supply = <®_wl18xx_vmmc>;
355 keep-power-in-suspend;
357 max-frequency = <25000000>;
358 #address-cells = <1>;
363 compatible = "ti,wl1837";
365 interrupt-parent = <&gpio2>;
366 interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
367 tcxo-clock-frequency = <26000000>;
372 /* Synopsys, Inc. Device */
374 compatible = "pci16c3,abcd";
375 reg = <0x00000000 0 0 0 0>;
377 #address-cells = <3>;
379 #interrupt-cells = <1>;