1 From 22f661c548042565ffa32e468267f94cadafe144 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
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/sun5i-a10s.dtsi | 32 ++++++++++++++++++++++++++++++++
12 arch/arm/boot/dts/sun5i-a13.dtsi | 32 ++++++++++++++++++++++++++++++++
13 2 files changed, 64 insertions(+)
15 diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
16 index 0565040..a5431ed 100644
17 --- a/arch/arm/boot/dts/sun5i-a10s.dtsi
18 +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
23 + usbphy: phy@01c13400 {
25 + compatible = "allwinner,sun5i-a13-usb-phy";
26 + reg = <0x01c13400 0x10 0x01c14800 0x4>;
27 + reg-names = "phy_ctrl", "pmu1";
28 + clocks = <&usb_clk 8>;
29 + clock-names = "usb_phy";
30 + resets = <&usb_clk 1>;
31 + reset-names = "usb1_reset";
32 + status = "disabled";
35 + ehci0: usb@01c14000 {
36 + compatible = "allwinner,sun5i-a10s-ehci", "generic-ehci";
37 + reg = <0x01c14000 0x100>;
39 + clocks = <&ahb_gates 1>;
42 + status = "disabled";
45 + ohci0: usb@01c14400 {
46 + compatible = "allwinner,sun5i-a10s-ohci", "generic-ohci";
47 + reg = <0x01c14400 0x100>;
49 + clocks = <&usb_clk 6>, <&ahb_gates 2>;
52 + status = "disabled";
55 intc: interrupt-controller@01c20400 {
56 compatible = "allwinner,sun4i-ic";
57 reg = <0x01c20400 0x400>;
58 diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
59 index 785dea5..7fe9cdc 100644
60 --- a/arch/arm/boot/dts/sun5i-a13.dtsi
61 +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
66 + usbphy: phy@01c13400 {
68 + compatible = "allwinner,sun5i-a13-usb-phy";
69 + reg = <0x01c13400 0x10 0x01c14800 0x4>;
70 + reg-names = "phy_ctrl", "pmu1";
71 + clocks = <&usb_clk 8>;
72 + clock-names = "usb_phy";
73 + resets = <&usb_clk 1>;
74 + reset-names = "usb1_reset";
75 + status = "disabled";
78 + ehci0: usb@01c14000 {
79 + compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
80 + reg = <0x01c14000 0x100>;
82 + clocks = <&ahb_gates 1>;
85 + status = "disabled";
88 + ohci0: usb@01c14400 {
89 + compatible = "allwinner,sun5i-a13-ohci", "generic-ohci";
90 + reg = <0x01c14400 0x100>;
92 + clocks = <&usb_clk 6>, <&ahb_gates 2>;
95 + status = "disabled";
98 intc: interrupt-controller@01c20400 {
99 compatible = "allwinner,sun4i-ic";
100 reg = <0x01c20400 0x400>;