summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-11-10 17:37:01 +0200
committerBin Meng <bmeng.cn@gmail.com>2018-12-10 10:12:29 +0800
commitf1b8641fd48d573fbedea55eb0e3081f18125d54 (patch)
tree87e869e188b07187ce4e2f0cd6f6cb83359a8747 /arch/x86
parentcde578ff36b15ec9c2033f03b94ecf809af7cc64 (diff)
downloadu-boot-f1b8641fd48d573fbedea55eb0e3081f18125d54.tar.gz
u-boot-f1b8641fd48d573fbedea55eb0e3081f18125d54.tar.bz2
u-boot-f1b8641fd48d573fbedea55eb0e3081f18125d54.zip
x86: acpi: Enable RTC for Intel Tangier
Intel Tangier SoC has RTC inside. So, enable it in ACPI. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/arch-tangier/acpi/platform.asl13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-tangier/acpi/platform.asl b/arch/x86/include/asm/arch-tangier/acpi/platform.asl
index 7abea4bb96..353b879918 100644
--- a/arch/x86/include/asm/arch-tangier/acpi/platform.asl
+++ b/arch/x86/include/asm/arch-tangier/acpi/platform.asl
@@ -21,6 +21,19 @@ Method(_WAK, 1)
Return (Package() {0, 0})
}
+Scope (_SB)
+{
+ /* Real Time Clock */
+ Device (RTC0)
+ {
+ Name (_HID, EisaId ("PNP0B00"))
+ Name (_CRS, ResourceTemplate()
+ {
+ IO(Decode16, 0x70, 0x70, 0x01, 0x08)
+ })
+ }
+}
+
/* ACPI global NVS */
#include "global_nvs.asl"