regs-ps2.h 446 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * PKUnity PS2 Controller Registers
  4. */
  5. /*
  6. * the same as I8042_DATA_REG PS2_DATA
  7. */
  8. #define PS2_DATA (PKUNITY_PS2_BASE + 0x0060)
  9. /*
  10. * the same as I8042_COMMAND_REG PS2_COMMAND
  11. */
  12. #define PS2_COMMAND (PKUNITY_PS2_BASE + 0x0064)
  13. /*
  14. * the same as I8042_STATUS_REG PS2_STATUS
  15. */
  16. #define PS2_STATUS (PKUNITY_PS2_BASE + 0x0064)
  17. /*
  18. * counter reg PS2_CNT
  19. */
  20. #define PS2_CNT (PKUNITY_PS2_BASE + 0x0068)