Altera_Forum
Honored Contributor
11 years agoAdding interrupts toa new QSys component
I created a new QSys component, and I'd like to customize how it appears in the device tree.
I've already found how to change the vendor, compatible, and group fields. But this part is connected to an HPS interrupt, and I'd like to be able to have QSys generate this information in the device tree. I think I want to end up adding these lines to the device tree: interrupts = < 0 40 1 >; interrupt-parent = <&intc>; and so I tried adding these lines to my QSys hw.tcl file to get there: set_module_assignment embeddedsw.dts.type.raw.interrupts {<0 40 1>} set_module_assignment embeddedsw.dts.type.raw.interrupt-parent {<&intc>} But this doesn't seem to be working. Is there another way to specify interrupts so that the device tree generated form the sopcinfo file will pick it up? Thank you!