1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org>
4 * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io>
5 * Copyright (C) 2018 Hao Zhang <hao5781286@gmail.com>
7 * This file is dual-licensed: you can use it either under the terms
8 * of the GPL or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
12 * a) This file is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of the
15 * License, or (at your option) any later version.
17 * This file is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
47 #include "sun8i-r40.dtsi"
48 #include "sun8i-r40-cpu-opp.dtsi"
50 #include <dt-bindings/gpio/gpio.h>
53 model = "t3-cqa3t-bv3";
54 compatible = "qihua,t3-cqa3t-bv3", "allwinner,sun8i-t3",
55 "allwinner,sun8i-r40";
62 stdout-path = "serial0:115200n8";
66 compatible = "hdmi-connector";
70 hdmi_con_in: endpoint {
71 remote-endpoint = <&hdmi_out_con>;
77 compatible = "regulator-fixed";
78 regulator-name = "vcc5v0";
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5000000>;
81 gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; /* PH23 */
87 ahci-supply = <®_dldo4>;
88 phy-supply = <®_eldo3>;
93 cpu-supply = <®_dcdc2>;
113 hdmi_out_con: endpoint {
114 remote-endpoint = <&hdmi_con_in>;
122 compatible = "x-powers,axp221";
124 interrupt-parent = <&nmi_intc>;
125 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
129 #include "axp22x.dtsi"
132 vmmc-supply = <®_dcdc1>;
134 cd-gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; /* PH15 */
139 vmmc-supply = <®_dcdc1>;
140 vqmmc-supply = <®_dcdc1>;
156 regulator-min-microvolt = <2500000>;
157 regulator-max-microvolt = <2500000>;
158 regulator-name = "vcc-pa";
163 regulator-min-microvolt = <2700000>;
164 regulator-max-microvolt = <3300000>;
165 regulator-name = "avcc";
170 regulator-min-microvolt = <3000000>;
171 regulator-max-microvolt = <3000000>;
172 regulator-name = "vcc-3v0";
177 regulator-min-microvolt = <1000000>;
178 regulator-max-microvolt = <1300000>;
179 regulator-name = "vdd-cpu";
184 regulator-min-microvolt = <1000000>;
185 regulator-max-microvolt = <1300000>;
186 regulator-name = "vdd-sys";
191 regulator-min-microvolt = <1500000>;
192 regulator-max-microvolt = <1500000>;
193 regulator-name = "vcc-dram";
198 regulator-min-microvolt = <3300000>;
199 regulator-max-microvolt = <3300000>;
200 regulator-name = "vcc-pg";
205 regulator-min-microvolt = <3300000>;
206 regulator-max-microvolt = <3300000>;
207 regulator-name = "vcc-dldo3";
212 regulator-min-microvolt = <2800000>;
213 regulator-max-microvolt = <2800000>;
214 regulator-name = "vcc-pe";
222 pinctrl-names = "default";
223 pinctrl-0 = <&uart0_pb_pins>;
228 usb1_vbus-supply = <®_vcc5v0>;
229 usb2_vbus-supply = <®_vcc5v0>;