summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/cezanne/include/soc/acpi.h
blob: ab90c96c7bdd4fb78299a368409bbc0ba432e17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef AMD_CEZANNE_ACPI_H
#define AMD_CEZANNE_ACPI_H

#include <acpi/acpi.h>
#include <amdblocks/acpi.h>
#include <device/device.h>
#include <stdint.h>

#define ACPI_SCI_IRQ 9

/* RTC Registers */
#define RTC_DATE_ALARM		0x0d
#define RTC_ALT_CENTURY		0x32
#define RTC_CENTURY		0x48

uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current,
				  acpi_rsdp_t *rsdp);

#endif /* AMD_CEZANNE_ACPI_H */