Forum Discussion

DWhit11's avatar
DWhit11
Icon for New Contributor rankNew Contributor
7 years ago

Is there a way to change the interrupt edge/level field when generating a DTS from sopc2dts for my custom component

When I create a DTS file from a .sopcinfo file for a system containing a custom component with an IRQ output the DTS file generates with an interrupt field of:

interrupts = <0 41 4>;

From the device tree bindings "4 = active high level-sensitive"; I need it to be "1 = low-to-high edge triggered"

In my custom component _hw.tcl is there a way with set_module_assignment embeddedsw.dts..... to change this 3rd field from a 4 to a 1? Or is there another property I can add to _hw.tcl that will sort this directly?

Many thanks,

Dave