aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-05-23 19:38:00 -0400
committerFlorian Fainelli <f.fainelli@gmail.com>2016-06-13 15:43:38 -0400
commit59f0ce1a3ebb9288fc8c1400aa503e923621161e (patch)
tree4a2fe2b3faf99fdb2483d00cf35e1349df95c980
parent5fa1026a3e4dc8fc6c614674615f1e74235b359f (diff)
ARM: dts: Enable SRAB switch and GMACs on 5301x DTS
Add the Switch Register Access Block which is a special piece of hardware allowing us to perform indirect read/writes towards the integrated BCM5301X Ethernet switch. We also add the 4 Gigabit MAC Device Tree nodes within the brcm,bus-axi bus node to get proper binding between the BCMA instantiated core and the Device Tree nodes. We will need that to be able to reference Ethernet Device Tree nodes in a future patch adding the switch ports layout. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r--arch/arm/boot/dts/bcm5301x.dtsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 7d4d29bf0ed3..9fb565841004 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -239,6 +239,22 @@
239 status = "disabled"; 239 status = "disabled";
240 }; 240 };
241 }; 241 };
242
243 gmac0: ethernet@24000 {
244 reg = <0x24000 0x800>;
245 };
246
247 gmac1: ethernet@25000 {
248 reg = <0x25000 0x800>;
249 };
250
251 gmac2: ethernet@26000 {
252 reg = <0x26000 0x800>;
253 };
254
255 gmac3: ethernet@27000 {
256 reg = <0x27000 0x800>;
257 };
242 }; 258 };
243 259
244 lcpll0: lcpll0@1800c100 { 260 lcpll0: lcpll0@1800c100 {
@@ -260,6 +276,17 @@
260 "sata2"; 276 "sata2";
261 }; 277 };
262 278
279 srab: srab@18007000 {
280 compatible = "brcm,bcm5301x-srab";
281 reg = <0x18007000 0x1000>;
282 #address-cells = <1>;
283 #size-cells = <0>;
284
285 status = "disabled";
286
287 /* ports are defined in board DTS */
288 };
289
263 nand: nand@18028000 { 290 nand: nand@18028000 {
264 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand"; 291 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
265 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>; 292 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;