[v8,04/12] dt-bindings: arm: mediatek: sgmiisys: add MT7981 SoC

Message ID a5a95c126c390717a246364244074a05d9049de9.1676645204.git.daniel@makrotopia.org
State New
Headers
Series net: ethernet: mtk_eth_soc: various enhancements |

Commit Message

Daniel Golle Feb. 17, 2023, 2:53 p.m. UTC
  Add mediatek,pnswap boolean property needed on many boards using the
MediaTek MT7981 SoC.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 .../devicetree/bindings/pcs/mediatek,sgmiisys.yaml          | 6 ++++++
 1 file changed, 6 insertions(+)
  

Patch

diff --git a/Documentation/devicetree/bindings/pcs/mediatek,sgmiisys.yaml b/Documentation/devicetree/bindings/pcs/mediatek,sgmiisys.yaml
index 7ed1577e7179..68fbc1336254 100644
--- a/Documentation/devicetree/bindings/pcs/mediatek,sgmiisys.yaml
+++ b/Documentation/devicetree/bindings/pcs/mediatek,sgmiisys.yaml
@@ -19,6 +19,8 @@  properties:
       - enum:
           - mediatek,mt7622-sgmiisys
           - mediatek,mt7629-sgmiisys
+          - mediatek,mt7981-sgmiisys_0
+          - mediatek,mt7981-sgmiisys_1
           - mediatek,mt7986-sgmiisys_0
           - mediatek,mt7986-sgmiisys_1
       - const: syscon
@@ -29,6 +31,10 @@  properties:
   '#clock-cells':
     const: 1
 
+  mediatek,pnswap:
+    description: Invert polarity of the SGMII data lanes
+    type: boolean
+
 required:
   - compatible
   - reg