Skip to content

Commit

Permalink
ARM: dts: NSP: Add BCM958625HR switch ports
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli committed Aug 8, 2016
1 parent bf2289b commit 1bc1d82
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions arch/arm/boot/dts/bcm958625hr.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};
};
};

0 comments on commit 1bc1d82

Please sign in to comment.