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>
This commit is contained in:
Andy Shevchenko 2018-11-10 17:37:01 +02:00 committed by Bin Meng
parent cde578ff36
commit f1b8641fd4

View File

@ -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"