|
@@ -2,7 +2,10 @@
|
|
|
|
|
|
Required properties:
|
|
Required properties:
|
|
|
|
|
|
-- compatible: should be "qca,qca8337"
|
|
|
|
|
|
+- compatible: should be one of:
|
|
|
|
+ "qca,qca8334"
|
|
|
|
+ "qca,qca8337"
|
|
|
|
+
|
|
- #size-cells: must be 0
|
|
- #size-cells: must be 0
|
|
- #address-cells: must be 1
|
|
- #address-cells: must be 1
|
|
|
|
|
|
@@ -14,6 +17,20 @@ port and PHY id, each subnode describing a port needs to have a valid phandle
|
|
referencing the internal PHY connected to it. The CPU port of this switch is
|
|
referencing the internal PHY connected to it. The CPU port of this switch is
|
|
always port 0.
|
|
always port 0.
|
|
|
|
|
|
|
|
+A CPU port node has the following optional node:
|
|
|
|
+
|
|
|
|
+- fixed-link : Fixed-link subnode describing a link to a non-MDIO
|
|
|
|
+ managed entity. See
|
|
|
|
+ Documentation/devicetree/bindings/net/fixed-link.txt
|
|
|
|
+ for details.
|
|
|
|
+
|
|
|
|
+For QCA8K the 'fixed-link' sub-node supports only the following properties:
|
|
|
|
+
|
|
|
|
+- 'speed' (integer, mandatory), to indicate the link speed. Accepted
|
|
|
|
+ values are 10, 100 and 1000
|
|
|
|
+- 'full-duplex' (boolean, optional), to indicate that full duplex is
|
|
|
|
+ used. When absent, half duplex is assumed.
|
|
|
|
+
|
|
Example:
|
|
Example:
|
|
|
|
|
|
|
|
|
|
@@ -53,6 +70,10 @@ Example:
|
|
label = "cpu";
|
|
label = "cpu";
|
|
ethernet = <&gmac1>;
|
|
ethernet = <&gmac1>;
|
|
phy-mode = "rgmii";
|
|
phy-mode = "rgmii";
|
|
|
|
+ fixed-link {
|
|
|
|
+ speed = 1000;
|
|
|
|
+ full-duplex;
|
|
|
|
+ };
|
|
};
|
|
};
|
|
|
|
|
|
port@1 {
|
|
port@1 {
|