0
0
mirror of https://github.com/edk2-porting/edk2-msm synced 2024-11-25 23:16:16 +00:00
edk2-msm/Platform/Xiaomi/sm8250/AcpiTables/elish/ufs.asl
5-Super-Rookie-5 3064bd4e31 sm8250:elish Enabled UFS
Signed-off-by: 5-Super-Rookie-5 <1582956180@qq.com>
2022-11-10 14:57:52 +08:00

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)
}
}
}