1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <arch/ioapic.h>
7 Name (_ADR, 0x001D0000)
8 Name (_PRW, Package () { 0x03, 0x05 })
10 OperationRegion (USBS, PCI_Config, 0x00, 0x0100)
11 Field (USBS, ByteAcc, NoLock, Preserve)
13 Offset (0xC4), URES, 8
19 Name (_ADR, 0x001D0001)
20 Name (_PRW, Package () { 0x04, 0x05 })
21 OperationRegion (USBS, PCI_Config, 0x00, 0x0100)
22 Field (USBS, ByteAcc, NoLock, Preserve)
24 Offset (0xC4), URES, 8
30 Name (_ADR, 0x001D0002)
31 Name (_PRW, Package () { 0x0C, 0x05 })
32 OperationRegion (USBS, PCI_Config, 0x00, 0x0100)
33 Field (USBS, ByteAcc, NoLock, Preserve)
35 Offset (0xC4), URES, 8
41 Name (_ADR, 0x001D0007)
42 Name (_PRW, Package () { 0x0D, 0x05 }) /* PME_B0_STS any 0:1d or 0:1f device */
43 OperationRegion (USBS, PCI_Config, 0x00, 0x0100)
44 Field (USBS, ByteAcc, NoLock, Preserve)
46 Offset (0xC4), URES, 8
52 Name (_ADR, 0x001E0000)
53 Name (_PRW, Package () { 0x0B, 0x05 }) /* PME# _STS */
54 Name (_PRT, Package() {
55 Package() { 0x0003ffff, 0, 0, 20 },
56 Package() { 0x0003ffff, 1, 0, 21 },
57 Package() { 0x0003ffff, 2, 0, 22 },
58 Package() { 0x0003ffff, 3, 0, 23 },
64 Name (_ADR, 0x001F0000)
65 OperationRegion (D310, PCI_Config, 0x00, 0xFF)
66 Field (D310, ByteAcc, NoLock, Preserve)
68 Offset (0x40), PBAR, 16,
69 Offset (0x58), GBAR, 16,
72 OperationRegion (ACPI, SystemIO, 0x0400, 0xC0)
73 Field (ACPI, ByteAcc, NoLock, Preserve)
94 Name (MSBF, ResourceTemplate ()
97 Memory32Fixed (ReadWrite, IO_APIC_ADDR, 0x00001000,)
99 IO (Decode16, 0x0, 0x0, 0x80, 0x0, PMIO)
100 IO (Decode16, 0x0, 0x0, 0x40, 0x0, GPIO)
102 /* 8254 legacy irq */
103 IO (Decode16, 0x04D0, 0x04D0, 0x02, 0x02,)
105 /* reset generator */
106 IO (Decode16, 0x0092, 0x0092, 0x01, 0x01, )
109 Method (_CRS, 0, NotSerialized)
111 CreateWordField (MSBF, \_SB_.PCI0.ICH0.PMIO._MIN, IOA1)
112 CreateWordField (MSBF, \_SB_.PCI0.ICH0.PMIO._MAX, IOA2)
113 CreateByteField (MSBF, \_SB_.PCI0.ICH0.PMIO._LEN, IOAL)
126 CreateWordField (MSBF, \_SB_.PCI0.ICH0.GPIO._MIN, IOS1)
127 CreateWordField (MSBF, \_SB_.PCI0.ICH0.GPIO._MAX, IOS2)
128 CreateByteField (MSBF, \_SB_.PCI0.ICH0.GPIO._LEN, IOSL)
144 Name (_HID, EisaId ("PNP0C02"))
148 Name (MSBG, ResourceTemplate () {
149 Memory32Fixed (ReadOnly, 0xFFF00000, 0x00080000,)
150 Memory32Fixed (ReadOnly, 0xFFF80000, 0x00080000,)
153 Method (_CRS, 0, NotSerialized)
161 Name (_HID, EisaId ("PNP0C02"))
163 #include "acpi/superio.asl"