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"
49 #include <dt-bindings/gpio/gpio.h>
52 model = "t3-cqa3t-bv3";
53 compatible = "qihua,t3-cqa3t-bv3", "allwinner,sun8i-t3",
54 "allwinner,sun8i-r40";
61 stdout-path = "serial0:115200n8";
65 compatible = "hdmi-connector";
69 hdmi_con_in: endpoint {
70 remote-endpoint = <&hdmi_out_con>;
76 compatible = "regulator-fixed";
77 regulator-name = "vcc5v0";
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
80 gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; /* PH23 */
86 ahci-supply = <®_dldo4>;
87 phy-supply = <®_eldo3>;
108 hdmi_out_con: endpoint {
109 remote-endpoint = <&hdmi_con_in>;
117 compatible = "x-powers,axp221";
119 interrupt-parent = <&nmi_intc>;
120 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
124 #include "axp22x.dtsi"
127 vmmc-supply = <®_dcdc1>;
129 cd-gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; /* PH15 */
134 vmmc-supply = <®_dcdc1>;
135 vqmmc-supply = <®_dcdc1>;
151 regulator-min-microvolt = <2500000>;
152 regulator-max-microvolt = <2500000>;
153 regulator-name = "vcc-pa";
158 regulator-min-microvolt = <2700000>;
159 regulator-max-microvolt = <3300000>;
160 regulator-name = "avcc";
165 regulator-min-microvolt = <3000000>;
166 regulator-max-microvolt = <3000000>;
167 regulator-name = "vcc-3v0";
172 regulator-min-microvolt = <1000000>;
173 regulator-max-microvolt = <1300000>;
174 regulator-name = "vdd-cpu";
179 regulator-min-microvolt = <1000000>;
180 regulator-max-microvolt = <1300000>;
181 regulator-name = "vdd-sys";
186 regulator-min-microvolt = <1500000>;
187 regulator-max-microvolt = <1500000>;
188 regulator-name = "vcc-dram";
193 regulator-min-microvolt = <3300000>;
194 regulator-max-microvolt = <3300000>;
195 regulator-name = "vcc-pg";
200 regulator-min-microvolt = <3300000>;
201 regulator-max-microvolt = <3300000>;
202 regulator-name = "vcc-dldo3";
207 regulator-min-microvolt = <2800000>;
208 regulator-max-microvolt = <2800000>;
209 regulator-name = "vcc-pe";
217 pinctrl-names = "default";
218 pinctrl-0 = <&uart0_pb_pins>;
223 usb1_vbus-supply = <®_vcc5v0>;
224 usb2_vbus-supply = <®_vcc5v0>;