mainboard.asl 786 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  4. */
  5. /* Power Button */
  6. Device (PWRB)
  7. {
  8. Name(_HID, EISAID("PNP0C0C"))
  9. }
  10. /* PS/2 keyboard and mouse */
  11. Scope (\_SB.PCI0.LPCB)
  12. {
  13. /* 8042 Keyboard */
  14. Device (PS2K)
  15. {
  16. Name(_HID, EISAID("PNP0303"))
  17. Name(_CRS, ResourceTemplate()
  18. {
  19. IO(Decode16, 0x60, 0x60, 0x00, 0x01)
  20. IO(Decode16, 0x64, 0x64, 0x00, 0x01)
  21. IRQNoFlags() { 1 }
  22. })
  23. Method(_STA, 0, Serialized)
  24. {
  25. Return (STA_VISIBLE)
  26. }
  27. }
  28. /* 8042 Mouse */
  29. Device (PS2M)
  30. {
  31. Name(_HID, EISAID("PNP0F03"))
  32. Name(_CRS, ResourceTemplate()
  33. {
  34. IO(Decode16, 0x60, 0x60, 0x00, 0x01)
  35. IO(Decode16, 0x64, 0x64, 0x00, 0x01)
  36. IRQNoFlags() { 12 }
  37. })
  38. Method(_STA, 0, Serialized)
  39. {
  40. Return (STA_VISIBLE)
  41. }
  42. }
  43. }