bcm53xx: add linux 4.4 support
[openwrt/svn-archive/archive.git] / target / linux / bcm53xx / patches-4.4 / 320-ARM-BCM5301X-Add-Buffalo-WXR-1900DHP-clock-and-USB-p.patch
1 From 504dba5b073a9009ae1e3f2fc53ea9c3aa10c38a Mon Sep 17 00:00:00 2001
2 From: Felix Fietkau <nbd@openwrt.org>
3 Date: Wed, 13 May 2015 20:56:38 +0200
4 Subject: [PATCH] ARM: BCM5301X: Add Buffalo WXR-1900DHP clock and USB power
5 control
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
11 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
12 ---
13 arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 17 +++++++++++++++++
14 1 file changed, 17 insertions(+)
15
16 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
17 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
18 @@ -24,6 +24,23 @@
19 reg = <0x00000000 0x08000000>;
20 };
21
22 + clocks {
23 + clk_periph: periph {
24 + clock-frequency = <500000000>;
25 + };
26 + };
27 +
28 + axi@18000000 {
29 + usb2@21000 {
30 + reg = <0x00021000 0x1000>;
31 +
32 + #address-cells = <1>;
33 + #size-cells = <1>;
34 +
35 + vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
36 + };
37 + };
38 +
39 leds {
40 compatible = "gpio-leds";
41