xref: /freebsd-src/sys/contrib/device-tree/src/arm/allwinner/sun8i-a33-ga10h-v1.1.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot/*
2f126890aSEmmanuel Vadot * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
3f126890aSEmmanuel Vadot *
4f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms
5f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual
6f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a
7f126890aSEmmanuel Vadot * whole.
8f126890aSEmmanuel Vadot *
9f126890aSEmmanuel Vadot *  a) This file is free software; you can redistribute it and/or
10f126890aSEmmanuel Vadot *     modify it under the terms of the GNU General Public License as
11f126890aSEmmanuel Vadot *     published by the Free Software Foundation; either version 2 of the
12f126890aSEmmanuel Vadot *     License, or (at your option) any later version.
13f126890aSEmmanuel Vadot *
14f126890aSEmmanuel Vadot *     This file is distributed in the hope that it will be useful,
15f126890aSEmmanuel Vadot *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16f126890aSEmmanuel Vadot *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17f126890aSEmmanuel Vadot *     GNU General Public License for more details.
18f126890aSEmmanuel Vadot *
19f126890aSEmmanuel Vadot * Or, alternatively,
20f126890aSEmmanuel Vadot *
21f126890aSEmmanuel Vadot *  b) Permission is hereby granted, free of charge, to any person
22f126890aSEmmanuel Vadot *     obtaining a copy of this software and associated documentation
23f126890aSEmmanuel Vadot *     files (the "Software"), to deal in the Software without
24f126890aSEmmanuel Vadot *     restriction, including without limitation the rights to use,
25f126890aSEmmanuel Vadot *     copy, modify, merge, publish, distribute, sublicense, and/or
26f126890aSEmmanuel Vadot *     sell copies of the Software, and to permit persons to whom the
27f126890aSEmmanuel Vadot *     Software is furnished to do so, subject to the following
28f126890aSEmmanuel Vadot *     conditions:
29f126890aSEmmanuel Vadot *
30f126890aSEmmanuel Vadot *     The above copyright notice and this permission notice shall be
31f126890aSEmmanuel Vadot *     included in all copies or substantial portions of the Software.
32f126890aSEmmanuel Vadot *
33f126890aSEmmanuel Vadot *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34f126890aSEmmanuel Vadot *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35f126890aSEmmanuel Vadot *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36f126890aSEmmanuel Vadot *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37f126890aSEmmanuel Vadot *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38f126890aSEmmanuel Vadot *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39f126890aSEmmanuel Vadot *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40f126890aSEmmanuel Vadot *     OTHER DEALINGS IN THE SOFTWARE.
41f126890aSEmmanuel Vadot */
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot/dts-v1/;
44f126890aSEmmanuel Vadot#include "sun8i-a33.dtsi"
45f126890aSEmmanuel Vadot#include "sun8i-reference-design-tablet.dtsi"
46f126890aSEmmanuel Vadot
47f126890aSEmmanuel Vadot/ {
48f126890aSEmmanuel Vadot	model = "Allwinner GA10H Quad Core Tablet (v1.1)";
49f126890aSEmmanuel Vadot	compatible = "allwinner,ga10h-v1.1", "allwinner,sun8i-a33";
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot	aliases {
52f126890aSEmmanuel Vadot		/* Make u-boot set mac-address for rtl8703as (no eeprom) */
53f126890aSEmmanuel Vadot		ethernet0 = &rtl8703as;
54f126890aSEmmanuel Vadot	};
55f126890aSEmmanuel Vadot};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot&ehci0 {
58f126890aSEmmanuel Vadot	status = "okay";
59f126890aSEmmanuel Vadot};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot&touchscreen {
62f126890aSEmmanuel Vadot	reg = <0x40>;
63f126890aSEmmanuel Vadot	compatible = "silead,gsl3675";
64f126890aSEmmanuel Vadot	firmware-name = "gsl3675-ga10h.fw";
65f126890aSEmmanuel Vadot	touchscreen-size-x = <1630>;
66f126890aSEmmanuel Vadot	touchscreen-size-y = <990>;
67f126890aSEmmanuel Vadot	touchscreen-inverted-y;
68f126890aSEmmanuel Vadot	status = "okay";
69f126890aSEmmanuel Vadot};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot&lradc {
72f126890aSEmmanuel Vadot	button-600 {
73f126890aSEmmanuel Vadot		label = "Back";
74f126890aSEmmanuel Vadot		linux,code = <KEY_BACK>;
75f126890aSEmmanuel Vadot		channel = <0>;
76f126890aSEmmanuel Vadot		voltage = <600000>;
77f126890aSEmmanuel Vadot	};
78f126890aSEmmanuel Vadot};
79f126890aSEmmanuel Vadot
80f126890aSEmmanuel Vadot&mmc1 {
81f126890aSEmmanuel Vadot	pinctrl-names = "default";
82f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc1_pg_pins>;
83f126890aSEmmanuel Vadot	vmmc-supply = <&reg_dldo1>;
84f126890aSEmmanuel Vadot	bus-width = <4>;
85f126890aSEmmanuel Vadot	non-removable;
86f126890aSEmmanuel Vadot	status = "okay";
87f126890aSEmmanuel Vadot
88*7d0873ebSEmmanuel Vadot	rtl8703as: wifi@1 {
89f126890aSEmmanuel Vadot		reg = <1>;
90f126890aSEmmanuel Vadot	};
91f126890aSEmmanuel Vadot};
92f126890aSEmmanuel Vadot
93f126890aSEmmanuel Vadot&ohci0 {
94f126890aSEmmanuel Vadot	status = "okay";
95f126890aSEmmanuel Vadot};
96