|
@@ -34,13 +34,9 @@ Required properties:
|
|
|
|
|
|
Each port children node must have the following mandatory properties:
|
|
|
- reg : Describes the port address in the switch
|
|
|
-- label : Describes the label associated with this port, which
|
|
|
- will become the netdev name. Special labels are
|
|
|
- "cpu" to indicate a CPU port and "dsa" to
|
|
|
- indicate an uplink/downlink port between switches in
|
|
|
- the cluster.
|
|
|
|
|
|
-A port labelled "dsa" has the following mandatory property:
|
|
|
+An uplink/downlink port between switches in the cluster has the following
|
|
|
+mandatory property:
|
|
|
|
|
|
- link : Should be a list of phandles to other switch's DSA
|
|
|
port. This port is used as the outgoing port
|
|
@@ -48,12 +44,17 @@ A port labelled "dsa" has the following mandatory property:
|
|
|
information must be given, not just the one hop
|
|
|
routes to neighbouring switches.
|
|
|
|
|
|
-A port labelled "cpu" has the following mandatory property:
|
|
|
+A CPU port has the following mandatory property:
|
|
|
|
|
|
- ethernet : Should be a phandle to a valid Ethernet device node.
|
|
|
This host device is what the switch port is
|
|
|
connected to.
|
|
|
|
|
|
+A user port has the following optional property:
|
|
|
+
|
|
|
+- label : Describes the label associated with this port, which
|
|
|
+ will become the netdev name.
|
|
|
+
|
|
|
Port child nodes may also contain the following optional standardised
|
|
|
properties, described in binding documents:
|
|
|
|
|
@@ -107,7 +108,6 @@ linked into one DSA cluster.
|
|
|
|
|
|
switch0port5: port@5 {
|
|
|
reg = <5>;
|
|
|
- label = "dsa";
|
|
|
phy-mode = "rgmii-txid";
|
|
|
link = <&switch1port6
|
|
|
&switch2port9>;
|
|
@@ -119,7 +119,6 @@ linked into one DSA cluster.
|
|
|
|
|
|
port@6 {
|
|
|
reg = <6>;
|
|
|
- label = "cpu";
|
|
|
ethernet = <&fec1>;
|
|
|
fixed-link {
|
|
|
speed = <100>;
|
|
@@ -165,7 +164,6 @@ linked into one DSA cluster.
|
|
|
|
|
|
switch1port5: port@5 {
|
|
|
reg = <5>;
|
|
|
- label = "dsa";
|
|
|
link = <&switch2port9>;
|
|
|
phy-mode = "rgmii-txid";
|
|
|
fixed-link {
|
|
@@ -176,7 +174,6 @@ linked into one DSA cluster.
|
|
|
|
|
|
switch1port6: port@6 {
|
|
|
reg = <6>;
|
|
|
- label = "dsa";
|
|
|
phy-mode = "rgmii-txid";
|
|
|
link = <&switch0port5>;
|
|
|
fixed-link {
|
|
@@ -255,7 +252,6 @@ linked into one DSA cluster.
|
|
|
|
|
|
switch2port9: port@9 {
|
|
|
reg = <9>;
|
|
|
- label = "dsa";
|
|
|
phy-mode = "rgmii-txid";
|
|
|
link = <&switch1port5
|
|
|
&switch0port5>;
|