Commit 974d5ba6 authored by DENG Qingfang's avatar DENG Qingfang Committed by Jakub Kicinski

dt-bindings: net: dsa: add MT7530 GPIO controller binding

Add device tree binding to support MT7530 GPIO controller.
Signed-off-by: default avatarDENG Qingfang <dqfext@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4fd59792
...@@ -76,6 +76,12 @@ phy-mode must be set, see also example 2 below! ...@@ -76,6 +76,12 @@ phy-mode must be set, see also example 2 below!
* mt7621: phy-mode = "rgmii-txid"; * mt7621: phy-mode = "rgmii-txid";
* mt7623: phy-mode = "rgmii"; * mt7623: phy-mode = "rgmii";
Optional properties:
- gpio-controller: Boolean; if defined, MT7530's LED controller will run on
GPIO mode.
- #gpio-cells: Must be 2 if gpio-controller is defined.
See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional
required, optional properties and how the integrated switch subnodes must required, optional properties and how the integrated switch subnodes must
be specified. be specified.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment