Angel Pons | 182dbde | 2020-04-02 23:49:05 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* This file is part of the coreboot project. */ |
Mike Loptien | 573a1d6 | 2013-03-18 11:19:26 -0600 | [diff] [blame] | 3 | |
| 4 | Device(LIBR) { |
| 5 | Name(_ADR, 0x00140003) |
| 6 | /* Method(_INI) { |
| 7 | * DBGO("\\_SB\\PCI0\\LpcIsaBr\\_INI\n") |
| 8 | } */ /* End Method(_SB.SBRDG._INI) */ |
| 9 | |
| 10 | /* Real Time Clock Device */ |
| 11 | Device(RTC0) { |
| 12 | Name(_HID, EISAID("PNP0B00")) /* AT Real Time Clock (not PIIX4 compatible) */ |
| 13 | Name(_CRS, ResourceTemplate() { |
| 14 | IRQNoFlags(){8} |
| 15 | IO(Decode16,0x0070, 0x0070, 0, 2) |
| 16 | /* IO(Decode16,0x0070, 0x0070, 0, 4) */ |
| 17 | }) |
| 18 | } /* End Device(_SB.PCI0.LpcIsaBr.RTC0) */ |
| 19 | |
| 20 | Device(TMR) { /* Timer */ |
| 21 | Name(_HID,EISAID("PNP0100")) /* System Timer */ |
| 22 | Name(_CRS, ResourceTemplate() { |
| 23 | IRQNoFlags(){0} |
| 24 | IO(Decode16, 0x0040, 0x0040, 0, 4) |
| 25 | /* IO(Decode16, 0x0048, 0x0048, 0, 4) */ |
| 26 | }) |
| 27 | } /* End Device(_SB.PCI0.LpcIsaBr.TMR) */ |
| 28 | |
| 29 | Device(SPKR) { /* Speaker */ |
| 30 | Name(_HID,EISAID("PNP0800")) /* AT style speaker */ |
| 31 | Name(_CRS, ResourceTemplate() { |
| 32 | IO(Decode16, 0x0061, 0x0061, 0, 1) |
| 33 | }) |
| 34 | } /* End Device(_SB.PCI0.LpcIsaBr.SPKR) */ |
| 35 | |
| 36 | Device(PIC) { |
| 37 | Name(_HID,EISAID("PNP0000")) /* AT Interrupt Controller */ |
| 38 | Name(_CRS, ResourceTemplate() { |
| 39 | IRQNoFlags(){2} |
| 40 | IO(Decode16,0x0020, 0x0020, 0, 2) |
| 41 | IO(Decode16,0x00A0, 0x00A0, 0, 2) |
| 42 | /* IO(Decode16, 0x00D0, 0x00D0, 0x10, 0x02) */ |
| 43 | /* IO(Decode16, 0x04D0, 0x04D0, 0x10, 0x02) */ |
| 44 | }) |
| 45 | } /* End Device(_SB.PCI0.LpcIsaBr.PIC) */ |
| 46 | |
| 47 | Device(MAD) { /* 8257 DMA */ |
| 48 | Name(_HID,EISAID("PNP0200")) /* Hardware Device ID */ |
| 49 | Name(_CRS, ResourceTemplate() { |
| 50 | DMA(Compatibility,BusMaster,Transfer8){4} |
| 51 | IO(Decode16, 0x0000, 0x0000, 0x10, 0x10) |
| 52 | IO(Decode16, 0x0081, 0x0081, 0x01, 0x03) |
| 53 | IO(Decode16, 0x0087, 0x0087, 0x01, 0x01) |
| 54 | IO(Decode16, 0x0089, 0x0089, 0x01, 0x03) |
| 55 | IO(Decode16, 0x008F, 0x008F, 0x01, 0x01) |
| 56 | IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20) |
| 57 | }) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */ |
| 58 | } /* End Device(_SB.PCI0.LpcIsaBr.MAD) */ |
| 59 | |
| 60 | Device(COPR) { |
| 61 | Name(_HID,EISAID("PNP0C04")) /* Math Coprocessor */ |
| 62 | Name(_CRS, ResourceTemplate() { |
| 63 | IO(Decode16, 0x00F0, 0x00F0, 0, 0x10) |
| 64 | IRQNoFlags(){13} |
| 65 | }) |
| 66 | } /* End Device(_SB.PCI0.LpcIsaBr.COPR) */ |
| 67 | #include "acpi/superio.asl" |
| 68 | } /* end LIBR */ |