Skip to content

Commit

Permalink
dt-bindings: rtc: zynqmp: Add support for Versal/Versal NET SoCs
Browse files Browse the repository at this point in the history
Add support for Versal and Versal NET SoCs. Both of them should use the
same IP core but differences can be in integration part that's why create
separate compatible strings.

Also describe optional power-domains property. It is optional because power
domain doesn't need to be onwed by non secure firmware hence no access to
control it via any driver.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/5ecd775e6083f86aa744c4e9dfb7f6a13082c78a.1709804617.git.michal.simek@amd.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
  • Loading branch information
michalsimek authored and alexandrebelloni committed Mar 8, 2024
1 parent 6b6ca09 commit f010990
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ allOf:

properties:
compatible:
const: xlnx,zynqmp-rtc
oneOf:
- const: xlnx,zynqmp-rtc
- items:
- enum:
- xlnx,versal-rtc
- xlnx,versal-net-rtc
- const: xlnx,zynqmp-rtc

reg:
maxItems: 1
Expand Down Expand Up @@ -48,6 +54,9 @@ properties:
default: 0x198233
deprecated: true

power-domains:
maxItems: 1

required:
- compatible
- reg
Expand Down

0 comments on commit f010990

Please sign in to comment.