blob: 4d9c3cdddced800f96adc95836a7e37520eeee9b [file] [log] [blame]
Zoltan HERPAI7f624ce2014-01-13 14:15:01 +01001/*
2 * Copyright 2014 Zoltan HERPAI
3 * Zoltan HERPAI <wigyori@uid0.hu>
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
13/dts-v1/;
14/include/ "sun4i-a10.dtsi"
Hans de Goede77978a32014-03-01 20:26:30 +010015/include/ "sunxi-common-regulators.dtsi"
Zoltan HERPAI7f624ce2014-01-13 14:15:01 +010016
17/ {
18 model = "LinkSprite pcDuino";
19 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10";
20
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 status = "okay";
31
32 phy1: ethernet-phy@1 {
33 reg = <1>;
34 };
35 };
36
Hans de Goedec0955a82014-05-02 17:57:20 +020037 mmc0: mmc@01c0f000 {
38 pinctrl-names = "default";
39 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
40 bus-width = <4>;
41 cd-gpios = <&pio 7 1 0>; /* PH1 */
42 cd-inverted;
43 status = "okay";
44 };
45
Hans de Goede77978a32014-03-01 20:26:30 +010046 usbphy: phy@01c13400 {
47 usb1_vbus-supply = <&reg_usb1_vbus>;
48 usb2_vbus-supply = <&reg_usb2_vbus>;
49 status = "okay";
50 };
51
52 ehci0: usb@01c14000 {
53 status = "okay";
54 };
55
56 ohci0: usb@01c14400 {
57 status = "okay";
58 };
59
60 ehci1: usb@01c1c000 {
61 status = "okay";
62 };
63
64 ohci1: usb@01c1c400 {
65 status = "okay";
66 };
67
Zoltan HERPAI7f624ce2014-01-13 14:15:01 +010068 uart0: serial@01c28000 {
69 pinctrl-names = "default";
70 pinctrl-0 = <&uart0_pins_a>;
71 status = "okay";
72 };
73
74 i2c0: i2c@01c2ac00 {
75 pinctrl-names = "default";
76 pinctrl-0 = <&i2c0_pins_a>;
77 status = "okay";
78 };
79 };
Hans de Goede77978a32014-03-01 20:26:30 +010080
81 reg_usb1_vbus: usb1-vbus {
82 status = "okay";
83 };
84
85 reg_usb2_vbus: usb2-vbus {
86 status = "okay";
87 };
Zoltan HERPAI7f624ce2014-01-13 14:15:01 +010088};