Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rtc/sa1100-rtc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Marvell Real Time Clock controller bindings
0008 
0009 allOf:
0010   - $ref: rtc.yaml#
0011 
0012 maintainers:
0013   - Alessandro Zummo <a.zummo@towertech.it>
0014   - Alexandre Belloni <alexandre.belloni@bootlin.com>
0015   - Rob Herring <robh+dt@kernel.org>
0016 
0017 properties:
0018   compatible:
0019     enum:
0020       - mrvl,sa1100-rtc
0021       - mrvl,mmp-rtc
0022 
0023   reg:
0024     maxItems: 1
0025 
0026   clocks:
0027     maxItems: 1
0028 
0029   resets:
0030     maxItems: 1
0031 
0032   interrupts:
0033     minItems: 2
0034 
0035   interrupt-names:
0036     items:
0037       - const: 'rtc 1Hz'
0038       - const: 'rtc alarm'
0039 
0040 required:
0041   - compatible
0042   - reg
0043   - interrupts
0044   - interrupt-names
0045 
0046 additionalProperties: false
0047 
0048 examples:
0049   - |
0050     rtc: rtc@d4010000 {
0051         compatible = "mrvl,mmp-rtc";
0052         reg = <0xd4010000 0x1000>;
0053         interrupts = <5>, <6>;
0054         interrupt-names = "rtc 1Hz", "rtc alarm";
0055     };
0056 
0057 ...