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