pinctrl: at91: enhance (debugfs) at91_gpio_dbg_show
[cascardo/linux.git] / arch / arm / boot / dts / sun8i-a23-ippo-q8h-v5.dts
1 /*
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"
16 /include/ "sunxi-common-regulators.dtsi"
17
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 {
27                 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
46                 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
65                 r_uart: serial@01f02800 {
66                         pinctrl-names = "default";
67                         pinctrl-0 = <&r_uart_pins_a>;
68                         status = "okay";
69                 };
70         };
71 };