0
0
mirror of https://github.com/edk2-porting/edk2-msm synced 2024-11-26 00:26:15 +00:00
edk2-msm/Platform/Xiaomi/sm8250/AcpiTables/apollo/ufs.asl
2022-11-06 12:13:05 +05:30

41 lines
753 B
C

// UFS Controller
Device (UFS0)
{
Method(_STA, 0)
{
Return (0xF) // Set to 0xF to enable
}
Name (_HID, "QCOM24A5")
Alias(\_SB.EMUL, EMUL)
Name (_UID, 0)
// Check: Cache coherent?
Name (_CCA, 0)
Method (_CRS, 0x0, NotSerialized) {
Name (RBUF, ResourceTemplate ()
{
// UFS register address space
Memory32Fixed (ReadWrite, 0x1D84000, 0x1C000)
Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {297}
})
Return (RBUF)
}
// UFS Device
Device (DEV0)
{
// Memory Type
Method (_ADR)
{
Return (8)
}
// Non-removable
Method (_RMV)
{
Return (0)
}
}
}