1 From 008dffff2fa751c988671c4fc0c9a404ea808280 Mon Sep 17 00:00:00 2001
2 From: Roman Byshko <rbyshko@gmail.com>
3 Date: Thu, 19 Sep 2013 21:36:10 +0200
4 Subject: [PATCH] ARM: sun7i: dt: Add USB host bindings
6 Add nodes for the usb-phy and ehci- and ohci-usb-host controllers.
8 Signed-off-by: Roman Byshko <rbyshko@gmail.com>
9 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
11 arch/arm/boot/dts/sun7i-a20.dtsi | 52 ++++++++++++++++++++++++++++++++++++++++
12 1 file changed, 52 insertions(+)
14 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
15 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
20 + usbphy: phy@01c13400 {
22 + compatible = "allwinner,sun7i-a20-usb-phy";
23 + reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
24 + reg-names = "phy_ctrl", "pmu1", "pmu2";
25 + clocks = <&usb_clk 8>;
26 + clock-names = "usb_phy";
27 + resets = <&usb_clk 1>, <&usb_clk 2>;
28 + reset-names = "usb1_reset", "usb2_reset";
29 + status = "disabled";
32 + ehci0: usb@01c14000 {
33 + compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
34 + reg = <0x01c14000 0x100>;
35 + interrupts = <0 39 4>;
36 + clocks = <&ahb_gates 1>;
39 + status = "disabled";
42 + ohci0: usb@01c14400 {
43 + compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
44 + reg = <0x01c14400 0x100>;
45 + interrupts = <0 64 4>;
46 + clocks = <&usb_clk 6>, <&ahb_gates 2>;
49 + status = "disabled";
53 compatible = "allwinner,sun4i-a10-spi";
54 reg = <0x01c17000 0x1000>;
59 + ehci1: usb@01c1c000 {
60 + compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
61 + reg = <0x01c1c000 0x100>;
62 + interrupts = <0 40 4>;
63 + clocks = <&ahb_gates 3>;
66 + status = "disabled";
69 + ohci1: usb@01c1c400 {
70 + compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
71 + reg = <0x01c1c400 0x100>;
72 + interrupts = <0 65 4>;
73 + clocks = <&usb_clk 7>, <&ahb_gates 4>;
76 + status = "disabled";
80 compatible = "allwinner,sun4i-a10-spi";
81 reg = <0x01c1f000 0x1000>;