mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / amd / gardenia / acpi / gpe.asl
blob5ec93fbefcd09182c0d4b5ce2bcacbb1fa868734
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 External (\_SB.PCI0.AZHD, DeviceObj)
5 Scope(\_GPE) {  /* Start Scope GPE */
7         /*  General event 3  */
8         Method(_L03) {
9                 /* DBGO("\\_GPE\\_L00\n") */
10                 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
11         }
13         /*  Legacy PM event  */
14         Method(_L08) {
15                 /* DBGO("\\_GPE\\_L08\n") */
16         }
18         /*  Temp warning (TWarn) event  */
19         Method(_L09) {
20                 /* DBGO("\\_GPE\\_L09\n") */
21                 /* Notify (\_TZ.TZ00, 0x80) */
22         }
24         /*  USB controller PME#  */
25         Method(_L0B) {
26                 /* DBGO("\\_GPE\\_L0B\n") */
27                 Notify(\_SB.PCI0.EHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
28                 Notify(\_SB.PCI0.XHC0, 0x02) /* NOTIFY_DEVICE_WAKE */
29                 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
30         }
32         /*  ExtEvent0 SCI event  */
33         Method(_L10) {
34                 /* DBGO("\\_GPE\\_L10\n") */
35         }
37         /*  ExtEvent1 SCI event  */
38         Method(_L11) {
39                 /* DBGO("\\_GPE\\_L11\n") */
40         }
42         /*  GPIO0 or GEvent8 event  */
43         Method(_L18) {
44                 /* DBGO("\\_GPE\\_L18\n") */
45                 Notify(\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */
46                 Notify(\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */
47                 Notify(\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */
48                 Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */
49                 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
50         }
52         /*  Azalia SCI event  */
53         Method(_L1B) {
54                 /* DBGO("\\_GPE\\_L1B\n") */
55                 Notify(\_SB.PCI0.AZHD, 0x02) /* NOTIFY_DEVICE_WAKE */
56                 Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
57         }
58 }       /* End Scope GPE */