blob: 546cf6eff5c796fcaa65da5f2bd58331ef0a59c1 [file] [log] [blame]
Maxime Ripard0bef9002013-06-22 20:22:14 +02001/*
2 * Copyright 2013 Maxime Ripard
3 *
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
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/ "sun6i-a31.dtsi"
Maxime Riparda9bfb5f2014-05-20 13:59:15 +020016/include/ "sunxi-common-regulators.dtsi"
Maxime Ripard0bef9002013-06-22 20:22:14 +020017
18/ {
19 model = "WITS A31 Colombus Evaluation Board";
20 compatible = "wits,colombus", "allwinner,sun6i-a31";
21
22 chosen {
23 bootargs = "earlyprintk console=ttyS0,115200";
24 };
25
26 soc@01c00000 {
Maxime Ripardece99c42014-05-21 10:23:20 +020027 mmc0: mmc@01c0f000 {
28 pinctrl-names = "default";
29 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_colombus>;
30 vmmc-supply = <&reg_vcc3v0>;
31 bus-width = <4>;
32 cd-gpios = <&pio 0 8 0>; /* PA8 */
33 cd-inverted;
34 status = "okay";
35 };
36
Maxime Riparda9bfb5f2014-05-20 13:59:15 +020037 usbphy: phy@01c19400 {
38 usb2_vbus-supply = <&reg_usb2_vbus>;
39 status = "okay";
40 };
41
42 ehci1: usb@01c1b000 {
43 status = "okay";
44 };
45
46 pio: pinctrl@01c20800 {
Maxime Ripardece99c42014-05-21 10:23:20 +020047 mmc0_pins_a: mmc0@0 {
48 allwinner,pull = <1>;
49 };
50
51 mmc0_cd_pin_colombus: mmc0_cd_pin@0 {
52 allwinner,pins = "PA8";
53 allwinner,function = "gpio_in";
54 allwinner,drive = <0>;
55 allwinner,pull = <1>;
56 };
57
Maxime Riparda9bfb5f2014-05-20 13:59:15 +020058 usb2_vbus_pin_colombus: usb2_vbus_pin@0 {
59 allwinner,pins = "PH24";
60 allwinner,function = "gpio_out";
61 allwinner,drive = <0>;
62 allwinner,pull = <0>;
63 };
64 };
65
Maxime Ripard0bef9002013-06-22 20:22:14 +020066 uart0: serial@01c28000 {
Maxime Ripard69fb3c02013-06-22 23:57:27 +020067 pinctrl-names = "default";
68 pinctrl-0 = <&uart0_pins_a>;
Maxime Ripard0bef9002013-06-22 20:22:14 +020069 status = "okay";
70 };
Maxime Ripard1cff7402014-03-04 17:28:41 +010071
72 i2c0: i2c@01c2ac00 {
73 pinctrl-names = "default";
74 pinctrl-0 = <&i2c0_pins_a>;
75 status = "fail";
76 };
77
78 i2c1: i2c@01c2b000 {
79 pinctrl-names = "default";
80 pinctrl-0 = <&i2c1_pins_a>;
81 status = "okay";
82 };
83
84 i2c2: i2c@01c2b400 {
85 pinctrl-names = "default";
86 pinctrl-0 = <&i2c2_pins_a>;
87 status = "okay";
88 };
Maxime Ripard0bef9002013-06-22 20:22:14 +020089 };
Maxime Riparda9bfb5f2014-05-20 13:59:15 +020090
91 reg_usb2_vbus: usb2-vbus {
92 pinctrl-names = "default";
93 pinctrl-0 = <&usb2_vbus_pin_colombus>;
94 gpio = <&pio 7 24 0>;
95 status = "okay";
96 };
Maxime Ripard0bef9002013-06-22 20:22:14 +020097};