123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- /** @file
- Copyright (c) 2023, Ampere Computing LLC. All rights reserved.<BR>
- SPDX-License-Identifier: BSD-2-Clause-Patent
- **/
- // Motherboard resource consumption for PCIE resource reservation
- // as upstream discussion "ACPI namespace details for ARM64"
- Device (PDRC) {
- Name (_HID, EISAID("PNP0C02"))
- Name (_UID, 1)
- // S0 Start here
- Name (PDRS, ResourceTemplate() {
- QWordMemory ( // PCIE0 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00003BFFF0000000, // AddressMinimum - MIN
- 0x00003BFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE1 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00003FFFF0000000, // AddressMinimum - MIN
- 0x00003FFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE2 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x000023FFF0000000, // AddressMinimum - MIN
- 0x000023FFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE3 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x000027FFF0000000, // AddressMinimum - MIN
- 0x000027FFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE4 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00002BFFF0000000, // AddressMinimum - MIN
- 0x00002BFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE5 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00002FFFF0000000, // AddressMinimum - MIN
- 0x00002FFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- // S1 Start here
- QWordMemory ( // PCIE6 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00007BFFF0000000, // AddressMinimum - MIN
- 0x00007BFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE7 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00007FFFF0000000, // AddressMinimum - MIN
- 0x00007FFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE8 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x000063FFF0000000, // AddressMinimum - MIN
- 0x000063FFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIE9 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x000067FFF0000000, // AddressMinimum - MIN
- 0x000067FFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIEA 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00006BFFF0000000, // AddressMinimum - MIN
- 0x00006BFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIEB 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x00006FFFF0000000, // AddressMinimum - MIN
- 0x00006FFFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIEC 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x000033FFF0000000, // AddressMinimum - MIN
- 0x000033FFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- QWordMemory ( // PCIED 256M CFG region for ECAM
- ResourceProducer, // ResourceUsage
- PosDecode, // Decode
- MinFixed, // IsMinFixed
- MaxFixed, // IsMaxFixed
- Cacheable, // Cacheable
- ReadWrite, // ReadAndWrite
- 0x0000000000000000, // AddressGranularity - GRA
- 0x000037FFF0000000, // AddressMinimum - MIN
- 0x000037FFFFFFFFFF, // AddressMaximum - MAX
- 0x0000000000000000, // AddressTranslation - TRA
- 0x0000000010000000 // RangeLength - LEN
- )
- })
- // Current Resource Settings
- Method (_CRS, 0, Serialized) {
- Return (PDRS)
- }
- }
|