bcm53xx: use the latest submitted version of ILP clock driver
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 038-0001-ARM-dts-Enable-SRAB-switch-and-GMACs-on-5301x-DTS.patch
1 From 59f0ce1a3ebb9288fc8c1400aa503e923621161e Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Mon, 23 May 2016 16:38:00 -0700
4 Subject: [PATCH 1/3] ARM: dts: Enable SRAB switch and GMACs on 5301x DTS
5
6 Add the Switch Register Access Block which is a special piece of
7 hardware allowing us to perform indirect read/writes towards the
8 integrated BCM5301X Ethernet switch.
9
10 We also add the 4 Gigabit MAC Device Tree nodes within the brcm,bus-axi
11 bus node to get proper binding between the BCMA instantiated core and
12 the Device Tree nodes. We will need that to be able to reference
13 Ethernet Device Tree nodes in a future patch adding the switch ports
14 layout.
15
16 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
17 ---
18 arch/arm/boot/dts/bcm5301x.dtsi | 27 +++++++++++++++++++++++++++
19 1 file changed, 27 insertions(+)
20
21 --- a/arch/arm/boot/dts/bcm5301x.dtsi
22 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
23 @@ -239,6 +239,22 @@
24 status = "disabled";
25 };
26 };
27 +
28 + gmac0: ethernet@24000 {
29 + reg = <0x24000 0x800>;
30 + };
31 +
32 + gmac1: ethernet@25000 {
33 + reg = <0x25000 0x800>;
34 + };
35 +
36 + gmac2: ethernet@26000 {
37 + reg = <0x26000 0x800>;
38 + };
39 +
40 + gmac3: ethernet@27000 {
41 + reg = <0x27000 0x800>;
42 + };
43 };
44
45 lcpll0: lcpll0@1800c100 {
46 @@ -260,6 +276,17 @@
47 "sata2";
48 };
49
50 + srab: srab@18007000 {
51 + compatible = "brcm,bcm5301x-srab";
52 + reg = <0x18007000 0x1000>;
53 + #address-cells = <1>;
54 + #size-cells = <0>;
55 +
56 + status = "disabled";
57 +
58 + /* ports are defined in board DTS */
59 + };
60 +
61 nand: nand@18028000 {
62 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
63 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;