1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #include <amdblocks/acpimmio_map.h>
9 Name (_HID, "AAHB0000")
11 Name (_CRS, ResourceTemplate()
13 Memory32Fixed (ReadWrite, ALINK_AHB_ADDRESS, 0x2000)
15 Method (_STA, 0x0, NotSerialized)
23 Name (_HID, GPIO_DEVICE_NAME)
24 Name (_CID, GPIO_DEVICE_NAME)
26 Name (_DDN, GPIO_DEVICE_DESC)
28 Name (_CRS, ResourceTemplate()
30 Interrupt (ResourceConsumer, Level, ActiveLow, Shared, , , )
32 Memory32Fixed (ReadWrite, ACPIMMIO_GPIO0_BASE, 0x300)
35 Method (_STA, 0x0, NotSerialized)
43 Name (_HID, "AMD0020")
45 Name (_CRS, ResourceTemplate()
47 IRQ (Edge, ActiveHigh, Exclusive) { 10 }
48 Memory32Fixed (ReadWrite, APU_UART0_BASE, 0x2000)
51 Method (_STA, 0x0, NotSerialized)
58 Name (_HID, "AMD0020")
60 Name (_CRS, ResourceTemplate()
62 IRQ (Edge, ActiveHigh, Exclusive) { 11 }
63 Memory32Fixed (ReadWrite, APU_UART1_BASE, 0x2000)
66 Method (_STA, 0x0, NotSerialized)
73 Name (_HID, "AMD0010")
75 Name (_CRS, ResourceTemplate()
77 IRQ (Edge, ActiveHigh, Exclusive) { 3 }
78 Memory32Fixed (ReadWrite, APU_I2C0_BASE, 0x1000)
82 Method (_STA, 0x0, NotSerialized)
90 Name (_HID, "AMD0010")
92 Name (_CRS, ResourceTemplate()
94 IRQ (Edge, ActiveHigh, Exclusive) { 15 }
95 Memory32Fixed (ReadWrite, APU_I2C1_BASE, 0x1000)
99 Method (_STA, 0x0, NotSerialized)
106 Name (_HID, "AMD0010")
108 Name (_CRS, ResourceTemplate()
110 IRQ (Edge, ActiveHigh, Exclusive) { 6 }
111 Memory32Fixed (ReadWrite, APU_I2C2_BASE, 0x1000)
115 Method (_STA, 0x0, NotSerialized)
123 Name (_HID, "AMD0010")
125 Name (_CRS, ResourceTemplate() {
126 IRQ (Edge, ActiveHigh, Exclusive) { 14 }
127 Memory32Fixed(ReadWrite, APU_I2C3_BASE, 0x1000)
131 Method (_STA, 0x0, NotSerialized)
139 Name (_HID, "AMD0040")
141 Name (_CRS, ResourceTemplate() {
142 Memory32Fixed(ReadWrite, ACPIMMIO_MISC_BASE, 0x100)
144 Method (_STA, 0x0, NotSerialized)