smb: client: Fix minor whitespace errors and warnings
[linux-modified.git] / Documentation / devicetree / bindings / rtc / amlogic,meson6-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/amlogic,meson6-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC
8
9 maintainers:
10   - Neil Armstrong <neil.armstrong@linaro.org>
11   - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
12
13 allOf:
14   - $ref: rtc.yaml#
15   - $ref: /schemas/nvmem/nvmem.yaml#
16   - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml#
17
18 properties:
19   compatible:
20     enum:
21       - amlogic,meson6-rtc
22       - amlogic,meson8-rtc
23       - amlogic,meson8b-rtc
24       - amlogic,meson8m2-rtc
25
26   reg:
27     maxItems: 1
28
29   clocks:
30     maxItems: 1
31
32   interrupts:
33     maxItems: 1
34
35   resets:
36     maxItems: 1
37
38   vdd-supply: true
39
40 required:
41   - compatible
42   - reg
43
44 unevaluatedProperties: false
45
46 examples:
47   - |
48     #include <dt-bindings/interrupt-controller/irq.h>
49     #include <dt-bindings/interrupt-controller/arm-gic.h>
50     rtc: rtc@740 {
51         compatible = "amlogic,meson6-rtc";
52         reg = <0x740 0x14>;
53         interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
54         clocks = <&rtc32k_xtal>;
55         vdd-supply = <&rtc_vdd>;
56         resets = <&reset_rtc>;
57         #address-cells = <1>;
58         #size-cells = <1>;
59
60         mac@0 {
61             reg = <0 6>;
62         };
63     };