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 {
40 pinctrl-names = "default";
41 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
42 vmmc-supply = <®_vcc3v3>;
44 cd-gpios = <&pio 7 1 0>; /* PH1 */
49 usbphy: phy@01c13400 {
50 usb1_vbus-supply = <®_usb1_vbus>;
51 usb2_vbus-supply = <®_usb2_vbus>;
76 emac_power_pin_a1000: emac_power_pin@0 {
77 allwinner,pins = "PH15";
78 allwinner,function = "gpio_out";
79 allwinner,drive = <0>;
83 led_pins_a1000: led_pins@0 {
84 allwinner,pins = "PH10", "PH20";
85 allwinner,function = "gpio_out";
86 allwinner,drive = <0>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&ir0_pins_a>;
97 uart0: serial@01c28000 {
98 pinctrl-names = "default";
99 pinctrl-0 = <&uart0_pins_a>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&i2c0_pins_a>;
109 compatible = "x-powers,axp209";
113 interrupt-controller;
114 #interrupt-cells = <1>;
120 compatible = "gpio-leds";
121 pinctrl-names = "default";
122 pinctrl-0 = <&led_pins_a1000>;
125 label = "a1000:red:usr";
126 gpios = <&pio 7 10 0>;
130 label = "a1000:blue:usr";
131 gpios = <&pio 7 20 0>;
135 reg_emac_3v3: emac-3v3 {
136 compatible = "regulator-fixed";
137 pinctrl-names = "default";
138 pinctrl-0 = <&emac_power_pin_a1000>;
139 regulator-name = "emac-3v3";
140 regulator-min-microvolt = <3300000>;
141 regulator-max-microvolt = <3300000>;
143 gpio = <&pio 7 15 0>;
146 reg_usb1_vbus: usb1-vbus {
150 reg_usb2_vbus: usb2-vbus {