upgrade 3.13 targets to 3.13.2, refresh patches
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.13 / 175-2-dt-sun5i-add-ehci-bindings.patch
1 From 3d3aa5f5c67d3f860b68def6a0ffce5e7175f85e Mon Sep 17 00:00:00 2001
2 From: arokux <arokux@gmail.com>
3 Date: Tue, 24 Sep 2013 20:03:40 +0200
4 Subject: [PATCH] ARM: sun5i: dt: Add USB EHCI bindings
5
6 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
7 ---
8 arch/arm/boot/dts/sun5i-a13.dtsi | 21 +++++++++++++++++++++
9 1 file changed, 21 insertions(+)
10
11 --- a/arch/arm/boot/dts/sun5i-a13.dtsi
12 +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
13 @@ -16,6 +16,10 @@
14 / {
15 interrupt-parent = <&intc>;
16
17 + aliases {
18 + ehci1 = &ehci0;
19 + };
20 +
21 cpus {
22 #address-cells = <1>;
23 #size-cells = <0>;
24 @@ -423,5 +427,22 @@
25 interrupts = <82>, <83>;
26 clocks = <&ahb_gates 28>;
27 };
28 +
29 + usb_rst: reset@0x01c200cc {
30 + #reset-cells = <1>;
31 + compatible = "allwinner,sun4i-clock-reset";
32 + reg = <0x01c200cc 0x4>;
33 + };
34 +
35 + ehci0: ehci0@0x01c14000 {
36 + compatible = "allwinner,sunxi-ehci";
37 + reg = <0x01c14000 0x400 0x01c14800 0x4 0x01c13404 0x4>;
38 + interrupts = <39>;
39 + resets = <&usb_rst 1>;
40 + reset-names = "ehci_reset";
41 + clocks = <&usb 8>, <&ahb_gates 1>;
42 + clock-names = "usb_phy", "ahb_ehci";
43 + status = "disabled";
44 + };
45 };
46 };