2 * Copyright 2013 Oliver Schinagl
4 * Oliver Schinagl <oliver@schinagl.nl>
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 Cubietruck";
19 compatible = "cubietech,cubietruck", "allwinner,sun7i-a20";
23 led_pins_cubietruck: led_pins@0 {
24 allwinner,pins = "PH7", "PH11", "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>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&i2c2_pins_a>;
57 compatible = "gpio-leds";
58 pinctrl-names = "default";
59 pinctrl-0 = <&led_pins_cubietruck>;
62 label = "cubietruck:blue:usr";
63 gpios = <&pio 7 21 0>;
67 label = "cubietruck:orange:usr";
68 gpios = <&pio 7 20 0>;
72 label = "cubietruck:white:usr";
73 gpios = <&pio 7 11 0>;
77 label = "cubietruck:green:usr";