diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-07-25 01:51:16 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-26 22:05:09 -0700 |
commit | 1cbf487d7d3af19fc50dd7e350c20ba0731d745f (patch) | |
tree | 3193e79f7dead1b5a20393e0f409acde29cfeac3 /Documentation | |
parent | ac3cb6de32b62f08d76109e98e174ce0ebf3c022 (diff) | |
download | linux-stable-1cbf487d7d3af19fc50dd7e350c20ba0731d745f.tar.gz linux-stable-1cbf487d7d3af19fc50dd7e350c20ba0731d745f.tar.bz2 linux-stable-1cbf487d7d3af19fc50dd7e350c20ba0731d745f.zip |
dt-bindings: net: mediatek,net: add missing mediatek,mt7621-eth
Document the Ethernet controller found in the MediaTek MT7621 MIPS SoC
family which is supported by the mtk_eth_soc driver.
Fixes: 889bcbdeee57 ("net: ethernet: mediatek: support MT7621 SoC ethernet hardware")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/ec4371c4b5a331c5217b5f13a0c9e6c444838e14.1690246066.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/net/mediatek,net.yaml | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index acb2b2ac4fe1..38aa3d97ee23 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -19,6 +19,7 @@ properties: enum: - mediatek,mt2701-eth - mediatek,mt7623-eth + - mediatek,mt7621-eth - mediatek,mt7622-eth - mediatek,mt7629-eth - mediatek,mt7981-eth @@ -32,7 +33,7 @@ properties: clock-names: true interrupts: - minItems: 3 + minItems: 1 maxItems: 4 power-domains: @@ -135,6 +136,30 @@ allOf: properties: compatible: contains: + enum: + - mediatek,mt7621-eth + then: + properties: + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: ethif + - const: fe + + mediatek,wed: false + + mediatek,wed-pcie: false + + - if: + properties: + compatible: + contains: const: mediatek,mt7622-eth then: properties: |