blob: ef1e4f3aaf3980240464f7d2e5c9ec3cbcbfa36f [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 Tsai4c3d4a32014-06-20 22:52:53 +080046 r_uart: serial@01f02800 {
Chen-Yu Tsai1c602062014-08-17 11:52:11 +080047 pinctrl-names = "default";
48 pinctrl-0 = <&r_uart_pins_a>;
Chen-Yu Tsai4c3d4a32014-06-20 22:52:53 +080049 status = "okay";
50 };
51 };
52};