• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/** @file
2  Differentiated System Description Table Fields (DSDT)
3
4  Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
5  Copyright (c) 2015, Hisilicon Limited. All rights reserved.<BR>
6  Copyright (c) 2015, Linaro Limited. All rights reserved.<BR>
7    This program and the accompanying materials
8  are licensed and made available under the terms and conditions of the BSD License
9  which accompanies this distribution.  The full text of the license may be found at
10  http://opensource.org/licenses/bsd-license.php
11
12  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15  Based on the files under ArmPlatformPkg/ArmJunoPkg/AcpiTables/
16
17**/
18#include "Pv660Platform.h"
19
20DefinitionBlock (
21    "SATASSDT.aml", // Output Filename
22    "SSDT",         // Signature
23    0x01,           // DSDT Compliance Revision
24    "HISI  ",       // OEM ID
25    "SATA",     // Table ID
26    EFI_ACPI_ARM_OEM_REVISION          // OEM Revision
27    )
28{
29External(\_SB.MBI3)
30Scope(_SB) {
31    Device (AHCI)
32    {
33      Name(_HID, "HISI0001")  // HiSi AHCI
34      Name (_CCA, 1)           // Cache-coherent controller
35      Name (_CRS, ResourceTemplate () {
36        Memory32Fixed (ReadWrite, 0xb1002800, 0x00000B00)
37        Memory32Fixed (ReadWrite, 0xb1000000, 0x00002800)
38        Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,,,) { 382 }
39      })
40
41      Name (_DSD, Package () {
42        ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
43        Package () {
44          Package () {"interrupt-parent",Package() {\_SB.MBI3}}
45        }
46      })
47    }
48
49}
50
51}
52