packages: enable AP mode on r8188eu
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.13 / 184-3-dt-sun7i-add-ehci-cubieboard2.patch
1 From 5b820d3062a436cf36ddf2fecc88524b9adf7b6e Mon Sep 17 00:00:00 2001
2 From: Roman Byshko <rbyshko@gmail.com>
3 Date: Thu, 19 Sep 2013 21:29:45 +0200
4 Subject: [PATCH] ARM: sun7i: dt: Add USB host nodes to cubieboard2 dts
5
6 Add nodes for the usb-phy and ehci- and ohci-usb-host controllers.
7
8 Signed-off-by: Roman Byshko <rbyshko@gmail.com>
9 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
10 ---
11 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 23 +++++++++++++++++++++++
12 1 file changed, 23 insertions(+)
13
14 diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
15 index a8186f5..9fa1d85 100644
16 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
17 +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
18 @@ -14,6 +14,7 @@
19 /dts-v1/;
20 /include/ "sun7i-a20.dtsi"
21 /include/ "sunxi-ahci-reg.dtsi"
22 +/include/ "sun4i-a10-usb-vbus-reg.dtsi"
23
24 / {
25 model = "Cubietech Cubieboard2";
26 @@ -28,11 +29,33 @@
27 status = "okay";
28 };
29
30 + usbphy: phy@01c13400 {
31 + usb1_vbus-supply = <&reg_usb1_vbus>;
32 + usb2_vbus-supply = <&reg_usb2_vbus>;
33 + status = "okay";
34 + };
35 +
36 + ehci0: usb@01c14000 {
37 + status = "okay";
38 + };
39 +
40 + ohci0: usb@01c14400 {
41 + status = "okay";
42 + };
43 +
44 ahci: sata@01c18000 {
45 target-supply = <&reg_ahci_5v>;
46 status = "okay";
47 };
48
49 + ehci1: usb@01c1c000 {
50 + status = "okay";
51 + };
52 +
53 + ohci1: usb@01c1c400 {
54 + status = "okay";
55 + };
56 +
57 pinctrl@01c20800 {
58 led_pins_cubieboard2: led_pins@0 {
59 allwinner,pins = "PH20", "PH21";
60 --
61 1.8.5.5
62