File tree Expand file tree Collapse file tree 1 file changed +33
-9
lines changed
Documentation/devicetree/bindings/soc/microchip Expand file tree Collapse file tree 1 file changed +33
-9
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ properties:
19
19
- enum :
20
20
- atmel,at91rm9200-tcb
21
21
- atmel,at91sam9x5-tcb
22
+ - atmel,sama5d2-tcb
22
23
- const : simple-mfd
23
24
- const : syscon
24
25
@@ -36,15 +37,6 @@ properties:
36
37
description :
37
38
List of clock names. Always includes t0_clk and slow clk. Also includes
38
39
t1_clk and t2_clk if a clock per channel is available.
39
- oneOf :
40
- - items :
41
- - const : t0_clk
42
- - const : slow_clk
43
- - items :
44
- - const : t0_clk
45
- - const : t1_clk
46
- - const : t2_clk
47
- - const : slow_clk
48
40
minItems : 2
49
41
maxItems : 4
50
42
@@ -75,6 +67,38 @@ patternProperties:
75
67
- compatible
76
68
- reg
77
69
70
+ allOf :
71
+ - if :
72
+ properties :
73
+ compatible :
74
+ contains :
75
+ const : atmel,sama5d2-tcb
76
+ then :
77
+ properties :
78
+ clocks :
79
+ minItems : 3
80
+ maxItems : 3
81
+ clock-names :
82
+ items :
83
+ - const : t0_clk
84
+ - const : gclk
85
+ - const : slow_clk
86
+ else :
87
+ properties :
88
+ clocks :
89
+ minItems : 2
90
+ maxItems : 4
91
+ clock-names :
92
+ oneOf :
93
+ - items :
94
+ - const : t0_clk
95
+ - const : slow_clk
96
+ - items :
97
+ - const : t0_clk
98
+ - const : t1_clk
99
+ - const : t2_clk
100
+ - const : slow_clk
101
+
78
102
required :
79
103
- compatible
80
104
- reg
You can’t perform that action at this time.
0 commit comments