adm5120: drop 3.8 and 3.14 support
[openwrt/staging/yousong.git] / target / linux / sunxi / patches-3.14 / 161-dt-sun5i-add-usb-host-bindings.patch
1 From 1b5a1b92147936c5aa2acec1683663b4d22e9ae6 Mon Sep 17 00:00:00 2001
2 From: Roman Byshko <rbyshko@gmail.com>
3 Date: Tue, 24 Sep 2013 20:03:40 +0200
4 Subject: [PATCH] ARM: sun5i: dt: Add USB host bindings
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/sun5i-a10s.dtsi | 32 ++++++++++++++++++++++++++++++++
12 arch/arm/boot/dts/sun5i-a13.dtsi | 32 ++++++++++++++++++++++++++++++++
13 2 files changed, 64 insertions(+)
14
15 --- a/arch/arm/boot/dts/sun5i-a13.dtsi
16 +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
17 @@ -320,6 +320,38 @@
18 #size-cells = <0>;
19 };
20
21 + usbphy: phy@01c13400 {
22 + #phy-cells = <1>;
23 + compatible = "allwinner,sun5i-a13-usb-phy";
24 + reg = <0x01c13400 0x10 0x01c14800 0x4>;
25 + reg-names = "phy_ctrl", "pmu1";
26 + clocks = <&usb_clk 8>;
27 + clock-names = "usb_phy";
28 + resets = <&usb_clk 1>;
29 + reset-names = "usb1_reset";
30 + status = "disabled";
31 + };
32 +
33 + ehci0: usb@01c14000 {
34 + compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
35 + reg = <0x01c14000 0x100>;
36 + interrupts = <39>;
37 + clocks = <&ahb_gates 1>;
38 + phys = <&usbphy 1>;
39 + phy-names = "usb";
40 + status = "disabled";
41 + };
42 +
43 + ohci0: usb@01c14400 {
44 + compatible = "allwinner,sun5i-a13-ohci", "generic-ohci";
45 + reg = <0x01c14400 0x100>;
46 + interrupts = <40>;
47 + clocks = <&usb_clk 6>, <&ahb_gates 2>;
48 + phys = <&usbphy 1>;
49 + phy-names = "usb";
50 + status = "disabled";
51 + };
52 +
53 spi2: spi@01c17000 {
54 compatible = "allwinner,sun4i-a10-spi";
55 reg = <0x01c17000 0x1000>;