184842b23SHans de Goede/*
284842b23SHans de Goede * Copyright 2016 Hans de Goede <hdegoede@redhat.com>
384842b23SHans de Goede *
484842b23SHans de Goede * This file is dual-licensed: you can use it either under the terms
584842b23SHans de Goede * of the GPL or the X11 license, at your option. Note that this dual
684842b23SHans de Goede * licensing only applies to this file, and not this project as a
784842b23SHans de Goede * whole.
884842b23SHans de Goede *
984842b23SHans de Goede *  a) This file is free software; you can redistribute it and/or
1084842b23SHans de Goede *     modify it under the terms of the GNU General Public License as
1184842b23SHans de Goede *     published by the Free Software Foundation; either version 2 of the
1284842b23SHans de Goede *     License, or (at your option) any later version.
1384842b23SHans de Goede *
1484842b23SHans de Goede *     This file is distributed in the hope that it will be useful,
1584842b23SHans de Goede *     but WITHOUT ANY WARRANTY; without even the implied warranty of
1684842b23SHans de Goede *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1784842b23SHans de Goede *     GNU General Public License for more details.
1884842b23SHans de Goede *
1984842b23SHans de Goede * Or, alternatively,
2084842b23SHans de Goede *
2184842b23SHans de Goede *  b) Permission is hereby granted, free of charge, to any person
2284842b23SHans de Goede *     obtaining a copy of this software and associated documentation
2384842b23SHans de Goede *     files (the "Software"), to deal in the Software without
2484842b23SHans de Goede *     restriction, including without limitation the rights to use,
2584842b23SHans de Goede *     copy, modify, merge, publish, distribute, sublicense, and/or
2684842b23SHans de Goede *     sell copies of the Software, and to permit persons to whom the
2784842b23SHans de Goede *     Software is furnished to do so, subject to the following
2884842b23SHans de Goede *     conditions:
2984842b23SHans de Goede *
3084842b23SHans de Goede *     The above copyright notice and this permission notice shall be
3184842b23SHans de Goede *     included in all copies or substantial portions of the Software.
3284842b23SHans de Goede *
3384842b23SHans de Goede *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3484842b23SHans de Goede *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3584842b23SHans de Goede *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3684842b23SHans de Goede *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3784842b23SHans de Goede *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3884842b23SHans de Goede *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3984842b23SHans de Goede *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4084842b23SHans de Goede *     OTHER DEALINGS IN THE SOFTWARE.
4184842b23SHans de Goede */
4284842b23SHans de Goede
4384842b23SHans de Goede/dts-v1/;
4484842b23SHans de Goede#include "sun6i-a31s.dtsi"
45*860fbdd4SHans de Goede#include "sun6i-reference-design-tablet.dtsi"
4684842b23SHans de Goede
4784842b23SHans de Goede/ {
4884842b23SHans de Goede	model = "Colorfly E708 Q1 tablet";
4984842b23SHans de Goede	compatible = "colorfly,e708-q1", "allwinner,sun6i-a31s";
5084842b23SHans de Goede};
5184842b23SHans de Goede
5284842b23SHans de Goede&lradc {
5384842b23SHans de Goede	vref-supply = <&reg_aldo3>;
5484842b23SHans de Goede	status = "okay";
5584842b23SHans de Goede
5684842b23SHans de Goede	button@1000 {
5784842b23SHans de Goede		label = "Home";
5884842b23SHans de Goede		linux,code = <KEY_HOMEPAGE>;
5984842b23SHans de Goede		channel = <0>;
6084842b23SHans de Goede		voltage = <1000000>;
6184842b23SHans de Goede	};
6284842b23SHans de Goede};
6384842b23SHans de Goede
6484842b23SHans de Goede&reg_dldo2 {
6584842b23SHans de Goede	regulator-min-microvolt = <1800000>;
6684842b23SHans de Goede	regulator-max-microvolt = <1800000>;
6784842b23SHans de Goede	regulator-name = "vcc-pg";
6884842b23SHans de Goede};
6984842b23SHans de Goede
7084842b23SHans de Goede&simplefb_lcd {
7184842b23SHans de Goede	vcc-pg-supply = <&reg_dldo2>;
7284842b23SHans de Goede};
73