Commit | Line | Data |
---|---|---|
d4da2ebb 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/; | |
68136b10 | 15 | /include/ "sun5i-a13.dtsi" |
d4da2ebb MR |
16 | |
17 | / { | |
18 | model = "Olimex A13-Olinuxino"; | |
68136b10 | 19 | compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13"; |
d4da2ebb | 20 | |
de0bf33f SR |
21 | chosen { |
22 | bootargs = "earlyprintk console=ttyS0,115200"; | |
23 | }; | |
24 | ||
69144e3b | 25 | soc@01c20000 { |
bfef081d MR |
26 | pinctrl@01c20800 { |
27 | led_pins_olinuxino: led_pins@0 { | |
28 | allwinner,pins = "PG9"; | |
29 | allwinner,function = "gpio_out"; | |
30 | allwinner,drive = <1>; | |
31 | allwinner,pull = <0>; | |
32 | }; | |
33 | }; | |
34 | ||
b00adbe0 | 35 | uart1: serial@01c28400 { |
c54729ee MR |
36 | pinctrl-names = "default"; |
37 | pinctrl-0 = <&uart1_pins_b>; | |
d4da2ebb MR |
38 | status = "okay"; |
39 | }; | |
351617cd MR |
40 | |
41 | i2c0: i2c@01c2ac00 { | |
42 | pinctrl-names = "default"; | |
43 | pinctrl-0 = <&i2c0_pins_a>; | |
44 | status = "okay"; | |
45 | }; | |
46 | ||
47 | i2c1: i2c@01c2b000 { | |
48 | pinctrl-names = "default"; | |
49 | pinctrl-0 = <&i2c1_pins_a>; | |
50 | status = "okay"; | |
51 | }; | |
52 | ||
53 | i2c2: i2c@01c2b400 { | |
54 | pinctrl-names = "default"; | |
55 | pinctrl-0 = <&i2c2_pins_a>; | |
56 | status = "okay"; | |
57 | }; | |
d4da2ebb | 58 | }; |
bfef081d MR |
59 | |
60 | leds { | |
61 | compatible = "gpio-leds"; | |
62 | pinctrl-names = "default"; | |
63 | pinctrl-0 = <&led_pins_olinuxino>; | |
64 | ||
65 | power { | |
66 | gpios = <&pio 6 9 0>; | |
67 | default-state = "on"; | |
68 | }; | |
69 | }; | |
d4da2ebb | 70 | }; |