summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/dsa/mt7530.txt
diff options
context:
space:
mode:
authorDENG Qingfang <dqfext@gmail.com>2021-01-25 12:43:21 +0800
committerJakub Kicinski <kuba@kernel.org>2021-01-25 18:28:14 -0800
commit974d5ba60df74483c69a2ccf580308de68769ec7 (patch)
treec6714e23fce8abccbe898acb03bdaf2f7cd60cbf /Documentation/devicetree/bindings/net/dsa/mt7530.txt
parent4fd59792097a6b2fb949d41264386a7ecade469e (diff)
dt-bindings: net: dsa: add MT7530 GPIO controller binding
Add device tree binding to support MT7530 GPIO controller. Signed-off-by: DENG Qingfang <dqfext@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net/dsa/mt7530.txt')
-rw-r--r--Documentation/devicetree/bindings/net/dsa/mt7530.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/mt7530.txt b/Documentation/devicetree/bindings/net/dsa/mt7530.txt
index 560369efad6c..de04626a8e9d 100644
--- a/Documentation/devicetree/bindings/net/dsa/mt7530.txt
+++ b/Documentation/devicetree/bindings/net/dsa/mt7530.txt
@@ -76,6 +76,12 @@ phy-mode must be set, see also example 2 below!
* mt7621: phy-mode = "rgmii-txid";
* 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
required, optional properties and how the integrated switch subnodes must
be specified.