Skip to content

Commit

Permalink
dt-bindings: net: dsa: qca8k: document reset-gpios property
Browse files Browse the repository at this point in the history
This patch documents the qca8k's reset-gpios property that
can be used if the QCA8337N ends up in a bad state during
reset.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Christian Lamparter authored and David S. Miller committed Jun 27, 2019
1 parent b2c709c commit e7dd8a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/net/dsa/qca8k.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Required properties:
- #size-cells: must be 0
- #address-cells: must be 1

Optional properties:

- reset-gpios: GPIO to be used to reset the whole device

Subnodes:

The integrated switch subnode should be specified according to the binding
Expand Down Expand Up @@ -66,6 +70,7 @@ for the external mdio-bus configuration:
#address-cells = <1>;
#size-cells = <0>;

reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
reg = <0x10>;

ports {
Expand Down Expand Up @@ -123,6 +128,7 @@ for the internal master mdio-bus configuration:
#address-cells = <1>;
#size-cells = <0>;

reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
reg = <0x10>;

ports {
Expand Down

0 comments on commit e7dd8a8

Please sign in to comment.