2 * Copyright 2015 Timesys Corporation.
3 * Copyright 2015 General Electric Company
5 * This file is dual-licensed: you can use it either under the terms
6 * of the GPL or the X11 license, at your option. Note that this dual
7 * licensing only applies to this file, and not this project as a
10 * a) This file is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * version 2 as published by the Free Software Foundation.
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.
43 #include "imx6q-ba16.dtsi"
48 compatible = "fixed-clock";
51 clock-frequency = <22000000>;
56 compatible = "gpio-poweroff";
57 gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
61 reg_wl18xx_vmmc: regulator-wl18xx {
62 compatible = "regulator-fixed";
63 regulator-name = "vwl1807";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
66 gpio = <&pca9539 3 GPIO_ACTIVE_HIGH>;
67 startup-delay-us = <70000>;
71 reg_wlan: regulator-wlan {
72 compatible = "regulator-fixed";
73 regulator-name = "3P3V_wlan";
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
78 gpio = <&gpio6 14 GPIO_ACTIVE_HIGH>;
82 compatible = "fsl,imx6q-ba16-sgtl5000",
83 "fsl,imx-audio-sgtl5000";
84 model = "imx6q-ba16-sgtl5000";
85 ssi-controller = <&ssi1>;
86 audio-codec = <&sgtl5000>;
89 "Mic Jack", "Mic Bias",
90 "LINE_IN", "Line In Jack",
91 "Headphone Jack", "HP_OUT";
98 cs-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_ecspi5>;
103 m25_eeprom: m25p80@0 {
104 compatible = "atmel,at25";
105 spi-max-frequency = <10000000>;
109 address-width = <16>;
114 pinctrl-names = "default", "gpio";
115 pinctrl-1 = <&pinctrl_i2c1_gpio>;
116 sda-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>;
117 scl-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
120 compatible = "nxp,pca9547";
122 #address-cells = <1>;
126 #address-cells = <1>;
130 ads7830: ads7830@48 {
131 compatible = "ti,ads7830";
135 mma8453: mma8453@1c {
136 compatible = "fsl,mma8453";
142 #address-cells = <1>;
147 compatible = "atmel,24c08";
151 mpl3115: mpl3115@60 {
152 compatible = "fsl,mpl3115";
158 #address-cells = <1>;
164 #address-cells = <1>;
169 compatible = "fsl,sgtl5000";
172 VDDA-supply = <®_1p8v>;
173 VDDIO-supply = <®_3p3v>;
178 #address-cells = <1>;
182 pca9539: pca9539@74 {
183 compatible = "nxp,pca9539";
187 interrupt-controller;
188 interrupt-parent = <&gpio2>;
189 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
195 line-name = "PCA9539-P10";
202 line-name = "PCA9539-P11";
209 line-name = "PCA9539-P12";
216 line-name = "PCA9539-P13";
223 line-name = "PCA9539-P14";
230 line-name = "PCA9539-P15";
237 line-name = "PCA9539-P16";
244 line-name = "PCA9539-P17";
250 #address-cells = <1>;
256 #address-cells = <1>;
262 #address-cells = <1>;
270 pinctrl-names = "default", "gpio";
271 pinctrl-1 = <&pinctrl_i2c2_gpio>;
272 sda-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
273 scl-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
277 pinctrl-names = "default", "gpio";
278 pinctrl-1 = <&pinctrl_i2c3_gpio>;
279 sda-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
280 scl-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
284 pinctrl_i2c1_gpio: i2c1gpiogrp {
286 MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0x1b0b0
287 MX6QDL_PAD_CSI0_DAT9__GPIO5_IO27 0x1b0b0
291 pinctrl_i2c2_gpio: i2c2gpiogrp {
293 MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x1b0b0
294 MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x1b0b0
298 pinctrl_i2c3_gpio: i2c3gpiogrp {
300 MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x1b0b0
301 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0
307 pinctrl-names = "default";
308 pinctrl-0 = <&pinctrl_usdhc4>;
310 vmmc-supply = <®_wl18xx_vmmc>;
314 keep-power-in-suspend;
316 max-frequency = <25000000>;
317 #address-cells = <1>;
322 compatible = "ti,wl1837";
324 interrupt-parent = <&gpio2>;
325 interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
326 tcxo-clock-frequency = <26000000>;