iodevs.conf 541 B

12345678910111213141516171819202122
  1. # -*- perl -*-
  2. #
  3. # I/O device configuration
  4. #
  5. our $iodev_addr_bits = 4;
  6. our $iodev_addr_shift = 7;
  7. # Special IRQs (CPU or non-device)
  8. our @sysirqs = ('timer', 'ebreak', 'buserr');
  9. # Define -irq to a string of 'e' (edge) or 'l' (level)
  10. # for a corresponding number of IRQs.
  11. our @iodevs = (
  12. { -name => 'led' },
  13. { -name => 'reset' },
  14. { -name => 'romcopy' },
  15. { -name => 'sysclock', -irq => 'e' },
  16. { -name => 'console', -irq => 'l' },
  17. { -name => 'sdcard', -irq => 'l' },
  18. { -name => 'esp', -irq => 'l' }
  19. );