The present invention relates to electronic devices, in particular organic electroluminescent devices, which comprise compounds of the formula (1) or (2), and to the corresponding compounds and to the use thereof in organic electroluminescent devices.