ARM: sunxi: dt: Convert to the new clock compatibles
[deliverable/linux.git] / arch / arm / boot / dts / sun4i-a10-a1000.dts
CommitLineData
629ae88e
EL
1/*
2 * Copyright 2013 Emilio López
3 *
4 * Emilio López <emilio@elopez.com.ar>
5 *
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:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/dts-v1/;
15/include/ "sun4i-a10.dtsi"
16
17/ {
18 model = "Mele A1000";
19 compatible = "mele,a1000", "allwinner,sun4i-a10";
20
629ae88e
EL
21 soc@01c00000 {
22 emac: ethernet@01c0b000 {
23 pinctrl-names = "default";
24 pinctrl-0 = <&emac_pins_a>;
25 phy = <&phy1>;
26 status = "okay";
27 };
28
29 mdio@01c0b080 {
30 phy-supply = <&reg_emac_3v3>;
31 status = "okay";
32
33 phy1: ethernet-phy@1 {
34 reg = <1>;
35 };
36 };
37
38 pinctrl@01c20800 {
39 emac_power_pin_a1000: emac_power_pin@0 {
40 allwinner,pins = "PH15";
41 allwinner,function = "gpio_out";
42 allwinner,drive = <0>;
43 allwinner,pull = <0>;
44 };
45
46 led_pins_a1000: led_pins@0 {
47 allwinner,pins = "PH10", "PH20";
48 allwinner,function = "gpio_out";
49 allwinner,drive = <0>;
50 allwinner,pull = <0>;
51 };
52 };
53
54 uart0: serial@01c28000 {
55 pinctrl-names = "default";
56 pinctrl-0 = <&uart0_pins_a>;
57 status = "okay";
58 };
59
60 i2c0: i2c@01c2ac00 {
61 pinctrl-names = "default";
62 pinctrl-0 = <&i2c0_pins_a>;
63 status = "okay";
64 };
65 };
66
67 leds {
68 compatible = "gpio-leds";
69 pinctrl-names = "default";
70 pinctrl-0 = <&led_pins_a1000>;
71
72 red {
73 label = "a1000:red:usr";
74 gpios = <&pio 7 10 0>;
75 };
76
77 blue {
78 label = "a1000:blue:usr";
79 gpios = <&pio 7 20 0>;
80 };
81 };
82
83 regulators {
84 compatible = "simple-bus";
85
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>;
93 enable-active-high;
94 gpio = <&pio 7 15 0>;
95 };
96 };
97};
This page took 0.064943 seconds and 5 git commands to generate.