Debian Codegraph @

Documentation/devicetree/bindings/rtc/nxp,lpc3220-rtc.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/rtc/nxp,lpc3220-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP LPC32xx SoC Real-time Clock
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 properties:
13 compatible:
14 enum:
15 - nxp,lpc3220-rtc
16
17 reg:
18 maxItems: 1
19
20 clocks:
21 maxItems: 1
22
23 interrupts:
24 maxItems: 1
25
26 start-year: true
27
28 required:
29 - compatible
30 - reg
31
32 allOf:
33 - $ref: rtc.yaml#
34
35 unevaluatedProperties: false
36
37 examples:
38 - |
39 #include <dt-bindings/interrupt-controller/irq.h>
40 #include <dt-bindings/clock/lpc32xx-clock.h>
41
42 rtc@40024000 {
43 compatible = "nxp,lpc3220-rtc";
44 reg = <0x40024000 0x1000>;
45 interrupt-parent = <&sic1>;
46 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
47 clocks = <&clk LPC32XX_CLK_RTC>;
48 };
49