brintos

brintos / linux-shallow public Read only

0
0
Text · 987 B · e74dfc1 Raw
53 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/mediatek,mt7622-rtc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MediaTek MT7622 on-SoC RTC8 9allOf:10  - $ref: rtc.yaml#11 12maintainers:13  - Sean Wang <sean.wang@mediatek.com>14 15properties:16  compatible:17    items:18      - const: mediatek,mt7622-rtc19      - const: mediatek,soc-rtc20 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27  clocks:28    maxItems: 129 30  clock-names:31    const: rtc32 33required:34  - reg35  - interrupts36  - clocks37  - clock-names38 39unevaluatedProperties: false40 41examples:42  - |43    #include <dt-bindings/clock/mt7622-clk.h>44    #include <dt-bindings/interrupt-controller/arm-gic.h>45 46    rtc@10212800 {47        compatible = "mediatek,mt7622-rtc", "mediatek,soc-rtc";48        reg = <0x10212800 0x200>;49        interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;50        clocks = <&topckgen CLK_TOP_RTC>;51        clock-names = "rtc";52    };53