2 * Copyright 2012 Stefan Roese
3 * Stefan Roese <sr@denx.de>
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:
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
14 /include/ "sun4i-a10.dtsi"
17 model = "Cubietech Cubieboard";
18 compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10";
26 bootargs = "earlyprintk console=ttyS0,115200";
30 emac: ethernet@01c0b000 {
31 pinctrl-names = "default";
32 pinctrl-0 = <&emac_pins_a>;
40 phy1: ethernet-phy@1 {
46 led_pins_cubieboard: led_pins@0 {
47 allwinner,pins = "PH20", "PH21";
48 allwinner,function = "gpio_out";
49 allwinner,drive = <1>;
54 uart0: serial@01c28000 {
55 pinctrl-names = "default";
56 pinctrl-0 = <&uart0_pins_a>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&i2c0_pins_a>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&i2c1_pins_a>;
74 compatible = "gpio-leds";
75 pinctrl-names = "default";
76 pinctrl-0 = <&led_pins_cubieboard>;
79 label = "cubieboard::blue";
80 gpios = <&pio 7 21 0>; /* LED1 */
84 label = "cubieboard::green";
85 gpios = <&pio 7 20 0>; /* LED2 */
86 linux,default-trigger = "heartbeat";