sunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb,...
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.12 / 150-sun4i-add-dt-bindings.patch
1 From 378dab1f11d0386e26363517922dc086227aa6c5 Mon Sep 17 00:00:00 2001
2 From: arokux <arokux@gmail.com>
3 Date: Thu, 19 Sep 2013 21:58:47 +0200
4 Subject: [PATCH] ARM: sun4i: dt: Add bindings for USB clocks
5
6 ---
7 arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++++++++
8 1 file changed, 8 insertions(+)
9
10 diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
11 index 5e2fc45..3033684 100644
12 --- a/arch/arm/boot/dts/sun4i-a10.dtsi
13 +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
14 @@ -89,6 +89,14 @@
15 clock-output-names = "pll6_sata", "pll6_other", "pll6";
16 };
17
18 + usb:usb@0x01c200cc {
19 + #clock-cells = <1>;
20 + compatible = "allwinner,sun47i-usb-gates-clk";
21 + reg = <0x01c200cc 0x4>;
22 + clocks = <&pll6 1>;
23 + clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
24 + };
25 +
26 /* dummy is 200M */
27 cpu: cpu@01c20054 {
28 #clock-cells = <0>;
29 --
30 1.8.4
31