bcm53xx: backport forgotten spi-nor change
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-3.14 / 046-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 diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
15 index 53c624f..6d80922 100644
16 --- a/arch/arm/boot/dts/bcm5301x.dtsi
17 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
18 @@ -8,6 +8,7 @@
19 * Licensed under the GNU/GPL. See COPYING for details.
20 */
21
22 +#include <dt-bindings/gpio/gpio.h>
23 #include <dt-bindings/interrupt-controller/irq.h>
24 #include <dt-bindings/interrupt-controller/arm-gic.h>
25 #include "skeleton.dtsi"
26 @@ -92,4 +93,19 @@
27 clock-frequency = <400000000>;
28 };
29 };
30 +
31 + axi@18000000 {
32 + compatible = "brcm,bus-axi";
33 + reg = <0x18000000 0x1000>;
34 + ranges = <0x00000000 0x18000000 0x00100000>;
35 + #address-cells = <1>;
36 + #size-cells = <1>;
37 +
38 + chipcommon: chipcommon@0 {
39 + reg = <0x00000000 0x1000>;
40 +
41 + gpio-controller;
42 + #gpio-cells = <2>;
43 + };
44 + };
45 };
46 --
47 1.8.4.5
48