]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
ARM: sun7i: dt: Add USB host nodes to cubietruck dts
[mirror_ubuntu-zesty-kernel.git] / arch / arm / boot / dts / sun7i-a20-cubieboard2.dts
CommitLineData
82abe529
MR
1/*
2 * Copyright 2013 Maxime Ripard
3 *
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
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/ "sun7i-a20.dtsi"
902febf9 16/include/ "sunxi-common-regulators.dtsi"
82abe529
MR
17
18/ {
19 model = "Cubietech Cubieboard2";
20 compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";
21
22 soc@01c00000 {
902febf9
HG
23 ahci: sata@01c18000 {
24 target-supply = <&reg_ahci_5v>;
25 status = "okay";
26 };
27
82abe529
MR
28 pinctrl@01c20800 {
29 led_pins_cubieboard2: led_pins@0 {
30 allwinner,pins = "PH20", "PH21";
31 allwinner,function = "gpio_out";
32 allwinner,drive = <0>;
33 allwinner,pull = <0>;
34 };
35 };
36
37 uart0: serial@01c28000 {
38 pinctrl-names = "default";
39 pinctrl-0 = <&uart0_pins_a>;
40 status = "okay";
41 };
ce0106c5
MR
42
43 i2c0: i2c@01c2ac00 {
44 pinctrl-names = "default";
45 pinctrl-0 = <&i2c0_pins_a>;
46 status = "okay";
47 };
48
49 i2c1: i2c@01c2b000 {
50 pinctrl-names = "default";
51 pinctrl-0 = <&i2c1_pins_a>;
52 status = "okay";
53 };
5e71892f
CYT
54
55 gmac: ethernet@01c50000 {
56 pinctrl-names = "default";
57 pinctrl-0 = <&gmac_pins_mii_a>;
58 phy = <&phy1>;
59 phy-mode = "mii";
60 status = "okay";
61
62 phy1: ethernet-phy@1 {
63 reg = <1>;
64 };
65 };
82abe529
MR
66 };
67
68 leds {
69 compatible = "gpio-leds";
70 pinctrl-names = "default";
71 pinctrl-0 = <&led_pins_cubieboard2>;
72
73 blue {
74 label = "cubieboard2:blue:usr";
75 gpios = <&pio 7 21 0>;
76 };
77
78 green {
79 label = "cubieboard2:green:usr";
80 gpios = <&pio 7 20 0>;
81 };
82 };
902febf9
HG
83
84 reg_ahci_5v: ahci-5v {
85 status = "okay";
86 };
82abe529 87};