diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-08 21:49:29 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2016-08-08 21:06:28 +0300 |
commit | 1bc1d822cdd37829076ffe8dcf0fbe0ee8143c5b (patch) | |
tree | 37c085b8c5f267033a2a5b7c10e517de098982e9 /arch/arm/boot/dts/bcm958625hr.dts | |
parent | bf2289bedef42426250283ce0e44ec64937920d4 (diff) | |
download | linux-1bc1d822cdd37829076ffe8dcf0fbe0ee8143c5b.tar.xz |
ARM: dts: NSP: Add BCM958625HR switch ports
Add the layout of the switch ports found on the BCM958625HR reference
board. The CPU port is hooked up to the AMAC0 Ethernet controlelr
adapter, so we also enable it.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm958625hr.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm958625hr.dts | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index 03b8bbeb694f..4239e58cf97f 100644 --- a/arch/arm/boot/dts/bcm958625hr.dts +++ b/arch/arm/boot/dts/bcm958625hr.dts @@ -109,3 +109,52 @@ groups = "nand_grp"; }; }; + +&amac0 { + status = "okay"; +}; + +&srab { + compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + label = "port0"; + reg = <0>; + }; + + port@1 { + label = "port1"; + reg = <1>; + }; + + port@2 { + label = "port2"; + reg = <2>; + }; + + port@3 { + label = "port3"; + reg = <3>; + }; + + port@4 { + label = "port4"; + reg = <4>; + }; + + port@5 { + ethernet = <&amac0>; + label = "cpu"; + reg = <5>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; +}; |