File tree Expand file tree Collapse file tree 1 file changed +57
-18
lines changed
Documentation/devicetree/bindings/watchdog Expand file tree Collapse file tree 1 file changed +57
-18
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ maintainers:
10
10
-
Wolfram Sang <[email protected] >
11
11
-
Geert Uytterhoeven <[email protected] >
12
12
13
- allOf :
14
- - $ref : " watchdog.yaml#"
15
-
16
13
properties :
17
14
compatible :
18
15
oneOf :
@@ -22,6 +19,11 @@ properties:
22
19
- renesas,r7s9210-wdt # RZ/A2
23
20
- const : renesas,rza-wdt # RZ/A
24
21
22
+ - items :
23
+ - enum :
24
+ - renesas,r9a07g044-wdt # RZ/G2{L,LC}
25
+ - const : renesas,rzg2l-wdt # RZ/G2L
26
+
25
27
- items :
26
28
- enum :
27
29
- renesas,r8a7742-wdt # RZ/G1H
@@ -56,11 +58,13 @@ properties:
56
58
reg :
57
59
maxItems : 1
58
60
59
- interrupts :
60
- maxItems : 1
61
+ interrupts : true
61
62
62
- clocks :
63
- maxItems : 1
63
+ interrupt-names : true
64
+
65
+ clocks : true
66
+
67
+ clock-names : true
64
68
65
69
power-domains :
66
70
maxItems : 1
@@ -75,17 +79,52 @@ required:
75
79
- reg
76
80
- clocks
77
81
78
- if :
79
- not :
80
- properties :
81
- compatible :
82
- contains :
83
- enum :
84
- - renesas,rza-wdt
85
- then :
86
- required :
87
- - power-domains
88
- - resets
82
+ allOf :
83
+ - $ref : " watchdog.yaml#"
84
+
85
+ - if :
86
+ not :
87
+ properties :
88
+ compatible :
89
+ contains :
90
+ enum :
91
+ - renesas,rza-wdt
92
+ then :
93
+ required :
94
+ - power-domains
95
+ - resets
96
+
97
+ - if :
98
+ properties :
99
+ compatible :
100
+ contains :
101
+ enum :
102
+ - renesas,rzg2l-wdt
103
+ then :
104
+ properties :
105
+ interrupts :
106
+ maxItems : 2
107
+ interrupt-names :
108
+ items :
109
+ - const : wdt
110
+ - const : perrout
111
+ clocks :
112
+ items :
113
+ - description : Register access clock
114
+ - description : Main clock
115
+ clock-names :
116
+ items :
117
+ - const : pclk
118
+ - const : oscclk
119
+ required :
120
+ - clock-names
121
+ - interrupt-names
122
+ else :
123
+ properties :
124
+ interrupts :
125
+ maxItems : 1
126
+ clocks :
127
+ maxItems : 1
89
128
90
129
additionalProperties : false
91
130
You can’t perform that action at this time.
0 commit comments