trident: added ID register, banking, and clock selection.