2 Differentiated System Description Table Fields (DSDT)
4 Copyright (c) 2014-2015, 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
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.
15 #include "ArmPlatform.h"
17 DefinitionBlock("DsdtTable.aml", "DSDT", 1, "ARMLTD", "ARM-JUNO", EFI_ACPI_ARM_OEM_REVISION) {
20 // A57x2-A53x4 Processor declaration
22 Device(CPU0) { // A53-0: Cluster 1, Cpu 0
23 Name(_HID, "ACPI0007")
26 Device(CPU1) { // A53-1: Cluster 1, Cpu 1
27 Name(_HID, "ACPI0007")
30 Device(CPU2) { // A53-2: Cluster 1, Cpu 2
31 Name(_HID, "ACPI0007")
34 Device(CPU3) { // A53-3: Cluster 1, Cpu 3
35 Name(_HID, "ACPI0007")
38 Device(CPU4) { // A57-0: Cluster 0, Cpu 0
39 Name(_HID, "ACPI0007")
42 Device(CPU5) { // A57-1: Cluster 0, Cpu 1
43 Name(_HID, "ACPI0007")
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 }
65 Name(_HID, "ARMH9118")
67 Name(_CRS, ResourceTemplate() {
68 Memory32Fixed(ReadWrite, 0x1A000000, 0x1000)
69 Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 192 }
71 Name(_DSD, Package() {
72 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
74 Package(2) {"phy-mode", "mii"},
75 Package(2) {"reg-io-width", 4 },
76 Package(2) {"smsc,irq-active-high",1},
77 Package(2) {"smsc,irq-push-pull",1}
84 Name(_HID, "ARMH0011")
87 Name(_CRS, ResourceTemplate() {
88 Memory32Fixed(ReadWrite, 0x7FF80000, 0x1000)
89 Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 115 }
94 // USB EHCI Host Controller
97 Name(_HID, "ARMH0D20")
100 Name(_CCA, 0) //EHCI on this platform is not coherent!
102 Method(_CRS, 0x0, Serialized){
103 Name(RBUF, ResourceTemplate(){
104 Memory32Fixed(ReadWrite, 0x7FFC0000, 0x10000)
105 Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) {149} // INT ID=149 GIC IRQ ID=117 for Juno SoC USB EHCI Controller
114 Name(_ADR, 0x00000000) // Address of Root Hub should be 0 as per ACPI 5.0 spec
117 // Ports connected to Root Hub
120 Name(_ADR, 0x00000001)
121 Name(_UPC, Package(){
122 0x00, // Port is NOT connectable
124 0x00000000, // Reserved 0 must be zero
125 0x00000000 // Reserved 1 must be zero
129 Name(_ADR, 0x00000001)
130 Name(_UPC, Package(){
131 0xFF, // Port is connectable
132 0x00, // Port connector is A
136 Name(_PLD, Package(){
138 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
139 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
142 } // USB0_RHUB_HUB1_PRT1
144 Name(_ADR, 0x00000002)
145 Name(_UPC, Package(){
146 0xFF, // Port is connectable
147 0x00, // Port connector is A
151 Name(_PLD, Package(){
153 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
154 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
157 } // USB0_RHUB_HUB1_PRT2
160 Name(_ADR, 0x00000003)
161 Name(_UPC, Package(){
162 0xFF, // Port is connectable
163 0x00, // Port connector is A
167 Name(_PLD, Package(){
169 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
170 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
173 } // USB0_RHUB_HUB1_PRT3
176 Name(_ADR, 0x00000004)
177 Name(_UPC, Package(){
178 0xFF, // Port is connectable
179 0x00, // Port connector is A
183 Name(_PLD, Package(){
185 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
186 0x31, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
189 } // USB0_RHUB_HUB1_PRT4