Forum Discussion
Altera_Forum
Honored Contributor
10 years agoSopc2dts: How to specify multiple interrupts
How do I write my board description file (xml) to get this output in the dts:
interrupts = <0 176 4>, <0 177 4>; The following code does not work, I get all values listed as: <0 176 4 0 177 4> <DTAppend name="interrupts" parentlabel="pmu"> <val type="number">0</val> <val type="number">176</val> <val type="number">4</val> <val type="number">0</val> <val type="number">177</val> <val type="number">4</val> </DTAppend> Thanks in advance!3 Replies
- Altera_Forum
Honored Contributor
not very sure if you cascaded two interrupt is working, maybe you can try by single interrupt first?
- Altera_Forum
Honored Contributor
Actually, this works fine.
I compiled a dts with comma separated elements to dtb and back to dts. The new dts had all values listed in a single element. Compiling that file gives the same dtb as above. Both formats are valid :-) Ps. Have seen a dts with even more interrupts listed - Altera_Forum
Honored Contributor
good sharing.. thanks!