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>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&ir0_pins_a>;
89 uart0: serial@01c28000 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&uart0_pins_a>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&i2c0_pins_a>;
101 compatible = "x-powers,axp209";
105 interrupt-controller;
106 #interrupt-cells = <1>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&i2c1_pins_a>;
118 compatible = "gpio-leds";
119 pinctrl-names = "default";
120 pinctrl-0 = <&led_pins_cubieboard>;
123 label = "cubieboard:blue:usr";
124 gpios = <&pio 7 21 0>; /* LED1 */
128 label = "cubieboard:green:usr";
129 gpios = <&pio 7 20 0>; /* LED2 */
130 linux,default-trigger = "heartbeat";
134 reg_ahci_5v: ahci-5v {
138 reg_usb1_vbus: usb1-vbus {
142 reg_usb2_vbus: usb2-vbus {