2 +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
5 + * Copyright 2014 Zoltan HERPAI
6 + * Zoltan HERPAI <wigyori@uid0.hu>
8 + * The code contained herein is licensed under the GNU General Public
9 + * License. You may obtain a copy of the GNU General Public License
10 + * Version 2 or later at the following locations:
12 + * http://www.opensource.org/licenses/gpl-license.html
13 + * http://www.gnu.org/copyleft/gpl.html
17 +/include/ "sun7i-a20.dtsi"
18 +/include/ "sunxi-ahci-reg.dtsi"
19 +/include/ "sun4i-a10-usb-vbus-reg.dtsi"
20 +#include <dt-bindings/input/input.h>
23 + model = "LinkSprite pcDuino V3";
24 + compatible = "linksprite,a20-pcduino", "allwinner,sun7i-a20";
32 + spi1: spi@01c06000 {
33 + pinctrl-names = "default";
34 + pinctrl-0 = <&spi1_pins_a>;
38 + spi2: spi@01c17000 {
39 + pinctrl-names = "default";
40 + pinctrl-0 = <&spi2_pins_a>;
44 + mmc0: mmc@01c0f000 {
45 + pinctrl-names = "default", "default";
46 + pinctrl-0 = <&mmc0_pins_a>;
47 + pinctrl-1 = <&mmc0_cd_pin_reference_design>;
48 + cd-gpios = <&pio 7 1 0>; /* PH1 */
52 + usbphy: phy@01c13400 {
53 + usb1_vbus-supply = <®_usb1_vbus>;
54 + usb2_vbus-supply = <®_usb2_vbus>;
58 + ehci0: usb@01c14000 {
62 + ohci0: usb@01c14400 {
66 + ahci: sata@01c18000 {
67 + target-supply = <®_ahci_5v>;
71 + ehci1: usb@01c1c000 {
75 + ohci1: usb@01c1c400 {
80 + led_pins_pcduino3: led_pins@0 {
81 + allwinner,pins = "PH2";
82 + allwinner,function = "gpio_out";
83 + allwinner,drive = <1>;
84 + allwinner,pull = <0>;
88 + lradc: lradc@01c22800 {
89 + allwinner,chan0-step = <200>;
90 + linux,chan0-keycodes = <KEY_VOLUMEUP KEY_VOLUMEDOWN
91 + KEY_MENU KEY_SEARCH KEY_HOME
96 + uart0: serial@01c28000 {
97 + pinctrl-names = "default";
98 + pinctrl-0 = <&uart0_pins_a>;
102 + uart6: serial@01c29800 {
103 + pinctrl-names = "default";
104 + pinctrl-0 = <&uart6_pins_a>;
108 + uart7: serial@01c29c00 {
109 + pinctrl-names = "default";
110 + pinctrl-0 = <&uart7_pins_a>;
114 + i2c0: i2c@01c2ac00 {
115 + pinctrl-names = "default";
116 + pinctrl-0 = <&i2c0_pins_a>;
120 + i2c1: i2c@01c2b000 {
121 + pinctrl-names = "default";
122 + pinctrl-0 = <&i2c1_pins_a>;
126 + i2c2: i2c@01c2b400 {
127 + pinctrl-names = "default";
128 + pinctrl-0 = <&i2c2_pins_a>;
132 + gmac: ethernet@01c50000 {
133 + pinctrl-names = "default";
134 + pinctrl-0 = <&gmac_pins_mii_a>;
139 + phy1: ethernet-phy@1 {
146 + compatible = "gpio-leds";
147 + pinctrl-names = "default";
148 + pinctrl-0 = <&led_pins_pcduino3>;
151 + label = "a20-pcduino:green:usr";
152 + gpios = <&pio 7 2 0>;
153 + default-state = "on";