]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmJunoPkg/AcpiTables/Dsdt.asl
ArmPlatformPkg/ArmJunoPkg: Added the ACPI 5.0 Tables
[mirror_edk2.git] / ArmPlatformPkg / ArmJunoPkg / AcpiTables / Dsdt.asl
1 /** @file
2 Differentiated System Description Table Fields (DSDT)
3
4 Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #include "ArmPlatform.h"
16
17 DefinitionBlock("DsdtTable.aml", "DSDT", 1, "ARMLTD", "ARM-JUNO", EFI_ACPI_ARM_OEM_REVISION) {
18 Scope(_SB) {
19 //
20 // A57x2-A53x4 Processor declaration
21 //
22 Device(CPU0) { // A57-0: Cluster 0, Cpu 0
23 Name(_HID, "ACPI0007")
24 Name(_UID, 0)
25 }
26 Device(CPU1) { // A57-1: Cluster 0, Cpu 1
27 Name(_HID, "ACPI0007")
28 Name(_UID, 1)
29 }
30 Device(CPU2) { // A53-0: Cluster 1, Cpu 0
31 Name(_HID, "ACPI0007")
32 Name(_UID, 2)
33 }
34 Device(CPU3) { // A53-1: Cluster 1, Cpu 1
35 Name(_HID, "ACPI0007")
36 Name(_UID, 3)
37 }
38 Device(CPU4) { // A53-2: Cluster 1, Cpu 2
39 Name(_HID, "ACPI0007")
40 Name(_UID, 4)
41 }
42 Device(CPU5) { // A53-3: Cluster 1, Cpu 3
43 Name(_HID, "ACPI0007")
44 Name(_UID, 5)
45 }
46
47 //
48 // Keyboard and Mouse
49 //
50 Device(KMI0) {
51 Name(_HID, "ARMH0501")
52 Name(_CID, "PL050_KBD")
53 Name(_CRS, ResourceTemplate() {
54 Memory32Fixed(ReadWrite, 0x1C060008, 0x4)
55 Memory32Fixed(ReadWrite, 0x1C060000, 0x4)
56 Memory32Fixed(ReadOnly, 0x1C060004, 0x4)
57 Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 197 }
58 })
59 }
60
61 //
62 // LAN9118 Ethernet
63 //
64 Device(ETH0) {
65 Name(_HID, "ARMH9118")
66 Name(_CRS, ResourceTemplate() {
67 Memory32Fixed(ReadWrite, 0x1A000000, 0x1000)
68 Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 192 }
69 })
70 }
71
72 //
73 // USB Host Controller
74 //
75 Device(USB0){
76 Name(_HID, "ARMH0D20")
77 Name(_CID, "PNP0D20")
78 Name(_UID, 2)
79
80 Method(_CRS, 0x0, Serialized){
81 Name(RBUF, ResourceTemplate(){
82 Memory32Fixed(ReadWrite, 0x7FFC0000, 0x000000B0)
83 Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) {149} // INT ID=149 GIC IRQ ID=117 for Juno SoC USB EHCI Controller
84 })
85 Return(RBUF)
86 }
87
88 //
89 // Root Hub
90 //
91 Device(RHUB){
92 Name(_ADR, 0x00000000) // Address of Root Hub should be 0 as per ACPI 5.0 spec
93
94 //
95 // Ports connected to Root Hub
96 //
97 Device(HUB1){
98 Name(_ADR, 0x00000001)
99 Name(_UPC, Package(){
100 0x00, // Port is NOT connectable
101 0xFF, // Don't care
102 0x00000000, // Reserved 0 must be zero
103 0x00000000 // Reserved 1 must be zero
104 })
105
106 Device(PRT1){
107 Name(_ADR, 0x00000001)
108 Name(_UPC, Package(){
109 0xFF, // Port is connectable
110 0x00, // Port connector is A
111 0x00000000,
112 0x00000000
113 })
114 Name(_PLD, Package(){
115 Buffer(0x10){
116 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
117 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
118 }
119 })
120 } // USB0_RHUB_HUB1_PRT1
121 Device(PRT2){
122 Name(_ADR, 0x00000002)
123 Name(_UPC, Package(){
124 0xFF, // Port is connectable
125 0x00, // Port connector is A
126 0x00000000,
127 0x00000000
128 })
129 Name(_PLD, Package(){
130 Buffer(0x10){
131 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
132 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
133 }
134 })
135 } // USB0_RHUB_HUB1_PRT2
136
137 Device(PRT3){
138 Name(_ADR, 0x00000003)
139 Name(_UPC, Package(){
140 0xFF, // Port is connectable
141 0x00, // Port connector is A
142 0x00000000,
143 0x00000000
144 })
145 Name(_PLD, Package(){
146 Buffer(0x10){
147 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
148 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
149 }
150 })
151 } // USB0_RHUB_HUB1_PRT3
152
153 Device(PRT4){
154 Name(_ADR, 0x00000004)
155 Name(_UPC, Package(){
156 0xFF, // Port is connectable
157 0x00, // Port connector is A
158 0x00000000,
159 0x00000000
160 })
161 Name(_PLD, Package(){
162 Buffer(0x10){
163 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
164 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
165 }
166 })
167 } // USB0_RHUB_HUB1_PRT4
168 } // USB0_RHUB_HUB1
169 } // USB0_RHUB
170 } // USB0
171 } // Scope(_SB)
172 }