]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/CAT24C08.asi
QuarkPlatformPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / CAT24C08.asi
CommitLineData
b303605e
MK
1/** @file\r
2ONSEMI CAT24C08 I2C 8KB EEPROM.\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(EEP2)\r
11{\r
12 Name(_HID, "INT3499") // ONSEMI CAT24C08 I2C 8KB EEPROM.\r
13 Name(_CID, "INT3499")\r
14\r
15 Name(RBUF, ResourceTemplate()\r
16 {\r
17 I2CSerialBus(0x54, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer, , )\r
18 })\r
19 Method(_CRS, 0x0, NotSerialized)\r
20 {\r
21 Return(RBUF)\r
22 }\r
23 Method(_STA, 0x0, NotSerialized)\r
24 {\r
25 //\r
26 // Only Platform Type / Id 8 has this device.\r
27 //\r
28 If(LNotEqual(PTYP, 8))\r
29 {\r
30 return (0)\r
31 }\r
32 Return(0xf)\r
33 }\r
34}\r