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"
15 /include/ "sunxi-common-regulators.dtsi"
18 model = "Cubietech Cubieboard";
19 compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10";
22 emac: ethernet@01c0b000 {
23 pinctrl-names = "default";
24 pinctrl-0 = <&emac_pins_a>;
32 phy1: ethernet-phy@1 {
37 usbphy: phy@01c13400 {
38 usb1_vbus-supply = <®_usb1_vbus>;
39 usb2_vbus-supply = <®_usb2_vbus>;
52 target-supply = <®_ahci_5v>;
65 led_pins_cubieboard: led_pins@0 {
66 allwinner,pins = "PH20", "PH21";
67 allwinner,function = "gpio_out";
68 allwinner,drive = <1>;
73 uart0: serial@01c28000 {
74 pinctrl-names = "default";
75 pinctrl-0 = <&uart0_pins_a>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&i2c0_pins_a>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&i2c1_pins_a>;
93 compatible = "gpio-leds";
94 pinctrl-names = "default";
95 pinctrl-0 = <&led_pins_cubieboard>;
98 label = "cubieboard:blue:usr";
99 gpios = <&pio 7 21 0>; /* LED1 */
103 label = "cubieboard:green:usr";
104 gpios = <&pio 7 20 0>; /* LED2 */
105 linux,default-trigger = "heartbeat";
109 reg_ahci_5v: ahci-5v {
113 reg_usb1_vbus: usb1-vbus {
117 reg_usb2_vbus: usb2-vbus {