Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rtc/mstar,msc313-rtc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Mstar MSC313e RTC Device Tree Bindings
0008 
0009 allOf:
0010   - $ref: "rtc.yaml#"
0011 
0012 maintainers:
0013   - Daniel Palmer <daniel@0x0f.com>
0014   - Romain Perier <romain.perier@gmail.com>
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - mstar,msc313-rtc
0020 
0021   reg:
0022     maxItems: 1
0023 
0024   interrupts:
0025     maxItems: 1
0026 
0027   start-year: true
0028 
0029   clocks:
0030     maxItems: 1
0031 
0032 required:
0033   - compatible
0034   - reg
0035   - interrupts
0036   - clocks
0037 
0038 additionalProperties: false
0039 
0040 examples:
0041   - |
0042     #include <dt-bindings/interrupt-controller/arm-gic.h>
0043     rtc@2400 {
0044         compatible = "mstar,msc313-rtc";
0045         reg = <0x2400 0x40>;
0046         clocks = <&xtal_div2>;
0047         interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
0048     };
0049 ...