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";
32 pinctrl-names = "default";
33 pinctrl-0 = <&spi1_pins_a>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
40 vmmc-supply = <®_vcc3v3>;
42 cd-gpios = <&pio 7 1 0>; /* PH1 */
48 pinctrl-names = "default";
49 pinctrl-0 = <&mmc3_pins_a>, <&mmc3_cd_pin_olinuxinom>;
50 vmmc-supply = <®_vcc3v3>;
52 cd-gpios = <&pio 7 11 0>; /* PH11 */
57 usbphy: phy@01c13400 {
58 usb1_vbus-supply = <®_usb1_vbus>;
59 usb2_vbus-supply = <®_usb2_vbus>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&spi2_pins_a>;
78 target-supply = <®_ahci_5v>;
91 mmc3_cd_pin_olinuxinom: mmc3_cd_pin@0 {
92 allwinner,pins = "PH11";
93 allwinner,function = "gpio_in";
94 allwinner,drive = <0>;
98 led_pins_olinuxino: led_pins@0 {
99 allwinner,pins = "PH2";
100 allwinner,function = "gpio_out";
101 allwinner,drive = <1>;
102 allwinner,pull = <0>;
106 uart0: serial@01c28000 {
107 pinctrl-names = "default";
108 pinctrl-0 = <&uart0_pins_a>;
112 uart6: serial@01c29800 {
113 pinctrl-names = "default";
114 pinctrl-0 = <&uart6_pins_a>;
118 uart7: serial@01c29c00 {
119 pinctrl-names = "default";
120 pinctrl-0 = <&uart7_pins_a>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&i2c0_pins_a>;
130 compatible = "x-powers,axp209";
132 interrupt-parent = <&nmi_intc>;
135 interrupt-controller;
136 #interrupt-cells = <1>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&i2c1_pins_a>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&i2c2_pins_a>;
152 gmac: ethernet@01c50000 {
153 pinctrl-names = "default";
154 pinctrl-0 = <&gmac_pins_mii_a>;
159 phy1: ethernet-phy@1 {
166 compatible = "gpio-leds";
167 pinctrl-names = "default";
168 pinctrl-0 = <&led_pins_olinuxino>;
171 label = "a20-olinuxino-micro:green:usr";
172 gpios = <&pio 7 2 0>;
173 default-state = "on";
177 reg_ahci_5v: ahci-5v {
181 reg_usb1_vbus: usb1-vbus {
185 reg_usb2_vbus: usb2-vbus {