Merge branch 'master' of git://git.denx.de/u-boot-usb
[oweals/u-boot.git] / arch / x86 / include / asm / arch-tangier / acpi / platform.asl
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2017 Intel Corporation
4  *
5  * Partially based on platform.asl for other x86 platforms
6  */
7
8 #include <asm/acpi/statdef.asl>
9
10 /*
11  * The _PTS method (Prepare To Sleep) is called before the OS is
12  * entering a sleep state. The sleep state number is passed in Arg0.
13  */
14 Method(_PTS, 1)
15 {
16 }
17
18 /* The _WAK method is called on system wakeup */
19 Method(_WAK, 1)
20 {
21     Return (Package() {0, 0})
22 }
23
24 Scope (_SB)
25 {
26     /* Real Time Clock */
27     Device (RTC0)
28     {
29         Name (_HID, EisaId ("PNP0B00"))
30         Name (_CRS, ResourceTemplate()
31         {
32             IO(Decode16, 0x70, 0x70, 0x01, 0x08)
33         })
34     }
35 }
36
37 /* ACPI global NVS */
38 #include "global_nvs.asl"
39
40 Scope (\_SB)
41 {
42     #include "southcluster.asl"
43 }