Commit | Line | Data |
---|---|---|
0bef900b MR |
1 | /* |
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" | |
a9bfb5f8 | 16 | /include/ "sunxi-common-regulators.dtsi" |
0bef900b MR |
17 | |
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 { | |
a9bfb5f8 MR |
27 | usbphy: phy@01c19400 { |
28 | usb2_vbus-supply = <®_usb2_vbus>; | |
29 | status = "okay"; | |
30 | }; | |
31 | ||
32 | ehci1: usb@01c1b000 { | |
33 | status = "okay"; | |
34 | }; | |
35 | ||
36 | pio: pinctrl@01c20800 { | |
37 | usb2_vbus_pin_colombus: usb2_vbus_pin@0 { | |
38 | allwinner,pins = "PH24"; | |
39 | allwinner,function = "gpio_out"; | |
40 | allwinner,drive = <0>; | |
41 | allwinner,pull = <0>; | |
42 | }; | |
43 | }; | |
44 | ||
0bef900b | 45 | uart0: serial@01c28000 { |
69fb3c04 MR |
46 | pinctrl-names = "default"; |
47 | pinctrl-0 = <&uart0_pins_a>; | |
0bef900b MR |
48 | status = "okay"; |
49 | }; | |
1cff7402 MR |
50 | |
51 | i2c0: i2c@01c2ac00 { | |
52 | pinctrl-names = "default"; | |
53 | pinctrl-0 = <&i2c0_pins_a>; | |
54 | status = "fail"; | |
55 | }; | |
56 | ||
57 | i2c1: i2c@01c2b000 { | |
58 | pinctrl-names = "default"; | |
59 | pinctrl-0 = <&i2c1_pins_a>; | |
60 | status = "okay"; | |
61 | }; | |
62 | ||
63 | i2c2: i2c@01c2b400 { | |
64 | pinctrl-names = "default"; | |
65 | pinctrl-0 = <&i2c2_pins_a>; | |
66 | status = "okay"; | |
67 | }; | |
0bef900b | 68 | }; |
a9bfb5f8 MR |
69 | |
70 | reg_usb2_vbus: usb2-vbus { | |
71 | pinctrl-names = "default"; | |
72 | pinctrl-0 = <&usb2_vbus_pin_colombus>; | |
73 | gpio = <&pio 7 24 0>; | |
74 | status = "okay"; | |
75 | }; | |
0bef900b | 76 | }; |