Commit f1b8641fd48d573fbedea55eb0e3081f18125d54

Authored by Andy Shevchenko
Committed by Bin Meng
1 parent cde578ff36

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>

Showing 1 changed file with 13 additions and 0 deletions Side-by-side Diff

arch/x86/include/asm/arch-tangier/acpi/platform.asl
... ... @@ -21,6 +21,19 @@
21 21 Return (Package() {0, 0})
22 22 }
23 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 +
24 37 /* ACPI global NVS */
25 38 #include "global_nvs.asl"
26 39