1*c69bffe1SSebastian Reichel# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c69bffe1SSebastian Reichel%YAML 1.2 3*c69bffe1SSebastian Reichel--- 4*c69bffe1SSebastian Reichel$id: http://devicetree.org/schemas/rtc/haoyu,hym8563.yaml# 5*c69bffe1SSebastian Reichel$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c69bffe1SSebastian Reichel 7*c69bffe1SSebastian Reicheltitle: Haoyu Microelectronics HYM8563 RTC 8*c69bffe1SSebastian Reichel 9*c69bffe1SSebastian Reichelmaintainers: 10*c69bffe1SSebastian Reichel - Alexandre Belloni <alexandre.belloni@bootlin.com> 11*c69bffe1SSebastian Reichel 12*c69bffe1SSebastian Reichelproperties: 13*c69bffe1SSebastian Reichel compatible: 14*c69bffe1SSebastian Reichel const: haoyu,hym8563 15*c69bffe1SSebastian Reichel 16*c69bffe1SSebastian Reichel reg: 17*c69bffe1SSebastian Reichel maxItems: 1 18*c69bffe1SSebastian Reichel 19*c69bffe1SSebastian Reichel interrupts: 20*c69bffe1SSebastian Reichel maxItems: 1 21*c69bffe1SSebastian Reichel 22*c69bffe1SSebastian Reichel "#clock-cells": 23*c69bffe1SSebastian Reichel const: 0 24*c69bffe1SSebastian Reichel 25*c69bffe1SSebastian Reichel clock-output-names: 26*c69bffe1SSebastian Reichel description: From common clock binding to override the default output clock name. 27*c69bffe1SSebastian Reichel maxItems: 1 28*c69bffe1SSebastian Reichel 29*c69bffe1SSebastian Reichel wakeup-source: 30*c69bffe1SSebastian Reichel description: Enables wake up of host system on alarm. 31*c69bffe1SSebastian Reichel 32*c69bffe1SSebastian ReichelallOf: 33*c69bffe1SSebastian Reichel - $ref: rtc.yaml 34*c69bffe1SSebastian Reichel 35*c69bffe1SSebastian ReichelunevaluatedProperties: false 36*c69bffe1SSebastian Reichel 37*c69bffe1SSebastian Reichelrequired: 38*c69bffe1SSebastian Reichel - compatible 39*c69bffe1SSebastian Reichel - reg 40*c69bffe1SSebastian Reichel - "#clock-cells" 41*c69bffe1SSebastian Reichel 42*c69bffe1SSebastian Reichelexamples: 43*c69bffe1SSebastian Reichel - | 44*c69bffe1SSebastian Reichel #include <dt-bindings/interrupt-controller/irq.h> 45*c69bffe1SSebastian Reichel 46*c69bffe1SSebastian Reichel i2c { 47*c69bffe1SSebastian Reichel #address-cells = <1>; 48*c69bffe1SSebastian Reichel #size-cells = <0>; 49*c69bffe1SSebastian Reichel 50*c69bffe1SSebastian Reichel rtc@51 { 51*c69bffe1SSebastian Reichel compatible = "haoyu,hym8563"; 52*c69bffe1SSebastian Reichel reg = <0x51>; 53*c69bffe1SSebastian Reichel interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 54*c69bffe1SSebastian Reichel #clock-cells = <0>; 55*c69bffe1SSebastian Reichel }; 56*c69bffe1SSebastian Reichel }; 57