net: dt-bindings: dwmac: Convert mediatek-dwmac to DT schema
authorBiao Huang <biao.huang@mediatek.com>
Mon, 14 Mar 2022 07:57:11 +0000 (15:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2022 12:49:23 +0000 (12:49 +0000)
commit150b6adda6b18e80c0d76ddd35577ad8ac3a3801
tree105afff103fb661b03c4e0ec8db7e6ae83d90689
parent79e1177809f2a18518e2013de4abe989ff3c1aa8
net: dt-bindings: dwmac: Convert mediatek-dwmac to DT schema

Convert mediatek-dwmac to DT schema, and delete old mediatek-dwmac.txt.
And there are some changes in .yaml than .txt, others almost keep the same:
  1. compatible "const: snps,dwmac-4.20".
  2. delete "snps,reset-active-low;" in example, since driver remove this
     property long ago.
  3. add "snps,reset-delay-us = <0 10000 10000>" in example.
  4. the example is for rgmii interface, keep related properties only.

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/mediatek-dwmac.txt [deleted file]
Documentation/devicetree/bindings/net/mediatek-dwmac.yaml [new file with mode: 0644]