]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/rtc/microcrystal,rv3028.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / rtc / microcrystal,rv3028.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/microcrystal,rv3028.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Microchip RV-3028 RTC
8
9 allOf:
10 - $ref: rtc.yaml#
11
12 maintainers:
13 - Alexandre Belloni <alexandre.belloni@bootlin.com>
14
15 properties:
16 compatible:
17 const: microcrystal,rv3028
18
19 reg:
20 maxItems: 1
21
22 interrupts:
23 maxItems: 1
24
25 trickle-resistor-ohms:
26 enum:
27 - 3000
28 - 5000
29 - 9000
30 - 15000
31
32 required:
33 - compatible
34 - reg
35
36 unevaluatedProperties: false
37
38 examples:
39 - |
40 #include <dt-bindings/interrupt-controller/irq.h>
41 i2c {
42 #address-cells = <1>;
43 #size-cells = <0>;
44
45 rtc@51 {
46 compatible = "microcrystal,rv3028";
47 reg = <0x51>;
48 pinctrl-0 = <&rtc_nint_pins>;
49 interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
50 trickle-resistor-ohms = <3000>;
51 };
52 };
53
54 ...