1 From aad62992a2921436ec7c054f8b80bc916b8cc9d7 Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Sat, 14 Dec 2013 16:26:17 +0100
4 Subject: [PATCH] ARM: dts: sun5i: Add new sun5i-a13-olinuxino-micro board
6 The A13-OLinuXino-MICRO is a small dev-board with the Allwinner A13 SoC:
7 https://www.olimex.com/Products/OLinuXino/A13/A13-OLinuXino-MICRO/
10 A13 Cortex A8 processor at 1GHz, 3D Mali400 GPU
11 256 MB RAM (128Mbit x 16)
12 5VDC input power supply with own ICs, noise immune design
14 1 USB OTG which can power the board
15 SD-card connector for booting the Linux image
17 LCD signals available on connector so you still can use LCD if you disable VGA/HDMI
19 Microphone input pads (no connector)
21 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
23 arch/arm/boot/dts/Makefile | 1 +
24 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 68 +++++++++++++++++++++++++
25 2 files changed, 69 insertions(+)
26 create mode 100644 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts
28 --- a/arch/arm/boot/dts/Makefile
29 +++ b/arch/arm/boot/dts/Makefile
30 @@ -255,6 +255,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += \
31 sun4i-a10-hackberry.dtb \
32 sun5i-a10s-olinuxino-micro.dtb \
33 sun5i-a13-olinuxino.dtb \
34 + sun5i-a13-olinuxino-micro.dtb \
35 sun6i-a31-colombus.dtb \
36 sun7i-a20-cubieboard2.dtb \
37 sun7i-a20-cubietruck.dtb \
39 +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts
42 + * Copyright 2012 Maxime Ripard
43 + * Copyright 2013 Hans de Goede <hdegoede@redhat.com>
45 + * Maxime Ripard <maxime.ripard@free-electrons.com>
47 + * The code contained herein is licensed under the GNU General Public
48 + * License. You may obtain a copy of the GNU General Public License
49 + * Version 2 or later at the following locations:
51 + * http://www.opensource.org/licenses/gpl-license.html
52 + * http://www.gnu.org/copyleft/gpl.html
56 +/include/ "sun5i-a13.dtsi"
59 + model = "Olimex A13-Olinuxino Micro";
60 + compatible = "olimex,a13-olinuxino-micro", "allwinner,sun5i-a13";
64 + led_pins_olinuxinom: led_pins@0 {
65 + allwinner,pins = "PG9";
66 + allwinner,function = "gpio_out";
67 + allwinner,drive = <1>;
68 + allwinner,pull = <0>;
72 + uart1: serial@01c28400 {
73 + pinctrl-names = "default";
74 + pinctrl-0 = <&uart1_pins_b>;
78 + i2c0: i2c@01c2ac00 {
79 + pinctrl-names = "default";
80 + pinctrl-0 = <&i2c0_pins_a>;
84 + i2c1: i2c@01c2b000 {
85 + pinctrl-names = "default";
86 + pinctrl-0 = <&i2c1_pins_a>;
90 + i2c2: i2c@01c2b400 {
91 + pinctrl-names = "default";
92 + pinctrl-0 = <&i2c2_pins_a>;
98 + compatible = "gpio-leds";
99 + pinctrl-names = "default";
100 + pinctrl-0 = <&led_pins_olinuxinom>;
103 + label = "a13-olinuxino-micro:green:power";
104 + gpios = <&pio 6 9 0>;
105 + default-state = "on";