File tree 2 files changed +166
-42
lines changed
Documentation/devicetree/bindings/rtc
2 files changed +166
-42
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,37 @@ 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 :
24
- maxItems : 1
43
+ description : I2C address of the RTC
44
+ items :
45
+ - enum : [0x68, 0x69]
25
46
26
47
interrupts :
48
+ description : |
49
+ Alarm1 interrupt line of the RTC.
27
50
maxItems : 1
28
51
29
52
" #clock-cells " :
@@ -59,7 +82,7 @@ examples:
59
82
60
83
rtc@68 {
61
84
compatible = "adi,max31335";
62
- reg = <0x68 >;
85
+ reg = <0x69 >;
63
86
pinctrl-0 = <&rtc_nint_pins>;
64
87
interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
65
88
aux-voltage-chargeable = <1>;
You can’t perform that action at this time.
0 commit comments