2 * Copyright 2014 - Hans de Goede <hdegoede@redhat.com>
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
13 /include/ "sun4i-a10.dtsi"
14 /include/ "sunxi-common-regulators.dtsi"
17 model = "Olimex A10-OLinuXino-LIME";
18 compatible = "olimex,a10-olinuxino-lime", "allwinner,sun4i-a10";
21 emac: ethernet@01c0b000 {
22 pinctrl-names = "default";
23 pinctrl-0 = <&emac_pins_a>;
31 phy1: ethernet-phy@1 {
37 pinctrl-names = "default";
38 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
39 vmmc-supply = <®_vcc3v3>;
41 cd-gpios = <&pio 7 1 0>; /* PH1 */
46 usbphy: phy@01c13400 {
47 usb1_vbus-supply = <®_usb1_vbus>;
48 usb2_vbus-supply = <®_usb2_vbus>;
61 target-supply = <®_ahci_5v>;
74 ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 {
75 allwinner,pins = "PC3";
76 allwinner,function = "gpio_out";
77 allwinner,drive = <0>;
81 led_pins_olinuxinolime: led_pins@0 {
82 allwinner,pins = "PH2";
83 allwinner,function = "gpio_out";
84 allwinner,drive = <1>;
89 uart0: serial@01c28000 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&uart0_pins_a>;
97 compatible = "gpio-leds";
98 pinctrl-names = "default";
99 pinctrl-0 = <&led_pins_olinuxinolime>;
102 label = "a10-olinuxino-lime:green:usr";
103 gpios = <&pio 7 2 0>;
104 default-state = "on";
108 reg_ahci_5v: ahci-5v {
109 pinctrl-0 = <&ahci_pwr_pin_olinuxinolime>;
114 reg_usb1_vbus: usb1-vbus {
118 reg_usb2_vbus: usb2-vbus {