Fixes to the trigger code and inclusion of interrupt mappings for other chips