57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/haoyu,hym8563.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Haoyu Microelectronics HYM8563 RTC8 9maintainers:10 - Alexandre Belloni <alexandre.belloni@bootlin.com>11 12properties:13 compatible:14 const: haoyu,hym856315 16 reg:17 maxItems: 118 19 interrupts:20 maxItems: 121 22 "#clock-cells":23 const: 024 25 clock-output-names:26 description: From common clock binding to override the default output clock name.27 maxItems: 128 29 wakeup-source:30 description: Enables wake up of host system on alarm.31 32allOf:33 - $ref: rtc.yaml34 35unevaluatedProperties: false36 37required:38 - compatible39 - reg40 - "#clock-cells"41 42examples:43 - |44 #include <dt-bindings/interrupt-controller/irq.h>45 46 i2c {47 #address-cells = <1>;48 #size-cells = <0>;49 50 rtc@51 {51 compatible = "haoyu,hym8563";52 reg = <0x51>;53 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;54 #clock-cells = <0>;55 };56 };57