2 * Copyright (C) 2017 Touchless Biometric Systems AG
3 * Tomas Novotny <tomas@novotny.cz>
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 as
12 * published by the Free Software Foundation; either version 2 of the
13 * License, or (at your option) any later version.
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.
45 #include "sun8i-a83t.dtsi"
46 #include "sunxi-common-regulators.dtsi"
49 model = "TBS A711 Tablet";
50 compatible = "tbs-biometrics,a711", "allwinner,sun8i-a83t";
58 stdout-path = "serial0:115200n8";
62 compatible = "regulator-fixed";
63 regulator-name = "vbat";
64 regulator-min-microvolt = <3700000>;
65 regulator-max-microvolt = <3700000>;
68 reg_vmain: reg-vmain {
69 compatible = "regulator-fixed";
70 regulator-name = "vmain";
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
73 gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>;
75 vin-supply = <®_vbat>;
78 wifi_pwrseq: wifi_pwrseq {
79 compatible = "mmc-pwrseq-simple";
80 reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 WL-PMU-EN */
83 * This is actually Bluetooth's clock, but we have to
84 * hook it up somewheere
86 clocks = <&ac100_rtc 1>;
87 clock-names = "ext_clock";
92 * An USB-2 hub is connected here, which also means we don't need to
93 * enable the OHCI controller.
100 * There's a modem connected here that needs to be initialised before
101 * being able to be enumerated.
108 vmmc-supply = <®_vcc3v3>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&mmc0_pins>;
111 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
116 mmc-pwrseq = <&wifi_pwrseq>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&mmc1_pins>;
120 vmmc-supply = <®_vcc3v3>;
121 vqmmc-supply = <®_vcc3v3>;
128 compatible = "brcm,bcm4329-fmac";
129 interrupt-parent = <&r_pio>;
130 interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* PL3 WL_WAKE_UP */
131 interrupt-names = "host-wake";
136 pinctrl-0 = <&mmc2_8bit_emmc_pins>;
137 pinctrl-names = "default";
138 vmmc-supply = <®_vcc3v3>;
139 vqmmc-supply = <®_vcc3v3>;
150 compatible = "x-powers,axp813";
152 interrupt-parent = <&r_intc>;
153 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
157 compatible = "x-powers,ac100";
161 compatible = "x-powers,ac100-codec";
162 interrupt-parent = <&r_pio>;
163 interrupts = <0 12 IRQ_TYPE_LEVEL_LOW>; /* PL12 */
165 clock-output-names = "4M_adda";
169 compatible = "x-powers,ac100-rtc";
170 interrupt-parent = <&r_intc>;
171 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
172 clocks = <&ac100_codec>;
174 clock-output-names = "cko1_rtc",
183 pinctrl-names = "default";
184 pinctrl-0 = <&uart0_pb_pins>;
188 /* There's the BT part of the AP6210 connected to that UART */
190 pinctrl-names = "default";
191 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
196 usb1_vbus_supply = <®_vcc5v0>;
197 usb2_vbus_supply = <®_vcc5v0>;