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