2 * Copyright 2013 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
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:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
15 /include/ "sun7i-a20.dtsi"
16 /include/ "sunxi-common-regulators.dtsi"
19 model = "Olimex A20-Olinuxino Micro";
20 compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
29 pinctrl-names = "default";
30 pinctrl-0 = <&spi1_pins_a>;
35 pinctrl-names = "default";
36 pinctrl-0 = <&spi2_pins_a>;
41 target-supply = <®_ahci_5v>;
46 led_pins_olinuxino: led_pins@0 {
47 allwinner,pins = "PH2";
48 allwinner,function = "gpio_out";
49 allwinner,drive = <1>;
54 uart0: serial@01c28000 {
55 pinctrl-names = "default";
56 pinctrl-0 = <&uart0_pins_a>;
60 uart6: serial@01c29800 {
61 pinctrl-names = "default";
62 pinctrl-0 = <&uart6_pins_a>;
66 uart7: serial@01c29c00 {
67 pinctrl-names = "default";
68 pinctrl-0 = <&uart7_pins_a>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&i2c0_pins_a>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&i2c1_pins_a>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&i2c2_pins_a>;
90 gmac: ethernet@01c50000 {
91 pinctrl-names = "default";
92 pinctrl-0 = <&gmac_pins_mii_a>;
97 phy1: ethernet-phy@1 {
104 compatible = "gpio-leds";
105 pinctrl-names = "default";
106 pinctrl-0 = <&led_pins_olinuxino>;
109 label = "a20-olinuxino-micro:green:usr";
110 gpios = <&pio 7 2 0>;
111 default-state = "on";
115 reg_ahci_5v: ahci-5v {