blob: 3ca55067f86848eee329392d65d078fdd5b72faf [file] [log] [blame]
Maxime Ripardd4da2eb2012-11-14 20:17:04 +01001/*
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/;
Maxime Ripard68136b12012-12-12 17:08:23 +010015/include/ "sun5i-a13.dtsi"
Maxime Ripardd4da2eb2012-11-14 20:17:04 +010016
17/ {
18 model = "Olimex A13-Olinuxino";
Maxime Ripard68136b12012-12-12 17:08:23 +010019 compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13";
Maxime Ripardd4da2eb2012-11-14 20:17:04 +010020
Stefan Roesede0bf332012-11-19 12:09:40 +010021 chosen {
22 bootargs = "earlyprintk console=ttyS0,115200";
23 };
24
Maxime Ripard69144e32013-03-13 20:07:37 +010025 soc@01c20000 {
Maxime Ripardbfef0812013-01-08 22:35:17 +010026 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
Maxime Ripardb00adbe2013-03-18 10:54:49 +010035 uart1: serial@01c28400 {
Maxime Ripardc54729e2013-01-18 22:30:39 +010036 pinctrl-names = "default";
37 pinctrl-0 = <&uart1_pins_b>;
Maxime Ripardd4da2eb2012-11-14 20:17:04 +010038 status = "okay";
39 };
40 };
Maxime Ripardbfef0812013-01-08 22:35:17 +010041
42 leds {
43 compatible = "gpio-leds";
44 pinctrl-names = "default";
45 pinctrl-0 = <&led_pins_olinuxino>;
46
47 power {
48 gpios = <&pio 6 9 0>;
49 default-state = "on";
50 };
51 };
Maxime Ripardd4da2eb2012-11-14 20:17:04 +010052};