2 * Copyright (c) 2017 Intel Corporation
4 * Partially based on southcluster.asl for other x86 platforms
6 * SPDX-License-Identifier: GPL-2.0+
11 Name (_HID, EISAID("PNP0A08")) /* PCIe */
12 Name (_CID, EISAID("PNP0A03")) /* PCI */
17 Name (MCRS, ResourceTemplate()
20 WordBusNumber(ResourceProducer, MinFixed, MaxFixed, PosDecode,
21 0x0000, 0x0000, 0x00ff, 0x0000, 0x0100, , , PB00)
24 WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
25 0x0000, 0x0000, 0x0cf7, 0x0000, 0x0cf8, , , PI00)
27 /* PCI Config Space */
28 IO(Decode16, 0x0cf8, 0x0cf8, 0x0001, 0x0008)
31 WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
32 0x0000, 0x0d00, 0xffff, 0x0000, 0xf300, , , PI01)
34 /* GPIO Low Memory Region */
35 DWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed,
37 0x00000000, 0x000ddcc0, 0x000ddccf, 0x00000000,
40 /* PSH Memory Region 0 */
41 DWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed,
43 0x00000000, 0x04819000, 0x04898fff, 0x00000000,
46 /* PSH Memory Region 1 */
47 DWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed,
49 0x00000000, 0x04919000, 0x04920fff, 0x00000000,
52 /* SST Memory Region */
53 DWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed,
55 0x00000000, 0x05e00000, 0x05ffffff, 0x00000000,
58 /* PCI Memory Region */
59 DWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed,
61 0x00000000, 0x80000000, 0xffffffff, 0x00000000,
65 Method (_CRS, 0, Serialized)
72 /* Check for proper GUID */
73 If (LEqual(Arg0, ToUUID("33db4d5b-1ff7-401c-9657-7441c03dd766"))) {
74 /* Let OS control everything */
77 /* Unrecognized UUID */
78 CreateDWordField(Arg3, 0, CDW1)
86 Name (_ADR, 0x00010003)
87 Name (_DEP, Package (0x01)
98 Method (_PS3, 0, NotSerialized)
102 Method (_PS0, 0, NotSerialized)
106 If (^^GPIO.AVBL == One)
118 Name (_DEP, Package (0x01)
128 Method (_RMV, 0, NotSerialized)
133 Method (_PS3, 0, NotSerialized)
135 If (^^^GPIO.AVBL == One)
142 Method (_PS0, 0, NotSerialized)
146 If (^^^GPIO.AVBL == One)
158 Method (_STA, 0, NotSerialized)
163 Method (_RMV, 0, NotSerialized)
172 Name (_ADR, 0x00070001)
173 Name (RBUF, ResourceTemplate()
175 GpioIo(Exclusive, PullUp, 0, 0, IoRestrictionOutputOnly,
176 "\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 91 }
177 GpioIo(Exclusive, PullUp, 0, 0, IoRestrictionOutputOnly,
178 "\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 92 }
179 GpioIo(Exclusive, PullUp, 0, 0, IoRestrictionOutputOnly,
180 "\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 93 }
181 GpioIo(Exclusive, PullUp, 0, 0, IoRestrictionOutputOnly,
182 "\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 94 }
185 Method (_CRS, 0, NotSerialized)
192 * http://www.kernel.org/doc/Documentation/acpi/gpio-properties.txt
193 * for more information about GPIO bindings.
195 Name (_DSD, Package () {
196 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
199 "cs-gpios", Package () {
209 Method (_STA, 0, NotSerialized)
217 Name (_ADR, 0x00080000)
219 Method (_STA, 0, NotSerialized)
227 Name (_ADR, 0x000c0000)
235 Method (_REG, 2, NotSerialized)
243 OperationRegion (GPOP, GeneralPurposeIo, 0, 1)
244 Field (GPOP, ByteAcc, NoLock, Preserve)
247 GpioIo(Exclusive, PullDefault, 0, 0, IoRestrictionOutputOnly,
248 "\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 56 }
256 Name (_ADR, 0x00170000)
258 Method (_STA, 0, NotSerialized)
267 Name (_HID, "PRP0001")
268 Name (_DDN, "Intel Merrifield Family-Level Interface Shim")
269 Name (RBUF, ResourceTemplate()
271 Memory32Fixed(ReadWrite, 0xFF0C0000, 0x00008000, )
272 PinGroup("spi5", ResourceProducer, ) { 90, 91, 92, 93, 94, 95, 96 }
273 PinGroup("uart0", ResourceProducer, ) { 115, 116, 117, 118 }
274 PinGroup("uart1", ResourceProducer, ) { 119, 120, 121, 122 }
275 PinGroup("uart2", ResourceProducer, ) { 123, 124, 125, 126 }
276 PinGroup("pwm0", ResourceProducer, ) { 144 }
277 PinGroup("pwm1", ResourceProducer, ) { 145 }
278 PinGroup("pwm2", ResourceProducer, ) { 132 }
279 PinGroup("pwm3", ResourceProducer, ) { 133 }
282 Method (_CRS, 0, NotSerialized)
287 Name (_DSD, Package () {
288 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
290 Package () {"compatible", "intel,merrifield-pinctrl"},
294 Method (_STA, 0, NotSerialized)