Merge branch 'for-next/esr-elx-64-bit' into for-next/core
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / rtc / microchip,mfps-rtc.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/rtc/microchip,mfps-rtc.yaml#
5
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Microchip PolarFire Soc (MPFS) RTC Device Tree Bindings
9
10 allOf:
11   - $ref: rtc.yaml#
12
13 maintainers:
14   - Daire McNamara <daire.mcnamara@microchip.com>
15   - Lewis Hanly <lewis.hanly@microchip.com>
16
17 properties:
18   compatible:
19     enum:
20       - microchip,mpfs-rtc
21
22   reg:
23     maxItems: 1
24
25   interrupts:
26     items:
27       - description: |
28           RTC_WAKEUP interrupt
29       - description: |
30           RTC_MATCH, asserted when the content of the Alarm register is equal
31           to that of the RTC's count register.
32
33   clocks:
34     maxItems: 1
35
36   clock-names:
37     items:
38       - const: rtc
39
40 required:
41   - compatible
42   - reg
43   - interrupts
44   - clocks
45   - clock-names
46
47 additionalProperties: false
48
49 examples:
50   - |
51     rtc@20124000 {
52         compatible = "microchip,mpfs-rtc";
53         reg = <0x20124000 0x1000>;
54         clocks = <&clkcfg 21>;
55         clock-names = "rtc";
56         interrupts = <80>, <81>;
57     };
58 ...