Xilinx Zynq Ultrascale+ MPSoC Real Time Clock
Schema identifier ($id): "http://devicetree.org/schemas/rtc/xlnx,zynqmp-rtc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
RTC controller for the Xilinx Zynq MPSoC Real Time Clock. The RTC controller has separate IRQ lines for seconds and alarm.
Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rtc.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"xlnx,zynqmp-rtc"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"xlnx,versal-rtc","xlnx,versal-net-rtc"Item 2
Exact value (
const):"xlnx,zynqmp-rtc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rtc"
interrupts — required here #
Maximum number of items (maxItems): 2
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"alarm"
Item 2
Exact value (
const):"sec"
calibration — not listed as required here #
calibration value for 1 sec period which will be programmed directly to calibration register.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 2097151
Default value (default): 1671731
Deprecated (deprecated): true
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
rtc: rtc@ffa60000 {
compatible = "xlnx,zynqmp-rtc";
reg = <0x0 0xffa60000 0x0 0x100>;
interrupt-parent = <&gic>;
interrupts = <0 26 4>, <0 27 4>;
interrupt-names = "alarm", "sec";
calibration = <0x198233>;
clock-names = "rtc";
clocks = <&rtc_clk>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)