]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: net: dsa: mediatek,mt7530: update examples
authorArınç ÜNAL <arinc.unal@arinc9.com>
Thu, 25 Aug 2022 08:22:59 +0000 (11:22 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 31 Aug 2022 05:46:48 +0000 (22:46 -0700)
commitc9aece04e01c8c97a264b4d737d8070c87fd0952
tree713777643ce29f7c78c45ca393403289c24dbc67
parentf565c54e96b6383c9ed666766a1e88225338c29b
dt-bindings: net: dsa: mediatek,mt7530: update examples

Update the examples on the binding.

- Add examples which include a wide variation of configurations.
- Make example comments YAML comment instead of DT binding comment.
- Add interrupt controller to the examples. Include header file for
interrupt.
- Change reset line for MT7621 examples.
- Pretty formatting for the examples.
- Change switch reg to 0.
- Change port labels to fit the example, change port 4 label to wan.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml