]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: NSP: Add BCM958625K switch ports
authorJon Mason <jon.mason@broadcom.com>
Tue, 13 Dec 2016 18:13:48 +0000 (13:13 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 19 Jan 2017 01:18:20 +0000 (17:18 -0800)
Add the layout of the switch ports found on the BCM958625K reference
board. The CPU port is hooked up to the AMAC0 Ethernet controller
adapter.

Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm958625k.dts

index dc2405602d05d8eba0c6667b7d1f20ffa3693897..7aa86c7131d9c8294646ddabb6d8df7c9bb55919 100644 (file)
@@ -120,6 +120,51 @@ nand_sel: nand_sel {
        };
 };
 
+&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;
+                       };
+               };
+       };
+};
+
 &qspi {
        bspi-sel = <0>;
        flash: m25p80@0 {