2 * Copyright 2013 Emilio López
4 * Emilio López <emilio@elopez.com.ar>
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/ "sun4i-a10.dtsi"
16 /include/ "sunxi-common-regulators.dtsi"
20 compatible = "mele,a1000", "allwinner,sun4i-a10";
23 emac: ethernet@01c0b000 {
24 pinctrl-names = "default";
25 pinctrl-0 = <&emac_pins_a>;
31 phy-supply = <®_emac_3v3>;
34 phy1: ethernet-phy@1 {
39 usbphy: phy@01c13400 {
40 usb1_vbus-supply = <®_usb1_vbus>;
41 usb2_vbus-supply = <®_usb2_vbus>;
66 emac_power_pin_a1000: emac_power_pin@0 {
67 allwinner,pins = "PH15";
68 allwinner,function = "gpio_out";
69 allwinner,drive = <0>;
73 led_pins_a1000: led_pins@0 {
74 allwinner,pins = "PH10", "PH20";
75 allwinner,function = "gpio_out";
76 allwinner,drive = <0>;
81 uart0: serial@01c28000 {
82 pinctrl-names = "default";
83 pinctrl-0 = <&uart0_pins_a>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&i2c0_pins_a>;
95 compatible = "gpio-leds";
96 pinctrl-names = "default";
97 pinctrl-0 = <&led_pins_a1000>;
100 label = "a1000:red:usr";
101 gpios = <&pio 7 10 0>;
105 label = "a1000:blue:usr";
106 gpios = <&pio 7 20 0>;
110 reg_emac_3v3: emac-3v3 {
111 compatible = "regulator-fixed";
112 pinctrl-names = "default";
113 pinctrl-0 = <&emac_power_pin_a1000>;
114 regulator-name = "emac-3v3";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
118 gpio = <&pio 7 15 0>;
121 reg_usb1_vbus: usb1-vbus {
125 reg_usb2_vbus: usb2-vbus {