blob: b91324ded34f1e4258bda3a1551ab4b6eb988798 [file] [log] [blame]
Angel Pons210a0082020-04-02 23:48:24 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Stefan Reinauer7e568552013-03-13 17:03:04 -07002
3// Scope is \_SB.PCI0.LPCB
4
5Device (SIO)
6{
Matt DeVillierc924f392017-09-17 14:24:58 -05007 Name (_HID, EisaId("PNP0A05"))
Stefan Reinauer7e568552013-03-13 17:03:04 -07008 Name (_UID, 0)
Stefan Reinauer7e568552013-03-13 17:03:04 -07009
10#ifdef SIO_EC_ENABLE_PS2K
11 Device (PS2K) // Keyboard
12 {
13 Name (_UID, 0)
Stefan Reinauer7e568552013-03-13 17:03:04 -070014 Name (_HID, EISAID("PNP0303"))
15 Name (_CID, EISAID("PNP030B"))
16
17 Method (_STA, 0, NotSerialized)
18 {
19 Return (0x0F)
20 }
21
22 Name (_CRS, ResourceTemplate()
23 {
24 FixedIO (0x60, 0x01)
25 FixedIO (0x64, 0x01)
26 IRQNoFlags () {1}
27 })
Stefan Reinauer7e568552013-03-13 17:03:04 -070028 }
29#endif
30
31#ifdef SIO_ENABLE_PS2M
32 Device (PS2M) // Mouse
33 {
34 Name (_HID, EISAID("PNP0F13"))
35
36 Method (_STA, 0, NotSerialized)
37 {
38 Return (0x0F)
39 }
40
41 Name (_CRS, ResourceTemplate()
42 {
43 FixedIO (0x60, 0x01)
44 FixedIO (0x64, 0x01)
45 IRQNoFlags () {12}
46 })
Stefan Reinauer7e568552013-03-13 17:03:04 -070047 }
48#endif
49
50}