3 Copyright (c) 2013-2015 Intel Corporation.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
7 CY8C9540A 40 Bit I/O Expander with EEPROM.
13 Name(_HID, "INT3490") // Cypress CY8C9540A Io Expander Function.
16 Name(RBUF, ResourceTemplate()
18 I2CSerialBus(0x20, ControllerInitiated, 100000, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer, , )
19 GpioInt (Level, ActiveLow, Exclusive, PullDefault, , "\\_SB.PCI0.GIP0.GPO", 0, ResourceConsumer, , ) {QUARK_GPIO5_MAPPING} /* GPIO<5> is INT_S0 */
21 Method(_CRS, 0x0, NotSerialized)
23 CreateByteField(RBUF, 16, OB1)
34 Method(_STA, 0x0, NotSerialized)
37 // Only Galileo platform has this device.
38 // EFI_PLATFORM_TYPE enum value Galileo = 6.
40 If(LNotEqual(PTYP, 6))