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 {
38 pinctrl-names = "default";
39 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
40 vmmc-supply = <®_vcc3v3>;
42 cd-gpios = <&pio 7 1 0>; /* PH1 */
47 usbphy: phy@01c13400 {
48 usb1_vbus-supply = <®_usb1_vbus>;
49 usb2_vbus-supply = <®_usb2_vbus>;
62 target-supply = <®_ahci_5v>;
75 led_pins_cubieboard: led_pins@0 {
76 allwinner,pins = "PH20", "PH21";
77 allwinner,function = "gpio_out";
78 allwinner,drive = <1>;
83 uart0: serial@01c28000 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&uart0_pins_a>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&i2c0_pins_a>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&i2c1_pins_a>;
103 compatible = "gpio-leds";
104 pinctrl-names = "default";
105 pinctrl-0 = <&led_pins_cubieboard>;
108 label = "cubieboard:blue:usr";
109 gpios = <&pio 7 21 0>; /* LED1 */
113 label = "cubieboard:green:usr";
114 gpios = <&pio 7 20 0>; /* LED2 */
115 linux,default-trigger = "heartbeat";
119 reg_ahci_5v: ahci-5v {
123 reg_usb1_vbus: usb1-vbus {
127 reg_usb2_vbus: usb2-vbus {