[PATCH v1 3/4] dt-bindings: clock: mediatek: add syscon requirement for mt7988 ethwarp

From: Frank Wunderlich
Date: Tue Jul 09 2024 - 06:13:54 EST


From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>

This is needed by u-boot-driver when using OF_UPSTREAM.

Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
---
.../devicetree/bindings/clock/mediatek,mt7988-ethwarp.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt7988-ethwarp.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt7988-ethwarp.yaml
index e32a0251ff6a..b460a0de8503 100644
--- a/Documentation/devicetree/bindings/clock/mediatek,mt7988-ethwarp.yaml
+++ b/Documentation/devicetree/bindings/clock/mediatek,mt7988-ethwarp.yaml
@@ -17,7 +17,9 @@ description:
properties:
compatible:
items:
- - const: mediatek,mt7988-ethwarp
+ - enum:
+ - mediatek,mt7988-ethwarp
+ - const: syscon

reg:
maxItems: 1
@@ -44,7 +46,7 @@ examples:
#size-cells = <2>;

clock-controller@15031000 {
- compatible = "mediatek,mt7988-ethwarp";
+ compatible = "mediatek,mt7988-ethwarp", "syscon";
reg = <0 0x15031000 0 0x1000>;
#clock-cells = <1>;
#reset-cells = <1>;
--
2.43.0