Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: ftgmac100: Add resets property

In Aspeed AST2600 design, the MAC internal delay on MAC register cannot
fully reset the RMII interfaces, it may cause the RMII incompletely.
Therefore, we need to add resets property to do SoC-level reset line to
reset the whole MAC function that includes ftgmac, RGMII and RMII.

Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250709070809.2560688-2-jacky_chou@aspeedtech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Jacky Chou and committed by
Jakub Kicinski
fc6c8af6 380a8891

+18 -3
+18 -3
Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
··· 6 6 7 7 title: Faraday Technology FTGMAC100 gigabit ethernet controller 8 8 9 - allOf: 10 - - $ref: ethernet-controller.yaml# 11 - 12 9 maintainers: 13 10 - Po-Yu Chuang <ratbert@faraday-tech.com> 14 11 ··· 31 34 items: 32 35 - description: MAC IP clock 33 36 - description: RMII RCLK gate for AST2500/2600 37 + 38 + resets: 39 + maxItems: 1 34 40 35 41 clock-names: 36 42 minItems: 1 ··· 73 73 - compatible 74 74 - reg 75 75 - interrupts 76 + 77 + allOf: 78 + - $ref: ethernet-controller.yaml# 79 + - if: 80 + properties: 81 + compatible: 82 + contains: 83 + enum: 84 + - aspeed,ast2600-mac 85 + then: 86 + properties: 87 + resets: true 88 + else: 89 + properties: 90 + resets: false 76 91 77 92 unevaluatedProperties: false 78 93