blob: e9b8cca8dcc1cc7a9c61c9fe6a3450c72241849b [file] [log] [blame]
Chen-Yu Tsai4c3d4a32014-06-20 22:52:53 +08001/*
2 * Copyright 2014 Chen-Yu Tsai
3 *
4 * Chen-Yu Tsai <wens@csie.org>
5 *
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/dts-v1/;
15/include/ "sun8i-a23.dtsi"
Chen-Yu Tsaicd78d3f2014-08-17 11:52:15 +080016/include/ "sunxi-common-regulators.dtsi"
Chen-Yu Tsai4c3d4a32014-06-20 22:52:53 +080017
18/ {
19 model = "Ippo Q8H Dual Core Tablet (v5)";
20 compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";
21
22 chosen {
23 bootargs = "earlyprintk console=ttyS0,115200";
24 };
25
26 soc@01c00000 {
Chen-Yu Tsaicd78d3f2014-08-17 11:52:15 +080027 mmc0: mmc@01c0f000 {
28 pinctrl-names = "default";
29 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>;
30 vmmc-supply = <&reg_vcc3v0>;
31 bus-width = <4>;
32 cd-gpios = <&pio 1 4 0>; /* PB4 */
33 cd-inverted;
34 status = "okay";
35 };
36
37 pinctrl@01c20800 {
38 mmc0_cd_pin_q8h: mmc0_cd_pin@0 {
39 allwinner,pins = "PB4";
40 allwinner,function = "gpio_in";
41 allwinner,drive = <0>;
42 allwinner,pull = <1>;
43 };
44 };
45
Chen-Yu Tsaidc660852014-08-19 00:51:51 +080046 i2c0: i2c@01c2ac00 {
47 pinctrl-names = "default";
48 pinctrl-0 = <&i2c0_pins_a>;
49 status = "okay";
50 };
51
52 i2c1: i2c@01c2b000 {
53 pinctrl-names = "default";
54 pinctrl-0 = <&i2c1_pins_a>;
55 status = "okay";
56 };
57
58 i2c2: i2c@01c2b400 {
59 pinctrl-names = "default";
60 pinctrl-0 = <&i2c2_pins_a>;
61 /* pull-ups and devices require PMIC regulator */
62 status = "failed";
63 };
64
Chen-Yu Tsai4c3d4a32014-06-20 22:52:53 +080065 r_uart: serial@01f02800 {
Chen-Yu Tsai1c602062014-08-17 11:52:11 +080066 pinctrl-names = "default";
67 pinctrl-0 = <&r_uart_pins_a>;
Chen-Yu Tsai4c3d4a32014-06-20 22:52:53 +080068 status = "okay";
69 };
70 };
71};