]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/CAT24C08.asi
ac6df50ae5767670f510e37098e008b51905c869
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / CAT24C08.asi
1 /** @file
2 ONSEMI CAT24C08 I2C 8KB EEPROM.
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 Device(EEP2)
11 {
12 Name(_HID, "INT3499") // ONSEMI CAT24C08 I2C 8KB EEPROM.
13 Name(_CID, "INT3499")
14
15 Name(RBUF, ResourceTemplate()
16 {
17 I2CSerialBus(0x54, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer, , )
18 })
19 Method(_CRS, 0x0, NotSerialized)
20 {
21 Return(RBUF)
22 }
23 Method(_STA, 0x0, NotSerialized)
24 {
25 //
26 // Only Platform Type / Id 8 has this device.
27 //
28 If(LNotEqual(PTYP, 8))
29 {
30 return (0)
31 }
32 Return(0xf)
33 }
34 }