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"
19 compatible = "mele,a1000", "allwinner,sun4i-a10";
22 emac: ethernet@01c0b000 {
23 pinctrl-names = "default";
24 pinctrl-0 = <&emac_pins_a>;
30 phy-supply = <®_emac_3v3>;
33 phy1: ethernet-phy@1 {
39 emac_power_pin_a1000: emac_power_pin@0 {
40 allwinner,pins = "PH15";
41 allwinner,function = "gpio_out";
42 allwinner,drive = <0>;
46 led_pins_a1000: led_pins@0 {
47 allwinner,pins = "PH10", "PH20";
48 allwinner,function = "gpio_out";
49 allwinner,drive = <0>;
54 uart0: serial@01c28000 {
55 pinctrl-names = "default";
56 pinctrl-0 = <&uart0_pins_a>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&i2c0_pins_a>;
68 compatible = "gpio-leds";
69 pinctrl-names = "default";
70 pinctrl-0 = <&led_pins_a1000>;
73 label = "a1000:red:usr";
74 gpios = <&pio 7 10 0>;
78 label = "a1000:blue:usr";
79 gpios = <&pio 7 20 0>;
84 compatible = "simple-bus";
86 reg_emac_3v3: emac-3v3 {
87 compatible = "regulator-fixed";
88 pinctrl-names = "default";
89 pinctrl-0 = <&emac_power_pin_a1000>;
90 regulator-name = "emac-3v3";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;