64 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/amlogic,meson6-rtc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC8 9maintainers:10 - Neil Armstrong <neil.armstrong@linaro.org>11 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>12 13allOf:14 - $ref: rtc.yaml#15 - $ref: /schemas/nvmem/nvmem.yaml#16 - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml#17 18properties:19 compatible:20 enum:21 - amlogic,meson6-rtc22 - amlogic,meson8-rtc23 - amlogic,meson8b-rtc24 - amlogic,meson8m2-rtc25 26 reg:27 maxItems: 128 29 clocks:30 maxItems: 131 32 interrupts:33 maxItems: 134 35 resets:36 maxItems: 137 38 vdd-supply: true39 40required:41 - compatible42 - reg43 44unevaluatedProperties: false45 46examples:47 - |48 #include <dt-bindings/interrupt-controller/irq.h>49 #include <dt-bindings/interrupt-controller/arm-gic.h>50 rtc: rtc@740 {51 compatible = "amlogic,meson6-rtc";52 reg = <0x740 0x14>;53 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;54 clocks = <&rtc32k_xtal>;55 vdd-supply = <&rtc_vdd>;56 resets = <&reset_rtc>;57 #address-cells = <1>;58 #size-cells = <1>;59 60 mac@0 {61 reg = <0 6>;62 };63 };64