From: f.fainelli@gmail.com (Florian Fainelli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: dts: NSP: Add BCM958625HR switch ports
Date: Fri, 8 Jul 2016 11:49:29 -0700 [thread overview]
Message-ID: <1468003769-26959-3-git-send-email-f.fainelli@gmail.com> (raw)
In-Reply-To: <1468003769-26959-1-git-send-email-f.fainelli@gmail.com>
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.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
arch/arm/boot/dts/bcm958625hr.dts | 49 +++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
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 at 0 {
+ label = "port0";
+ reg = <0>;
+ };
+
+ port at 1 {
+ label = "port1";
+ reg = <1>;
+ };
+
+ port at 2 {
+ label = "port2";
+ reg = <2>;
+ };
+
+ port at 3 {
+ label = "port3";
+ reg = <3>;
+ };
+
+ port at 4 {
+ label = "port4";
+ reg = <4>;
+ };
+
+ port at 5 {
+ ethernet = <&amac0>;
+ label = "cpu";
+ reg = <5>;
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
+ };
+ };
+};
--
2.7.4
next prev parent reply other threads:[~2016-07-08 18:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-08 18:49 [PATCH 0/2] ARM: dts: NSP: Add built-in Ethernet switch nodes Florian Fainelli
2016-07-08 18:49 ` [PATCH 1/2] ARM: dts: NSP: Add Switch Register Access Block node Florian Fainelli
2016-07-08 18:49 ` Florian Fainelli [this message]
2016-07-08 20:07 ` [PATCH 0/2] ARM: dts: NSP: Add built-in Ethernet switch nodes Andrew Lunn
2016-07-11 23:29 ` Florian Fainelli
-- strict thread matches above, loose matches on Subject: below --
2016-07-08 18:48 Florian Fainelli
2016-07-08 18:48 ` [PATCH 2/2] ARM: dts: NSP: Add BCM958625HR switch ports Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468003769-26959-3-git-send-email-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).