[PATCH 2/2] dt-bindings: net: dsa: qca8k: add internal-PHY-to-PHY CPU link example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Current example use external PHY. With the previous patch, internal PHY
is also supported.

Signed-off-by: Ziyang Huang <hzyitc@xxxxxxxxxxx>
---
 Documentation/devicetree/bindings/net/dsa/qca8k.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/dsa/qca8k.yaml b/Documentation/devicetree/bindings/net/dsa/qca8k.yaml
index 167398ab253a..a71dc38d6bab 100644
--- a/Documentation/devicetree/bindings/net/dsa/qca8k.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/qca8k.yaml
@@ -185,8 +185,10 @@ examples:
                 };
 
                 port@4 {
+                    /* PHY-to-PHY CPU link */
                     reg = <4>;
-                    label = "lan4";
+                    ethernet = <&gmac2>;
+                    phy-mode = "gmii";
                     phy-handle = <&external_phy_port4>;
                 };
 
@@ -266,8 +268,9 @@ examples:
                 };
 
                 port@4 {
+                    /* PHY-to-PHY CPU link */
                     reg = <4>;
-                    label = "lan4";
+                    ethernet = <&gmac2>;
                     phy-mode = "internal";
                     phy-handle = <&internal_phy_port4>;
                 };
-- 
2.40.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux