Skip to content

Commit 438fe6d

Browse files
sreeramIfxnashif
authored andcommitted
dts: infineon: cat1b: cyw20829: Reduce the default interrupt priority
Having the lowest possible interrupt priority is causing the tests\arch\arm\arm_irq_zero_latency_levels test to fail. This test reserves 2 priority levels for the low latency interrupts. Since CYW20829 supports 3 interrupt bits, 6 becomes an invalid value when 2 levels are reserved for the low latency interrupts. Signed-off-by: Sreeram Tatapudi <[email protected]>
1 parent 29e82d2 commit 438fe6d

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

dts/arm/infineon/cat1b/cyw20829/cyw20829.dtsi

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
hsiom: hsiom@40400000 {
4040
compatible = "infineon,cat1-hsiom";
4141
reg = <0x40400000 0x4000>;
42-
interrupts = <7 6>, <6 6>;
42+
interrupts = <7 4>, <6 4>;
4343
status = "disabled";
4444
};
4545

4646
gpio_prt0: gpio@40410000 {
4747
compatible = "infineon,cat1-gpio";
4848
reg = <0x40410000 0x80>;
49-
interrupts = <0 6>;
49+
interrupts = <0 4>;
5050
gpio-controller;
5151
ngpios = <6>;
5252
status = "disabled";
@@ -55,7 +55,7 @@
5555
gpio_prt1: gpio@40410080 {
5656
compatible = "infineon,cat1-gpio";
5757
reg = <0x40410080 0x80>;
58-
interrupts = <1 6>;
58+
interrupts = <1 4>;
5959
gpio-controller;
6060
ngpios = <7>;
6161
status = "disabled";
@@ -64,7 +64,7 @@
6464
gpio_prt2: gpio@40410100 {
6565
compatible = "infineon,cat1-gpio";
6666
reg = <0x40410100 0x80>;
67-
interrupts = <2 6>;
67+
interrupts = <2 4>;
6868
gpio-controller;
6969
ngpios = <6>;
7070
status = "disabled";
@@ -73,7 +73,7 @@
7373
gpio_prt3: gpio@40410180 {
7474
compatible = "infineon,cat1-gpio";
7575
reg = <0x40410180 0x80>;
76-
interrupts = <3 6>;
76+
interrupts = <3 4>;
7777
gpio-controller;
7878
ngpios = <8>;
7979
status = "disabled";
@@ -82,7 +82,7 @@
8282
gpio_prt4: gpio@40410200 {
8383
compatible = "infineon,cat1-gpio";
8484
reg = <0x40410200 0x80>;
85-
interrupts = <4 6>;
85+
interrupts = <4 4>;
8686
gpio-controller;
8787
ngpios = <2>;
8888
status = "disabled";
@@ -91,7 +91,7 @@
9191
gpio_prt5: gpio@40410280 {
9292
compatible = "infineon,cat1-gpio";
9393
reg = <0x40410280 0x80>;
94-
interrupts = <5 6>;
94+
interrupts = <5 4>;
9595
gpio-controller;
9696
ngpios = <3>;
9797
status = "disabled";
@@ -108,160 +108,160 @@
108108
scb0: scb@40590000 {
109109
compatible = "infineon,cat1-scb";
110110
reg = <0x40590000 0xfd0>;
111-
interrupts = <8 6>;
111+
interrupts = <8 4>;
112112
status = "disabled";
113113
};
114114
scb1: scb@405a0000 {
115115
compatible = "infineon,cat1-scb";
116116
reg = <0x405a0000 0xfd0>;
117-
interrupts = <17 6>;
117+
interrupts = <17 4>;
118118
status = "disabled";
119119
};
120120
scb2: scb@405b0000 {
121121
compatible = "infineon,cat1-scb";
122122
reg = <0x405b0000 0xfd0>;
123-
interrupts = <18 6>;
123+
interrupts = <18 4>;
124124
status = "disabled";
125125
};
126126

127127
watchdog0: watchdog@4020c000 {
128128
compatible = "infineon,cat1-watchdog";
129129
reg = <0x4020c000 0x10>;
130-
interrupts = <15 6>;
130+
interrupts = <15 4>;
131131
status = "disabled";
132132
};
133133

134134
mcwdt0: mcwdt@4020d000 {
135135
compatible = "infineon,cat1-lp-timer";
136136
reg = <0x4020d000 0x40>;
137-
interrupts = <9 6>;
137+
interrupts = <9 4>;
138138
status = "disabled";
139139
};
140140

141141
counter0_0: counter@404a0000 {
142142
compatible = "infineon,cat1-counter";
143143
reg = <0x404a0000 0x80>;
144-
interrupts = <42 6>;
144+
interrupts = <42 4>;
145145
resolution = <32>;
146146
status = "disabled";
147147
};
148148
counter0_1: counter@404a0080 {
149149
compatible = "infineon,cat1-counter";
150150
reg = <0x404a0080 0x80>;
151-
interrupts = <43 6>;
151+
interrupts = <43 4>;
152152
resolution = <32>;
153153
status = "disabled";
154154
};
155155
counter1_0: counter@404a8000 {
156156
compatible = "infineon,cat1-counter";
157157
reg = <0x404a8000 0x80>;
158-
interrupts = <44 6>;
158+
interrupts = <44 4>;
159159
resolution = <16>;
160160
status = "disabled";
161161
};
162162
counter1_1: counter@404a8080 {
163163
compatible = "infineon,cat1-counter";
164164
reg = <0x404a8080 0x80>;
165-
interrupts = <45 6>;
165+
interrupts = <45 4>;
166166
resolution = <16>;
167167
status = "disabled";
168168
};
169169
counter1_2: counter@404a8100 {
170170
compatible = "infineon,cat1-counter";
171171
reg = <0x404a8100 0x80>;
172-
interrupts = <46 6>;
172+
interrupts = <46 4>;
173173
resolution = <16>;
174174
status = "disabled";
175175
};
176176
counter1_3: counter@404a8180 {
177177
compatible = "infineon,cat1-counter";
178178
reg = <0x404a8180 0x80>;
179-
interrupts = <47 6>;
179+
interrupts = <47 4>;
180180
resolution = <16>;
181181
status = "disabled";
182182
};
183183
counter1_4: counter@404a8200 {
184184
compatible = "infineon,cat1-counter";
185185
reg = <0x404a8200 0x80>;
186-
interrupts = <48 6>;
186+
interrupts = <48 4>;
187187
resolution = <16>;
188188
status = "disabled";
189189
};
190190
counter1_5: counter@404a8280 {
191191
compatible = "infineon,cat1-counter";
192192
reg = <0x404a8280 0x80>;
193-
interrupts = <49 6>;
193+
interrupts = <49 4>;
194194
resolution = <16>;
195195
status = "disabled";
196196
};
197197
counter1_6: counter@404a8300 {
198198
compatible = "infineon,cat1-counter";
199199
reg = <0x404a8300 0x80>;
200-
interrupts = <50 6>;
200+
interrupts = <50 4>;
201201
resolution = <16>;
202202
status = "disabled";
203203
};
204204

205205
pwm0_0: pwm@404a0000 {
206206
compatible = "infineon,cat1-pwm";
207207
reg = <0x404a0000 0x80>;
208-
interrupts = <42 6>;
208+
interrupts = <42 4>;
209209
resolution = <32>;
210210
status = "disabled";
211211
};
212212
pwm0_1: pwm@404a0080 {
213213
compatible = "infineon,cat1-pwm";
214214
reg = <0x404a0080 0x80>;
215-
interrupts = <43 6>;
215+
interrupts = <43 4>;
216216
resolution = <32>;
217217
status = "disabled";
218218
};
219219
pwm1_0: pwm@404a8000 {
220220
compatible = "infineon,cat1-pwm";
221221
reg = <0x404a8000 0x80>;
222-
interrupts = <44 6>;
222+
interrupts = <44 4>;
223223
resolution = <16>;
224224
status = "disabled";
225225
};
226226
pwm1_1: pwm@404a8080 {
227227
compatible = "infineon,cat1-pwm";
228228
reg = <0x404a8080 0x80>;
229-
interrupts = <45 6>;
229+
interrupts = <45 4>;
230230
resolution = <16>;
231231
status = "disabled";
232232
};
233233
pwm1_2: pwm@404a8100 {
234234
compatible = "infineon,cat1-pwm";
235235
reg = <0x404a8100 0x80>;
236-
interrupts = <46 6>;
236+
interrupts = <46 4>;
237237
resolution = <16>;
238238
status = "disabled";
239239
};
240240
pwm1_3: pwm@404a8180 {
241241
compatible = "infineon,cat1-pwm";
242242
reg = <0x404a8180 0x80>;
243-
interrupts = <47 6>;
243+
interrupts = <47 4>;
244244
resolution = <16>;
245245
status = "disabled";
246246
};
247247
pwm1_4: pwm@404a8200 {
248248
compatible = "infineon,cat1-pwm";
249249
reg = <0x404a8200 0x80>;
250-
interrupts = <48 6>;
250+
interrupts = <48 4>;
251251
resolution = <16>;
252252
status = "disabled";
253253
};
254254
pwm1_5: pwm@404a8280 {
255255
compatible = "infineon,cat1-pwm";
256256
reg = <0x404a8280 0x80>;
257-
interrupts = <49 6>;
257+
interrupts = <49 4>;
258258
resolution = <16>;
259259
status = "disabled";
260260
};
261261
pwm1_6: pwm@404a8300 {
262262
compatible = "infineon,cat1-pwm";
263263
reg = <0x404a8300 0x80>;
264-
interrupts = <50 6>;
264+
interrupts = <50 4>;
265265
resolution = <16>;
266266
status = "disabled";
267267
};
@@ -271,28 +271,28 @@
271271
compatible = "infineon,cat1-dma";
272272
reg = <0x40180000 0x10000>;
273273
dma-channels = <16>;
274-
interrupts = <19 6>, /* CH0 */
275-
<20 6>, /* CH1 */
276-
<21 6>, /* CH2 */
277-
<22 6>, /* CH3 */
278-
<23 6>, /* CH4 */
279-
<24 6>, /* CH5 */
280-
<25 6>, /* CH6 */
281-
<26 6>, /* CH7 */
282-
<27 6>, /* CH8 */
283-
<28 6>, /* CH9 */
284-
<29 6>, /* CH10 */
285-
<30 6>, /* CH11 */
286-
<31 6>, /* CH12 */
287-
<32 6>, /* CH13 */
288-
<33 6>, /* CH14 */
289-
<34 6>; /* CH15 */
274+
interrupts = <19 4>, /* CH0 */
275+
<20 4>, /* CH1 */
276+
<21 4>, /* CH2 */
277+
<22 4>, /* CH3 */
278+
<23 4>, /* CH4 */
279+
<24 4>, /* CH5 */
280+
<25 4>, /* CH6 */
281+
<26 4>, /* CH7 */
282+
<27 4>, /* CH8 */
283+
<28 4>, /* CH9 */
284+
<29 4>, /* CH10 */
285+
<30 4>, /* CH11 */
286+
<31 4>, /* CH12 */
287+
<32 4>, /* CH13 */
288+
<33 4>, /* CH14 */
289+
<34 4>; /* CH15 */
290290
status = "disabled";
291291
};
292292
bluetooth: btss@42000000 {
293293
compatible = "infineon,cyw208xx-hci";
294294
reg = <0x42000000 0x6186A0>;
295-
interrupts = <16 6>;
295+
interrupts = <16 4>;
296296
status = "disabled";
297297
};
298298

0 commit comments

Comments
 (0)