2 * This is based on sun4i-a10-olinuxino-lime.dts
4 * Copyright 2014 - Hans de Goede <hdegoede@redhat.com>
5 * Copyright (c) 2014 FUKAUMI Naoki <naobsd@gmail.com>
7 * The code contained herein is licensed under the GNU General Public
8 * License. You may obtain a copy of the GNU General Public License
9 * Version 2 or later at the following locations:
11 * http://www.opensource.org/licenses/gpl-license.html
12 * http://www.gnu.org/copyleft/gpl.html
16 /include/ "sun7i-a20.dtsi"
17 /include/ "sunxi-common-regulators.dtsi"
20 model = "Olimex A20-OLinuXino-LIME";
21 compatible = "olimex,a20-olinuxino-lime", "allwinner,sun7i-a20";
25 pinctrl-names = "default";
26 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
27 vmmc-supply = <®_vcc3v3>;
29 cd-gpios = <&pio 7 1 0>; /* PH1 */
34 usbphy: phy@01c13400 {
35 usb1_vbus-supply = <®_usb1_vbus>;
36 usb2_vbus-supply = <®_usb2_vbus>;
49 target-supply = <®_ahci_5v>;
62 ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 {
63 allwinner,pins = "PC3";
64 allwinner,function = "gpio_out";
65 allwinner,drive = <0>;
69 led_pins_olinuxinolime: led_pins@0 {
70 allwinner,pins = "PH2";
71 allwinner,function = "gpio_out";
72 allwinner,drive = <1>;
77 uart0: serial@01c28000 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&uart0_pins_a>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&i2c0_pins_a>;
89 compatible = "x-powers,axp209";
91 interrupt-parent = <&nmi_intc>;
95 #interrupt-cells = <1>;
99 gmac: ethernet@01c50000 {
100 pinctrl-names = "default";
101 pinctrl-0 = <&gmac_pins_mii_a>;
106 phy1: ethernet-phy@1 {
113 compatible = "gpio-leds";
114 pinctrl-names = "default";
115 pinctrl-0 = <&led_pins_olinuxinolime>;
118 label = "a20-olinuxino-lime:green:usr";
119 gpios = <&pio 7 2 0>;
120 default-state = "on";
124 reg_ahci_5v: ahci-5v {
125 pinctrl-0 = <&ahci_pwr_pin_olinuxinolime>;
130 reg_usb1_vbus: usb1-vbus {
134 reg_usb2_vbus: usb2-vbus {