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>;
40 cd-gpios = <&pio 7 1 0>; /* PH1 */
45 usbphy: phy@01c13400 {
46 usb1_vbus-supply = <®_usb1_vbus>;
47 usb2_vbus-supply = <®_usb2_vbus>;
60 target-supply = <®_ahci_5v>;
73 ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 {
74 allwinner,pins = "PC3";
75 allwinner,function = "gpio_out";
76 allwinner,drive = <0>;
80 led_pins_olinuxinolime: led_pins@0 {
81 allwinner,pins = "PH2";
82 allwinner,function = "gpio_out";
83 allwinner,drive = <1>;
88 uart0: serial@01c28000 {
89 pinctrl-names = "default";
90 pinctrl-0 = <&uart0_pins_a>;
96 compatible = "gpio-leds";
97 pinctrl-names = "default";
98 pinctrl-0 = <&led_pins_olinuxinolime>;
101 label = "a10-olinuxino-lime:green:usr";
102 gpios = <&pio 7 2 0>;
103 default-state = "on";
107 reg_ahci_5v: ahci-5v {
108 pinctrl-0 = <&ahci_pwr_pin_olinuxinolime>;
113 reg_usb1_vbus: usb1-vbus {
117 reg_usb2_vbus: usb2-vbus {