mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / intel / cedarisland_crb / dsdt.asl
blob59ce66c8d72dcca0da0f434d6582acd7d2eb1a36
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <soc/iomap.h>
6 DefinitionBlock(
7         "dsdt.aml",
8         "DSDT",
9         ACPI_DSDT_REV_2,
10         OEM_ID,
11         ACPI_TABLE_CREATOR,
12         0x20110725
15         #include <acpi/dsdt_top.asl>
16         #include "acpi/platform.asl"
18         Name(_S0, Package() { 0x00, 0x00, 0x00, 0x00 })
19         Name(_S5, Package() { 0x07, 0x00, 0x00, 0x00 })
21         Scope (\_SB)
22         {
23                 Device (PCI0)
24                 {
25                         #include <soc/intel/xeon_sp/acpi/gen1/southcluster.asl>
26                         #include <soc/intel/common/block/acpi/acpi/lpc.asl>
28                 }
30                 Device (UNC0)
31                 {
32                         Name (_HID, EisaId ("PNP0A03"))
33                         Name (_UID, 0x3F)
34                         Method (_BBN, 0, NotSerialized)
35                         {
36                                 Return (0xff)
37                         }
39                         Method (_STA, 0, NotSerialized)
40                         {
41                                 Return (0xf)
42                         }
44                         Name (_CRS, ResourceTemplate ()
45                         {
46                                 WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
47                                         0x0000,             // Granularity
48                                         0x00FF,             // Range Minimum
49                                         0x00FF,             // Range Maximum
50                                         0x0000,             // Translation Offset
51                                         0x0001,             // Length
52                                         ,, )
53                         })
55                 }
56         }