summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-05-25 16:55:35 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2016-06-13 12:44:46 -0700
commit2df1808dc0e2b5358e13beb95192b15200017776 (patch)
tree4d20183931d7b27efb054dd825e1c7b52064f19c /arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
parent2cd0c0202f138fa95b3fbb027e87b191ad0b1884 (diff)
downloadlwn-2df1808dc0e2b5358e13beb95192b15200017776.tar.gz
lwn-2df1808dc0e2b5358e13beb95192b15200017776.zip
ARM: dts: BCM5310x: Enable switch ports on SmartRG SR400AC
Define the port mapping for the SmartRG SR400ACE device. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts')
-rw-r--r--arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
index 8b0c440b2e71..70f4bb9d864a 100644
--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
@@ -126,3 +126,43 @@
&spi_nor {
status = "okay";
};
+
+&srab {
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ label = "lan4";
+ };
+
+ port@1 {
+ reg = <1>;
+ label = "lan3";
+ };
+
+ port@2 {
+ reg = <2>;
+ label = "lan2";
+ };
+
+ port@3 {
+ reg = <3>;
+ label = "lan1";
+ };
+
+ port@4 {
+ reg = <4>;
+ label = "wan";
+ };
+
+ port@5 {
+ reg = <5>;
+ label = "cpu";
+ ethernet = <&gmac0>;
+ };
+ };
+};