1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
| /** @file
| Phytium ACPI ASL Sources.
|
| Copyright (C) 2020, Phytium Technology Co Ltd. All rights reserved.<BR>
|
| SPDX-License-Identifier: BSD-2-Clause-Patent
|
| **/
|
| Scope (_SB)
| {
| //UART 0
| Device (UAR0) {
| Name (_HID, "ARMH0011")
| Name (_UID, 0)
| Name (_CRS, ResourceTemplate () {
| Memory32Fixed (ReadWrite, 0x28000000, 0x1000)
| Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { 38 }
| })
|
| Method (_STA, 0, NotSerialized) {
| Return (0x0F)
| }
| }
|
| //UART 1
| Device (UAR1) {
| Name (_HID, "ARMH0011")
| Name (_UID, 1)
| Name (_CRS, ResourceTemplate () {
| Memory32Fixed (ReadWrite, 0x28001000, 0x1000)
| Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {39}
| })
|
| Method (_STA, 0, NotSerialized) { Return (0x0F) }
| }
|
| //UART 2
| Device (UAR2) {
| Name (_HID, "ARMH0011")
| Name (_UID, 2)
| Name (_CRS, ResourceTemplate () {
| Memory32Fixed (ReadWrite, 0x28002000, 0x1000)
| Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {40}
| })
|
| Method (_STA, 0, NotSerialized) {
| Return (0x0F)
| }
| }
|
| //UART 3
| Device (UAR3) {
| Name (_HID, "ARMH0011")
| Name (_UID, 3)
| Name (_CRS, ResourceTemplate () {
| Memory32Fixed (ReadWrite, 0x28003000, 0x1000)
| Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {41}
| })
|
| Method (_STA, 0, NotSerialized) {
| Return (0x0F)
| }
| }
| }
|
|