1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #define MAILBOX_DATA 0x7080
6 #define MAILBOX_INTF 0x7084
7 #define PMIO_LENGTH 0x80
8 #define PMIO_LIMIT 0x480
13 Name (_HID, "INT34D2")
14 Name (_CID, "INT34D2")
15 Name (_DDN, "Intel(R) IPC1 Controller")
16 Name (RBUF, ResourceTemplate ()
18 Memory32Fixed (ReadWrite, 0x0, 0x2000, IBAR)
19 Memory32Fixed (ReadWrite, 0x0, 0x4, MDAT)
20 Memory32Fixed (ReadWrite, 0x0, 0x4, MINF)
21 IO (Decode16, ACPI_BASE_ADDRESS, PMIO_LIMIT,
23 Memory32Fixed (ReadWrite, 0x0, 0x2000, SBAR)
24 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, , , )
30 Method (_CRS, 0x0, NotSerialized)
32 CreateDwordField (^RBUF, ^IBAR._BAS, IBAS)
33 IBAS = PCH_PWRM_BASE_ADDRESS
35 CreateDwordField (^RBUF, ^MDAT._BAS, MDBA)
36 MDBA = MCH_BASE_ADDRESS + MAILBOX_DATA
37 CreateDwordField (^RBUF, ^MINF._BAS, MIBA)
38 MIBA = MCH_BASE_ADDRESS + MAILBOX_INTF
40 CreateDwordField (^RBUF, ^SBAR._BAS, SBAS)
45 Method (_STA, 0x0, NotSerialized)