diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-11-16 08:18:48 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-11-16 09:02:47 +0100 |
commit | cd728905be82ab66456212a9fcc311c553e39422 (patch) | |
tree | a16b16f7942512bd35323afc3b569b03da94de51 /dts/Bindings/timer/fsl,imxgpt.yaml | |
parent | a0f127402a23845a330a13a38078ec0668600ddd (diff) | |
download | barebox-cd728905be82ab66456212a9fcc311c553e39422.tar.gz barebox-cd728905be82ab66456212a9fcc311c553e39422.tar.xz |
dts: update to v6.7-rc1
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/timer/fsl,imxgpt.yaml')
-rw-r--r-- | dts/Bindings/timer/fsl,imxgpt.yaml | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/dts/Bindings/timer/fsl,imxgpt.yaml b/dts/Bindings/timer/fsl,imxgpt.yaml index dbe1267af0..e2607377cb 100644 --- a/dts/Bindings/timer/fsl,imxgpt.yaml +++ b/dts/Bindings/timer/fsl,imxgpt.yaml @@ -36,7 +36,9 @@ properties: - fsl,imxrt1170-gpt - const: fsl,imx6dl-gpt - items: - - const: fsl,imx6ul-gpt + - enum: + - fsl,imx6ul-gpt + - fsl,imx7d-gpt - const: fsl,imx6sx-gpt reg: @@ -46,14 +48,18 @@ properties: maxItems: 1 clocks: + minItems: 2 items: - description: SoC GPT ipg clock - description: SoC GPT per clock + - description: SoC GPT osc per clock clock-names: + minItems: 2 items: - const: ipg - const: per + - const: osc_per required: - compatible @@ -62,6 +68,29 @@ required: - clocks - clock-names +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx6dl-gpt + - fsl,imx6q-gpt + then: + properties: + clocks: + minItems: 2 + maxItems: 3 + clock-names: + minItems: 2 + maxItems: 3 + else: + properties: + clocks: + maxItems: 2 + clock-names: + maxItems: 2 + additionalProperties: false examples: |