]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/PCAL9555A.asi
ArmPkg/CompilerIntrinsicsLib: Add uread, uwrite GCC assembly sources
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / PCAL9555A.asi
CommitLineData
b303605e
MK
1/** @file\r
2NXP PCAL9555A i2c-accessible I/O expander.\r
3\r
4Copyright (c) 2013-2015 Intel Corporation.\r
5\r
0eb3de2e 6SPDX-License-Identifier: BSD-2-Clause-Patent\r
b303605e
MK
7\r
8**/\r
9\r
10Device(NIO1)\r
11{\r
12 Name(_HID, "INT3491") // NXP PCAL9555A i2c-accessible I/O expander.\r
13 Name(_CID, "INT3491")\r
14 Name(_UID, 1)\r
15\r
16 Name(RBUF, ResourceTemplate()\r
17 {\r
18 I2CSerialBus(0x25, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer, , )\r
19 })\r
20 Method(_CRS, 0x0, NotSerialized)\r
21 {\r
22 Return(RBUF)\r
23 }\r
24 Method(_STA, 0x0, NotSerialized)\r
25 {\r
26 //\r
27 // Only Platform Type / Id 8 has this device.\r
28 //\r
29 If(LNotEqual(PTYP, 8))\r
30 {\r
31 return (0)\r
32 }\r
33 Return(0xf)\r
34 }\r
35}\r
36\r
37Device(NIO2)\r
38{\r
39 Name(_HID, "INT3491") // NXP PCAL9555A i2c-accessible I/O expander.\r
40 Name(_CID, "INT3491")\r
41 Name(_UID, 2)\r
42\r
43 Name(RBUF, ResourceTemplate()\r
44 {\r
45 I2CSerialBus(0x26, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer, , )\r
46 })\r
47 Method(_CRS, 0x0, NotSerialized)\r
48 {\r
49 Return(RBUF)\r
50 }\r
51 Method(_STA, 0x0, NotSerialized)\r
52 {\r
53 //\r
54 // Only Platform Type / Id 8 has this device.\r
55 //\r
56 If(LNotEqual(PTYP, 8))\r
57 {\r
58 return (0)\r
59 }\r
60 Return(0xf)\r
61 }\r
62}\r
63\r
64Device(NIO3)\r
65{\r
66 Name(_HID, "INT3491") // NXP PCAL9555A i2c-accessible I/O expander.\r
67 Name(_CID, "INT3491")\r
68 Name(_UID, 3)\r
69\r
70 Name(RBUF, ResourceTemplate()\r
71 {\r
72 I2CSerialBus(0x27, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer, , )\r
73 GpioInt (Level, ActiveLow, Exclusive, PullDefault, , "\\_SB.PCI0.GIP0.GPO", 0, ResourceConsumer, , ) {QUARK_GPIO1_MAPPING} /* GPIO<1> is EXP2_INT */\r
74 })\r
75 Method(_CRS, 0x0, NotSerialized)\r
76 {\r
77 Return(RBUF)\r
78 }\r
79 Method(_STA, 0x0, NotSerialized)\r
80 {\r
81 //\r
82 // Only Platform Type / Id 8 has this device.\r
83 //\r
84 If(LNotEqual(PTYP, 8))\r
85 {\r
86 return (0)\r
87 }\r
88 Return(0xf)\r
89 }\r
90}\r