0
0
mirror of https://github.com/edk2-porting/edk2-msm synced 2025-06-07 23:11:32 +00:00
Files
Xilin Wu 934a951950 Upload msm8998 files
for someone else to test, my system seems to be broken
2022-10-14 21:26:10 +08:00

188 lines
5.4 KiB
C
Executable File

// This file contains the Bus Access Modules (BAM)
// ACPI device definitions and pipe configurations
//
Device (BAM1)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, One) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x01DC4000, // Address Base
0x00024000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x000000EE,
}
})
Return (RBUF) /* \_SB_.BAM1._CRS.RBUF */
}
}
Device (BAM3)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, 0x03) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x0C144000, // Address Base
0x00025000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x0000010E,
}
})
Return (RBUF) /* \_SB_.BAM3._CRS.RBUF */
}
}
Device (BAM4)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, 0x04) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x0C184000, // Address Base
0x00025000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x0000010F,
}
})
Return (RBUF) /* \_SB_.BAM4._CRS.RBUF */
}
}
Device (BAM5)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, 0x05) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x17184000, // Address Base
0x00032000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x000000C4,
}
})
Return (RBUF) /* \_SB_.BAM5._CRS.RBUF */
}
}
Device (BAM6)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, 0x06) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x17204000, // Address Base
0x00026000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x00000144,
}
})
Return (RBUF) /* \_SB_.BAM6._CRS.RBUF */
}
}
Device (BAM7)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, 0x07) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x0C1C4000, // Address Base
0x00023000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x0000009A,
}
})
Return (RBUF) /* \_SB_.BAM7._CRS.RBUF */
}
}
Device (BAMD)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, 0x0D) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x0A904000, // Address Base
0x00017000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x000000A4,
}
})
Return (RBUF) /* \_SB_.BAMD._CRS.RBUF */
}
}
Device (BAME)
{
Name (_HID, "QCOM0012") // _HID: Hardware ID
Alias (\_SB.PSUB, _SUB)
Name (_UID, 0x0E) // _UID: Unique ID
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (RBUF, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0x06064000, // Address Base
0x00015000, // Address Length
)
Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
{
0x000000C7,
}
})
Return (RBUF) /* \_SB_.BAME._CRS.RBUF */
}
}