1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include "southbridge/intel/i82371eb/i82371eb.h"
5 /* Declares assorted devices that fall under this southbridge. */
9 OperationRegion (PIRQ, PCI_Config, 0x60, 0x04)
10 Field (PIRQ, ByteAcc, NoLock, Preserve)
18 OperationRegion (S1XX, PCI_Config, 0xB2, 0x01)
19 Field (S1XX, ByteAcc, NoLock, Preserve)
24 /* PNP Motherboard Resources */
27 Name (_HID, EisaId ("PNP0C02"))
29 Method (_CRS, 0, NotSerialized)
31 Name (BUF1, ResourceTemplate ()
34 /* Aliased DMA ports */
35 IO (Decode16, 0x0010, 0x0010, 0x01, 0x10, )
36 /* Aliased PIC ports */
37 IO (Decode16, 0x0022, 0x0022, 0x01, 0x1E, )
38 /* Aliased timer ports */
39 IO (Decode16, 0x0050, 0x0050, 0x01, 0x04, )
40 IO (Decode16, 0x0062, 0x0062, 0x01, 0x02, )
41 IO (Decode16, 0x0065, 0x0065, 0x01, 0x0B, )
42 IO (Decode16, 0x0074, 0x0074, 0x01, 0x0C, )
43 IO (Decode16, 0x0091, 0x0091, 0x01, 0x03, )
44 IO (Decode16, 0x00A2, 0x00A2, 0x01, 0x1E, )
45 IO (Decode16, 0x00E0, 0x00E0, 0x01, 0x10, )
46 IO (Decode16, 0x0294, 0x0294, 0x01, 0x04, )
47 IO (Decode16, 0x03F0, 0x03F0, 0x01, 0x02, )
48 IO (Decode16, 0x04D0, 0x04D0, 0x01, 0x02, )
53 /* 8259-compatible Programmable Interrupt Controller */
56 Name (_HID, EisaId ("PNP0000"))
57 Name (_CRS, ResourceTemplate ()
59 IO (Decode16, 0x0020, 0x0020, 0x01, 0x02,)
60 IO (Decode16, 0x00A0, 0x00A0, 0x01, 0x02,)
65 /* PC-class DMA Controller */
68 Name (_HID, EisaId ("PNP0200"))
69 Name (_CRS, ResourceTemplate ()
71 DMA (Compatibility, BusMaster, Transfer8,) {4}
72 IO (Decode16, 0x0000, 0x0000, 0x01, 0x10,)
73 IO (Decode16, 0x0080, 0x0080, 0x01, 0x11,)
74 IO (Decode16, 0x0094, 0x0094, 0x01, 0x0C,)
75 IO (Decode16, 0x00C0, 0x00C0, 0x01, 0x20,)
79 /* PC-class System Timer */
82 Name (_HID, EisaId ("PNP0100"))
83 Name (_CRS, ResourceTemplate ()
85 IO (Decode16,0x0040,0x0040,0x01,0x04,)
90 /* AT Real-Time Clock */
93 Name (_HID, EisaId ("PNP0B00"))
94 Name (_CRS, ResourceTemplate ()
96 IO (Decode16,0x0070,0x0070,0x01,0x04,)
103 Name (_HID, EisaId ("PNP0800"))
104 Name (_CRS, ResourceTemplate ()
106 IO (Decode16,0x0061,0x0061,0x01,0x01,)
110 /* x87-compatible Floating Point Processing Unit */
113 Name (_HID, EisaId ("PNP0C04"))
114 Name (_CRS, ResourceTemplate ()
116 IO (Decode16,0x00F0,0x00F0,0x01,0x10,)
123 Name (_ADR, 0x00040003)
125 Method (_CRS, 0, NotSerialized)
127 Name (BUF1, ResourceTemplate ()
129 /* PM register ports */
130 IO (Decode16, PM_IO_BASE, PM_IO_BASE, 0x01, 0x40, )
131 /* SMBus register ports */
132 IO (Decode16, SMBUS_IO_BASE, SMBUS_IO_BASE, 0x01, 0x10, )