2 * Copyright 2013 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
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/ "sun7i-a20.dtsi"
16 /include/ "sunxi-common-regulators.dtsi"
19 model = "Cubietech Cubieboard2";
20 compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";
23 usbphy: phy@01c13400 {
24 usb1_vbus-supply = <®_usb1_vbus>;
25 usb2_vbus-supply = <®_usb2_vbus>;
38 target-supply = <®_ahci_5v>;
51 led_pins_cubieboard2: led_pins@0 {
52 allwinner,pins = "PH20", "PH21";
53 allwinner,function = "gpio_out";
54 allwinner,drive = <0>;
59 uart0: serial@01c28000 {
60 pinctrl-names = "default";
61 pinctrl-0 = <&uart0_pins_a>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&i2c0_pins_a>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&i2c1_pins_a>;
77 gmac: ethernet@01c50000 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&gmac_pins_mii_a>;
84 phy1: ethernet-phy@1 {
91 compatible = "gpio-leds";
92 pinctrl-names = "default";
93 pinctrl-0 = <&led_pins_cubieboard2>;
96 label = "cubieboard2:blue:usr";
97 gpios = <&pio 7 21 0>;
101 label = "cubieboard2:green:usr";
102 gpios = <&pio 7 20 0>;
106 reg_ahci_5v: ahci-5v {
110 reg_usb1_vbus: usb1-vbus {
114 reg_usb2_vbus: usb2-vbus {