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 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
37 vmmc-supply = <®_vcc3v3>;
39 cd-gpios = <&pio 7 1 0>; /* PH1 */
45 pinctrl-names = "default";
46 pinctrl-0 = <&mmc3_pins_a>, <&mmc3_cd_pin_olinuxinom>;
47 vmmc-supply = <®_vcc3v3>;
49 cd-gpios = <&pio 7 11 0>; /* PH11 */
54 usbphy: phy@01c13400 {
55 usb1_vbus-supply = <®_usb1_vbus>;
56 usb2_vbus-supply = <®_usb2_vbus>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&spi2_pins_a>;
75 target-supply = <®_ahci_5v>;
88 mmc3_cd_pin_olinuxinom: mmc3_cd_pin@0 {
89 allwinner,pins = "PH11";
90 allwinner,function = "gpio_in";
91 allwinner,drive = <0>;
95 led_pins_olinuxino: led_pins@0 {
96 allwinner,pins = "PH2";
97 allwinner,function = "gpio_out";
98 allwinner,drive = <1>;
103 uart0: serial@01c28000 {
104 pinctrl-names = "default";
105 pinctrl-0 = <&uart0_pins_a>;
109 uart6: serial@01c29800 {
110 pinctrl-names = "default";
111 pinctrl-0 = <&uart6_pins_a>;
115 uart7: serial@01c29c00 {
116 pinctrl-names = "default";
117 pinctrl-0 = <&uart7_pins_a>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&i2c0_pins_a>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&i2c1_pins_a>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&i2c2_pins_a>;
139 gmac: ethernet@01c50000 {
140 pinctrl-names = "default";
141 pinctrl-0 = <&gmac_pins_mii_a>;
146 phy1: ethernet-phy@1 {
153 compatible = "gpio-leds";
154 pinctrl-names = "default";
155 pinctrl-0 = <&led_pins_olinuxino>;
158 label = "a20-olinuxino-micro:green:usr";
159 gpios = <&pio 7 2 0>;
160 default-state = "on";
164 reg_ahci_5v: ahci-5v {
168 reg_usb1_vbus: usb1-vbus {
172 reg_usb2_vbus: usb2-vbus {