Commit | Line | Data |
---|---|---|
ce6a73b6 MR |
1 | /* |
2 | * Copyright 2012 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/ "sun4i-a10.dtsi" | |
b7b8ce3c | 16 | /include/ "sunxi-common-regulators.dtsi" |
ce6a73b6 MR |
17 | |
18 | / { | |
19 | model = "PineRiver Mini X-Plus"; | |
20 | compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10"; | |
21 | ||
b74aec1a | 22 | soc@01c00000 { |
c0955a86 HG |
23 | mmc0: mmc@01c0f000 { |
24 | pinctrl-names = "default"; | |
25 | pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; | |
a4da476b | 26 | vmmc-supply = <®_vcc3v3>; |
c0955a86 HG |
27 | bus-width = <4>; |
28 | cd-gpios = <&pio 7 1 0>; /* PH1 */ | |
29 | cd-inverted; | |
30 | status = "okay"; | |
31 | }; | |
32 | ||
b7b8ce3c HG |
33 | usbphy: phy@01c13400 { |
34 | usb1_vbus-supply = <®_usb1_vbus>; | |
35 | usb2_vbus-supply = <®_usb2_vbus>; | |
36 | status = "okay"; | |
37 | }; | |
38 | ||
39 | ehci0: usb@01c14000 { | |
40 | status = "okay"; | |
41 | }; | |
42 | ||
43 | ohci0: usb@01c14400 { | |
44 | status = "okay"; | |
45 | }; | |
46 | ||
47 | ehci1: usb@01c1c000 { | |
48 | status = "okay"; | |
49 | }; | |
50 | ||
51 | ohci1: usb@01c1c400 { | |
52 | status = "okay"; | |
53 | }; | |
54 | ||
d34c671d | 55 | uart0: serial@01c28000 { |
ce6a73b6 MR |
56 | pinctrl-names = "default"; |
57 | pinctrl-0 = <&uart0_pins_a>; | |
58 | status = "okay"; | |
59 | }; | |
60 | }; | |
b7b8ce3c HG |
61 | |
62 | reg_usb1_vbus: usb1-vbus { | |
63 | status = "okay"; | |
64 | }; | |
65 | ||
66 | reg_usb2_vbus: usb2-vbus { | |
67 | status = "okay"; | |
68 | }; | |
ce6a73b6 | 69 | }; |