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/lmi/ufs.asl
Yu weiyuan 7352c1a46b
add xiao mi redmi k30 pro (#380)
* Update main.yml

* add xiaomi redmi k30 pro

* Update installer.yml

* add xiaomi redmi k30 pro

* Update installer.yml

* add xiao mi redmi k30 pro
2024-02-03 18:54:08 +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)
}
}
}