File tree 2 files changed +168
-41
lines changed
Documentation/devicetree/bindings/rtc
2 files changed +168
-41
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,38 @@ description:
16
16
allOf :
17
17
- $ref : rtc.yaml#
18
18
19
+ - if :
20
+ properties :
21
+ compatible :
22
+ contains :
23
+ enum :
24
+ - adi,max31335
25
+ then :
26
+ properties :
27
+ reg :
28
+ items :
29
+ -const : 0x69
30
+ else :
31
+ properties :
32
+ reg :
33
+ items :
34
+ -const : 0x68
35
+
19
36
properties :
20
37
compatible :
21
- const : adi,max31335
38
+ enum :
39
+ - adi,max31331
40
+ - adi,max31335
22
41
23
42
reg :
43
+ description : I2C address of the RTC
44
+ items :
45
+ -enum : [0x68, 0x69]
24
46
maxItems : 1
25
47
26
48
interrupts :
49
+ description : |
50
+ Alarm1 interrupt line of the RTC.
27
51
maxItems : 1
28
52
29
53
" #clock-cells " :
@@ -59,7 +83,7 @@ examples:
59
83
60
84
rtc@68 {
61
85
compatible = "adi,max31335";
62
- reg = <0x68 >;
86
+ reg = <0x69 >;
63
87
pinctrl-0 = <&rtc_nint_pins>;
64
88
interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
65
89
aux-voltage-chargeable = <1>;
You can’t perform that action at this time.
0 commit comments