Merge remote-tracking branches 'asoc/topic/adau1977', 'asoc/topic/ak4642', 'asoc...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / sun4i-a10-mini-xplus.dts
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"
16 /include/ "sunxi-common-regulators.dtsi"
17
18 / {
19         model = "PineRiver Mini X-Plus";
20         compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10";
21
22         soc@01c00000 {
23                 mmc0: mmc@01c0f000 {
24                         pinctrl-names = "default";
25                         pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
26                         vmmc-supply = <&reg_vcc3v3>;
27                         bus-width = <4>;
28                         cd-gpios = <&pio 7 1 0>; /* PH1 */
29                         cd-inverted;
30                         status = "okay";
31                 };
32
33                 usbphy: phy@01c13400 {
34                         usb1_vbus-supply = <&reg_usb1_vbus>;
35                         usb2_vbus-supply = <&reg_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
55                 uart0: serial@01c28000 {
56                         pinctrl-names = "default";
57                         pinctrl-0 = <&uart0_pins_a>;
58                         status = "okay";
59                 };
60         };
61
62         reg_usb1_vbus: usb1-vbus {
63                 status = "okay";
64         };
65
66         reg_usb2_vbus: usb2-vbus {
67                 status = "okay";
68         };
69 };