15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/rtc/xlnx,zynqmp-rtc.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 75956d97fSEmmanuel Vadottitle: Xilinx Zynq Ultrascale+ MPSoC Real Time Clock 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotdescription: 105956d97fSEmmanuel Vadot RTC controller for the Xilinx Zynq MPSoC Real Time Clock. 115956d97fSEmmanuel Vadot The RTC controller has separate IRQ lines for seconds and alarm. 125956d97fSEmmanuel Vadot 135956d97fSEmmanuel Vadotmaintainers: 14f126890aSEmmanuel Vadot - Michal Simek <michal.simek@amd.com> 155956d97fSEmmanuel Vadot 165956d97fSEmmanuel VadotallOf: 175956d97fSEmmanuel Vadot - $ref: rtc.yaml# 185956d97fSEmmanuel Vadot 195956d97fSEmmanuel Vadotproperties: 205956d97fSEmmanuel Vadot compatible: 21*01950c46SEmmanuel Vadot oneOf: 22*01950c46SEmmanuel Vadot - const: xlnx,zynqmp-rtc 23*01950c46SEmmanuel Vadot - items: 24*01950c46SEmmanuel Vadot - enum: 25*01950c46SEmmanuel Vadot - xlnx,versal-rtc 26*01950c46SEmmanuel Vadot - xlnx,versal-net-rtc 27*01950c46SEmmanuel Vadot - const: xlnx,zynqmp-rtc 285956d97fSEmmanuel Vadot 295956d97fSEmmanuel Vadot reg: 305956d97fSEmmanuel Vadot maxItems: 1 315956d97fSEmmanuel Vadot 32b97ee269SEmmanuel Vadot clocks: 33b97ee269SEmmanuel Vadot maxItems: 1 34b97ee269SEmmanuel Vadot 35b97ee269SEmmanuel Vadot clock-names: 36b97ee269SEmmanuel Vadot items: 37b97ee269SEmmanuel Vadot - const: rtc 38b97ee269SEmmanuel Vadot 395956d97fSEmmanuel Vadot interrupts: 40b97ee269SEmmanuel Vadot maxItems: 2 415956d97fSEmmanuel Vadot 425956d97fSEmmanuel Vadot interrupt-names: 435956d97fSEmmanuel Vadot items: 445956d97fSEmmanuel Vadot - const: alarm 455956d97fSEmmanuel Vadot - const: sec 465956d97fSEmmanuel Vadot 475956d97fSEmmanuel Vadot calibration: 485956d97fSEmmanuel Vadot description: | 495956d97fSEmmanuel Vadot calibration value for 1 sec period which will 505956d97fSEmmanuel Vadot be programmed directly to calibration register. 515956d97fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 525956d97fSEmmanuel Vadot minimum: 0x1 535956d97fSEmmanuel Vadot maximum: 0x1FFFFF 545956d97fSEmmanuel Vadot default: 0x198233 55b97ee269SEmmanuel Vadot deprecated: true 565956d97fSEmmanuel Vadot 57*01950c46SEmmanuel Vadot power-domains: 58*01950c46SEmmanuel Vadot maxItems: 1 59*01950c46SEmmanuel Vadot 605956d97fSEmmanuel Vadotrequired: 615956d97fSEmmanuel Vadot - compatible 625956d97fSEmmanuel Vadot - reg 635956d97fSEmmanuel Vadot - interrupts 645956d97fSEmmanuel Vadot - interrupt-names 655956d97fSEmmanuel Vadot 665956d97fSEmmanuel VadotadditionalProperties: false 675956d97fSEmmanuel Vadot 685956d97fSEmmanuel Vadotexamples: 695956d97fSEmmanuel Vadot - | 705956d97fSEmmanuel Vadot soc { 715956d97fSEmmanuel Vadot #address-cells = <2>; 725956d97fSEmmanuel Vadot #size-cells = <2>; 735956d97fSEmmanuel Vadot 745956d97fSEmmanuel Vadot rtc: rtc@ffa60000 { 755956d97fSEmmanuel Vadot compatible = "xlnx,zynqmp-rtc"; 765956d97fSEmmanuel Vadot reg = <0x0 0xffa60000 0x0 0x100>; 775956d97fSEmmanuel Vadot interrupt-parent = <&gic>; 785956d97fSEmmanuel Vadot interrupts = <0 26 4>, <0 27 4>; 795956d97fSEmmanuel Vadot interrupt-names = "alarm", "sec"; 805956d97fSEmmanuel Vadot calibration = <0x198233>; 81b97ee269SEmmanuel Vadot clock-names = "rtc"; 82b97ee269SEmmanuel Vadot clocks = <&rtc_clk>; 835956d97fSEmmanuel Vadot }; 845956d97fSEmmanuel Vadot }; 85