]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / arch / arm / boot / dts / sun7i-a20-olinuxino-micro.dts
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/ "sun7i-a20.dtsi"
16
17 / {
18         model = "Olimex A20-Olinuxino Micro";
19         compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
20
21         soc@01c00000 {
22                 pinctrl@01c20800 {
23                         led_pins_olinuxino: led_pins@0 {
24                                 allwinner,pins = "PH2";
25                                 allwinner,function = "gpio_out";
26                                 allwinner,drive = <1>;
27                                 allwinner,pull = <0>;
28                         };
29                 };
30
31                 uart0: serial@01c28000 {
32                         pinctrl-names = "default";
33                         pinctrl-0 = <&uart0_pins_a>;
34                         status = "okay";
35                 };
36
37                 uart6: serial@01c29800 {
38                         pinctrl-names = "default";
39                         pinctrl-0 = <&uart6_pins_a>;
40                         status = "okay";
41                 };
42
43                 uart7: serial@01c29c00 {
44                         pinctrl-names = "default";
45                         pinctrl-0 = <&uart7_pins_a>;
46                         status = "okay";
47                 };
48         };
49
50         leds {
51                 compatible = "gpio-leds";
52                 pinctrl-names = "default";
53                 pinctrl-0 = <&led_pins_olinuxino>;
54
55                 green {
56                         label = "a20-olinuxino-micro:green:usr";
57                         gpios = <&pio 7 2 0>;
58                         default-state = "on";
59                 };
60         };
61 };