]> Pileus Git - ~andy/linux/blob - arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts
nfsd: fix lost nfserrno() call in nfsd_setattr()
[~andy/linux] / 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
18 / {
19         model = "Olimex A13-Olinuxino Micro";
20         compatible = "olimex,a13-olinuxino-micro", "allwinner,sun5i-a13";
21
22         soc@01c00000 {
23                 pinctrl@01c20800 {
24                         led_pins_olinuxinom: led_pins@0 {
25                                 allwinner,pins = "PG9";
26                                 allwinner,function = "gpio_out";
27                                 allwinner,drive = <1>;
28                                 allwinner,pull = <0>;
29                         };
30                 };
31
32                 uart1: serial@01c28400 {
33                         pinctrl-names = "default";
34                         pinctrl-0 = <&uart1_pins_b>;
35                         status = "okay";
36                 };
37
38                 i2c0: i2c@01c2ac00 {
39                         pinctrl-names = "default";
40                         pinctrl-0 = <&i2c0_pins_a>;
41                         status = "okay";
42                 };
43
44                 i2c1: i2c@01c2b000 {
45                         pinctrl-names = "default";
46                         pinctrl-0 = <&i2c1_pins_a>;
47                         status = "okay";
48                 };
49
50                 i2c2: i2c@01c2b400 {
51                         pinctrl-names = "default";
52                         pinctrl-0 = <&i2c2_pins_a>;
53                         status = "okay";
54                 };
55         };
56
57         leds {
58                 compatible = "gpio-leds";
59                 pinctrl-names = "default";
60                 pinctrl-0 = <&led_pins_olinuxinom>;
61
62                 power {
63                         label = "a13-olinuxino-micro:green:power";
64                         gpios = <&pio 6 9 0>;
65                         default-state = "on";
66                 };
67         };
68 };