/* GPIO 92 (0x005C) */ Device (GIO0) { Name (_HID, "QCOM0C0C") // _HID: Hardware ID Name (_CID, "QCOMFFEB") // _CID: Compatible ID Name (_UID, Zero) // _UID: Unique ID Alias (\_SB.PSUB, _SUB) OperationRegion (GPOR, GeneralPurposeIo, Zero, One) Field (\_SB.GIO0.GPOR, ByteAcc, NoLock, Preserve) { Connection ( GpioIo (Shared, PullNone, 0x0000, 0x0000, IoRestrictionNone, "\\_SB.GIO0", 0x00, ResourceConsumer, , ) { // Pin list 0x005C } ), LIDR, 1 } /* GPIO 71 (0x0047) */ Device (SDC2) { Name (_DEP, Package (0x02) // _DEP: Dependencies { \_SB.PEP0, \_SB.GIO0 }) Name (_HID, "QCOM2466") // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Name (_CCA, Zero) // _CCA: Cache Coherency Attribute Alias (\_SB.PSUB, _SUB) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Name (RBUF, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x08804000, // Address Base 0x00001000, // Address Length ) Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) { 0x000000EF, } GpioInt (Edge, ActiveBoth, SharedAndWake, PullUp, 0x1388, "\\_SB.GIO0", 0x00, ResourceConsumer, , ) { // Pin list 0x0100 } GpioIo (Shared, PullUp, 0x0000, 0x0000, IoRestrictionNone, "\\_SB.GIO0", 0x00, ResourceConsumer, , ) { // Pin list 0x0047 } }) Return (RBUF) /* \_SB_.SDC2._CRS.RBUF */ } Method (_DIS, 0, NotSerialized) // _DIS: Disable Device { } Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0F) } }