bcm53xx: early support for Netgear R8000
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-3.14 / 044-ARM-BCM5301X-Add-Broadcom-s-bus-axi-to-the-DTS-file.patch
1 From a2533caee935fff97e3e8dbfad5cc159e6bf6034 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Wed, 1 Oct 2014 09:21:07 +0200
4 Subject: [PATCH 1/2] ARM: BCM5301X: Add Broadcom's bus-axi to the DTS file
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
10 ---
11 arch/arm/boot/dts/bcm5301x.dtsi | 16 ++++++++++++++++
12 1 file changed, 16 insertions(+)
13
14 --- a/arch/arm/boot/dts/bcm5301x.dtsi
15 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
16 @@ -8,6 +8,7 @@
17 * Licensed under the GNU/GPL. See COPYING for details.
18 */
19
20 +#include <dt-bindings/gpio/gpio.h>
21 #include <dt-bindings/interrupt-controller/irq.h>
22 #include <dt-bindings/interrupt-controller/arm-gic.h>
23 #include "skeleton.dtsi"
24 @@ -92,4 +93,19 @@
25 clock-frequency = <400000000>;
26 };
27 };
28 +
29 + axi@18000000 {
30 + compatible = "brcm,bus-axi";
31 + reg = <0x18000000 0x1000>;
32 + ranges = <0x00000000 0x18000000 0x00100000>;
33 + #address-cells = <1>;
34 + #size-cells = <1>;
35 +
36 + chipcommon: chipcommon@0 {
37 + reg = <0x00000000 0x1000>;
38 +
39 + gpio-controller;
40 + #gpio-cells = <2>;
41 + };
42 + };
43 };