xref: /rk3399_rockchip-uboot/arch/arm/dts/sun8i-a23-gt90h-v4.dts (revision c6b968da78ce3fa7224c0ddf15fe170c7c05b27e)
1f9a37289SHans de Goede/*
2f9a37289SHans de Goede * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
3f9a37289SHans de Goede *
4f9a37289SHans de Goede * This file is dual-licensed: you can use it either under the terms
5f9a37289SHans de Goede * of the GPL or the X11 license, at your option. Note that this dual
6f9a37289SHans de Goede * licensing only applies to this file, and not this project as a
7f9a37289SHans de Goede * whole.
8f9a37289SHans de Goede *
9f9a37289SHans de Goede *  a) This file is free software; you can redistribute it and/or
10f9a37289SHans de Goede *     modify it under the terms of the GNU General Public License as
11f9a37289SHans de Goede *     published by the Free Software Foundation; either version 2 of the
12f9a37289SHans de Goede *     License, or (at your option) any later version.
13f9a37289SHans de Goede *
14f9a37289SHans de Goede *     This file is distributed in the hope that it will be useful,
15f9a37289SHans de Goede *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16f9a37289SHans de Goede *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17f9a37289SHans de Goede *     GNU General Public License for more details.
18f9a37289SHans de Goede *
19f9a37289SHans de Goede * Or, alternatively,
20f9a37289SHans de Goede *
21f9a37289SHans de Goede *  b) Permission is hereby granted, free of charge, to any person
22f9a37289SHans de Goede *     obtaining a copy of this software and associated documentation
23f9a37289SHans de Goede *     files (the "Software"), to deal in the Software without
24f9a37289SHans de Goede *     restriction, including without limitation the rights to use,
25f9a37289SHans de Goede *     copy, modify, merge, publish, distribute, sublicense, and/or
26f9a37289SHans de Goede *     sell copies of the Software, and to permit persons to whom the
27f9a37289SHans de Goede *     Software is furnished to do so, subject to the following
28f9a37289SHans de Goede *     conditions:
29f9a37289SHans de Goede *
30f9a37289SHans de Goede *     The above copyright notice and this permission notice shall be
31f9a37289SHans de Goede *     included in all copies or substantial portions of the Software.
32f9a37289SHans de Goede *
33f9a37289SHans de Goede *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34f9a37289SHans de Goede *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35f9a37289SHans de Goede *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36f9a37289SHans de Goede *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37f9a37289SHans de Goede *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38f9a37289SHans de Goede *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39f9a37289SHans de Goede *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40f9a37289SHans de Goede *     OTHER DEALINGS IN THE SOFTWARE.
41f9a37289SHans de Goede */
42f9a37289SHans de Goede
43f9a37289SHans de Goede/dts-v1/;
44f9a37289SHans de Goede#include "sun8i-a23.dtsi"
45*860fbdd4SHans de Goede#include "sun8i-reference-design-tablet.dtsi"
46f9a37289SHans de Goede
47f9a37289SHans de Goede/ {
4880e5f83cSHans de Goede	model = "Allwinner GT90H Dual Core Tablet (v4)";
4980e5f83cSHans de Goede	compatible = "allwinner,gt90h-v4", "allwinner,sun8i-a23";
50f9a37289SHans de Goede};
51f9a37289SHans de Goede
52f9a37289SHans de Goede&ehci0 {
53f9a37289SHans de Goede	status = "okay";
54f9a37289SHans de Goede};
55f9a37289SHans de Goede
56*860fbdd4SHans de Goede&gsl1680 {
57*860fbdd4SHans de Goede	compatible = "silead,gsl3675";
58*860fbdd4SHans de Goede	touchscreen-fw-name = "silead/gsl3675-gt90h.fw";
59*860fbdd4SHans de Goede	touchscreen-size-x = <1792>;
60*860fbdd4SHans de Goede	touchscreen-size-y = <1024>;
61f9a37289SHans de Goede	status = "okay";
62f9a37289SHans de Goede};
63f9a37289SHans de Goede
64f9a37289SHans de Goede&lradc {
65f9a37289SHans de Goede	button@600 {
66f9a37289SHans de Goede		label = "Back";
67f9a37289SHans de Goede		linux,code = <KEY_BACK>;
68f9a37289SHans de Goede		channel = <0>;
69f9a37289SHans de Goede		voltage = <600000>;
70f9a37289SHans de Goede	};
71f9a37289SHans de Goede};
72f9a37289SHans de Goede
73f9a37289SHans de Goede&usbphy {
7480e5f83cSHans de Goede	usb1_vbus-supply = <&reg_dldo1>;
75f9a37289SHans de Goede};
76