Skip to content

Commit f030713

Browse files
krzkPaolo Abeni
authored andcommitted
dt-bindings: net: sophgo,sg2044-dwmac: Drop status from the example
Examples should be complete and should not have a 'status' property, especially a disabled one because this disables the dt_binding_check of the example against the schema. Dropping 'status' property shows missing other properties - phy-mode and phy-handle. Fixes: 114508a ("dt-bindings: net: Add support for Sophgo SG2044 dwmac") Cc: <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Alexander Sverdlin <[email protected]> Reviewed-by: Chen Wang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
1 parent b2f8ef0 commit f030713

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/devicetree/bindings/net/sophgo,sg2044-dwmac.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ examples:
8080
interrupt-parent = <&intc>;
8181
interrupts = <296 IRQ_TYPE_LEVEL_HIGH>;
8282
interrupt-names = "macirq";
83+
phy-handle = <&phy0>;
84+
phy-mode = "rgmii-id";
8385
resets = <&rst 30>;
8486
reset-names = "stmmaceth";
8587
snps,multicast-filter-bins = <0>;
@@ -91,7 +93,6 @@ examples:
9193
snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
9294
snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
9395
snps,axi-config = <&gmac0_stmmac_axi_setup>;
94-
status = "disabled";
9596
9697
gmac0_mtl_rx_setup: rx-queues-config {
9798
snps,rx-queues-to-use = <8>;

0 commit comments

Comments
 (0)