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"
18 model = "Cubietech Cubieboard2";
19 compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";
23 led_pins_cubieboard2: led_pins@0 {
24 allwinner,pins = "PH20", "PH21";
25 allwinner,function = "gpio_out";
26 allwinner,drive = <0>;
31 uart0: serial@01c28000 {
32 pinctrl-names = "default";
33 pinctrl-0 = <&uart0_pins_a>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&i2c0_pins_a>;
44 pinctrl-names = "default";
45 pinctrl-0 = <&i2c1_pins_a>;
49 gmac: ethernet@01c50000 {
50 pinctrl-names = "default";
51 pinctrl-0 = <&gmac_pins_mii_a>;
56 phy1: ethernet-phy@1 {
63 compatible = "gpio-leds";
64 pinctrl-names = "default";
65 pinctrl-0 = <&led_pins_cubieboard2>;
68 label = "cubieboard2:blue:usr";
69 gpios = <&pio 7 21 0>;
73 label = "cubieboard2:green:usr";
74 gpios = <&pio 7 20 0>;