Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / arch / arm / boot / dts / sun5i-a13-olinuxino-micro.dts
1 /*
2  * Copyright 2012 Maxime Ripard
3  * Copyright 2013 Hans de Goede <hdegoede@redhat.com>
4  *
5  * Maxime Ripard <maxime.ripard@free-electrons.com>
6  *
7  * The code contained herein is licensed under the GNU General Public
8  * License. You may obtain a copy of the GNU General Public License
9  * Version 2 or later at the following locations:
10  *
11  * http://www.opensource.org/licenses/gpl-license.html
12  * http://www.gnu.org/copyleft/gpl.html
13  */
14
15 /dts-v1/;
16 /include/ "sun5i-a13.dtsi"
17 /include/ "sunxi-common-regulators.dtsi"
18
19 / {
20         model = "Olimex A13-Olinuxino Micro";
21         compatible = "olimex,a13-olinuxino-micro", "allwinner,sun5i-a13";
22
23         soc@01c00000 {
24                 usbphy: phy@01c13400 {
25                         usb1_vbus-supply = <&reg_usb1_vbus>;
26                         status = "okay";
27                 };
28
29                 ehci0: usb@01c14000 {
30                         status = "okay";
31                 };
32
33                 ohci0: usb@01c14400 {
34                         status = "okay";
35                 };
36
37                 pinctrl@01c20800 {
38                         led_pins_olinuxinom: led_pins@0 {
39                                 allwinner,pins = "PG9";
40                                 allwinner,function = "gpio_out";
41                                 allwinner,drive = <1>;
42                                 allwinner,pull = <0>;
43                         };
44
45                         usb1_vbus_pin_olinuxinom: usb1_vbus_pin@0 {
46                                 allwinner,pins = "PG11";
47                                 allwinner,function = "gpio_out";
48                                 allwinner,drive = <0>;
49                                 allwinner,pull = <0>;
50                         };
51                 };
52
53                 uart1: serial@01c28400 {
54                         pinctrl-names = "default";
55                         pinctrl-0 = <&uart1_pins_b>;
56                         status = "okay";
57                 };
58
59                 i2c0: i2c@01c2ac00 {
60                         pinctrl-names = "default";
61                         pinctrl-0 = <&i2c0_pins_a>;
62                         status = "okay";
63                 };
64
65                 i2c1: i2c@01c2b000 {
66                         pinctrl-names = "default";
67                         pinctrl-0 = <&i2c1_pins_a>;
68                         status = "okay";
69                 };
70
71                 i2c2: i2c@01c2b400 {
72                         pinctrl-names = "default";
73                         pinctrl-0 = <&i2c2_pins_a>;
74                         status = "okay";
75                 };
76         };
77
78         leds {
79                 compatible = "gpio-leds";
80                 pinctrl-names = "default";
81                 pinctrl-0 = <&led_pins_olinuxinom>;
82
83                 power {
84                         label = "a13-olinuxino-micro:green:power";
85                         gpios = <&pio 6 9 0>;
86                         default-state = "on";
87                 };
88         };
89
90         reg_usb1_vbus: usb1-vbus {
91                 pinctrl-0 = <&usb1_vbus_pin_olinuxinom>;
92                 gpio = <&pio 6 11 0>;
93                 status = "okay";
94         };
95 };