1 From 991b5f6d2af837b56adfcb3b3a1fe167647b9fdb Mon Sep 17 00:00:00 2001
2 From: Roman Byshko <rbyshko@gmail.com>
3 Date: Wed, 18 Sep 2013 00:30:04 +0200
4 Subject: [PATCH] ARM: sun4i: 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/sun4i-a10.dtsi | 52 ++++++++++++++++++++++++++++++++++++++++
12 1 file changed, 52 insertions(+)
14 --- a/arch/arm/boot/dts/sun4i-a10.dtsi
15 +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
20 + usbphy: phy@01c13400 {
22 + compatible = "allwinner,sun4i-a10-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,sun4i-a10-ehci", "generic-ehci";
34 + reg = <0x01c14000 0x100>;
36 + clocks = <&ahb_gates 1>;
39 + status = "disabled";
42 + ohci0: usb@01c14400 {
43 + compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
44 + reg = <0x01c14400 0x100>;
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,sun4i-a10-ehci", "generic-ehci";
61 + reg = <0x01c1c000 0x100>;
63 + clocks = <&ahb_gates 3>;
66 + status = "disabled";
69 + ohci1: usb@01c1c400 {
70 + compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
71 + reg = <0x01c1c400 0x100>;
73 + clocks = <&usb_clk 7>, <&ahb_gates 4>;
76 + status = "disabled";
80 compatible = "allwinner,sun4i-a10-spi";
81 reg = <0x01c1f000 0x1000>;