ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Chen-Yu Tsai
|
|
|
|
*
|
|
|
|
* Chen-Yu Tsai <wens@csie.org>
|
|
|
|
*
|
2014-09-02 17:25:26 +00:00
|
|
|
* This file is dual-licensed: you can use it either under the terms
|
|
|
|
* of the GPL or the X11 license, at your option. Note that this dual
|
|
|
|
* licensing only applies to this file, and not this project as a
|
|
|
|
* whole.
|
ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
*
|
2014-09-02 17:25:26 +00:00
|
|
|
* a) This file is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This file is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public
|
|
|
|
* License along with this file; if not, write to the Free
|
|
|
|
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
|
|
|
* MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
* Or, alternatively,
|
|
|
|
*
|
|
|
|
* b) Permission is hereby granted, free of charge, to any person
|
|
|
|
* obtaining a copy of this software and associated documentation
|
|
|
|
* files (the "Software"), to deal in the Software without
|
|
|
|
* restriction, including without limitation the rights to use,
|
|
|
|
* copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
* sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following
|
|
|
|
* conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
|
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
|
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
|
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2014-12-16 21:59:54 +00:00
|
|
|
#include "sun8i-a23.dtsi"
|
|
|
|
#include "sunxi-common-regulators.dtsi"
|
ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
|
2014-12-16 21:59:55 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2015-01-13 10:47:04 +00:00
|
|
|
#include <dt-bindings/input/input.h>
|
2014-12-16 21:59:57 +00:00
|
|
|
#include <dt-bindings/pinctrl/sun4i-a10.h>
|
2014-12-16 21:59:55 +00:00
|
|
|
|
ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
/ {
|
|
|
|
model = "Ippo Q8H Dual Core Tablet (v5)";
|
|
|
|
compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";
|
|
|
|
|
2014-12-25 12:25:19 +00:00
|
|
|
aliases {
|
|
|
|
serial0 = &r_uart;
|
|
|
|
};
|
|
|
|
|
ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
chosen {
|
|
|
|
bootargs = "earlyprintk console=ttyS0,115200";
|
|
|
|
};
|
|
|
|
|
|
|
|
soc@01c00000 {
|
2014-08-17 03:52:15 +00:00
|
|
|
mmc0: mmc@01c0f000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>;
|
|
|
|
vmmc-supply = <®_vcc3v0>;
|
|
|
|
bus-width = <4>;
|
2014-12-16 21:59:55 +00:00
|
|
|
cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
|
2014-08-17 03:52:15 +00:00
|
|
|
cd-inverted;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl@01c20800 {
|
|
|
|
mmc0_cd_pin_q8h: mmc0_cd_pin@0 {
|
|
|
|
allwinner,pins = "PB4";
|
|
|
|
allwinner,function = "gpio_in";
|
2014-12-16 21:59:57 +00:00
|
|
|
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
|
|
|
|
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
|
2014-08-17 03:52:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-01-13 10:47:04 +00:00
|
|
|
lradc: lradc@01c22800 {
|
|
|
|
vref-supply = <®_vcc3v0>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
button@200 {
|
|
|
|
label = "Volume Up";
|
|
|
|
linux,code = <KEY_VOLUMEUP>;
|
|
|
|
channel = <0>;
|
|
|
|
voltage = <200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
button@400 {
|
|
|
|
label = "Volume Down";
|
|
|
|
linux,code = <KEY_VOLUMEDOWN>;
|
|
|
|
channel = <0>;
|
|
|
|
voltage = <400000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-08-18 16:51:51 +00:00
|
|
|
i2c0: i2c@01c2ac00 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c0_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1: i2c@01c2b000 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c1_pins_a>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c2: i2c@01c2b400 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c2_pins_a>;
|
|
|
|
/* pull-ups and devices require PMIC regulator */
|
|
|
|
status = "failed";
|
|
|
|
};
|
|
|
|
|
ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
r_uart: serial@01f02800 {
|
2014-08-17 03:52:11 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&r_uart_pins_a>;
|
ARM: sun8i: dt: Add Ippo-q8h v5 support
The Ippo-q8h is a tablet circuit board commonly found in cheap Android
tablets with A23 SoCs. There are at least 2 versions of the board, with
different peripherals, such as WiFi chips.
Common features among these tablets include 512 MB DRAM, NAND, MMC, LCD,
capacitive touchscreen, accelerometer, 1 or 2 camera sensors, USB OTG,
microphone and speaker.
v5 of these board designs has a ESP8089 WiFi chip (not supported)
connected to mmc1. This patch adds very basic support.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2014-06-20 14:52:53 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|