File Index
Files and directories
Sign in
FILE

nxp,lpc3220-rtc.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/rtc/nxp,lpc3220-rtc.yaml 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/nxp,lpc3220-rtc.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: NXP LPC32xx SoC Real-time Clock
 8
 9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
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
28required:
29  - compatible
30  - reg
31
32allOf:
33  - $ref: rtc.yaml#
34
35unevaluatedProperties: false
36
37examples:
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
~/ Read-only file preview.