aarch64: Add PL061 for device tree implementation

This commit adds a new legacy device PL011 for the AArch64 device
tree implementation.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang
2021-03-07 20:11:07 +08:00
committed by Michael
parent 7c86ef8a69
commit a59ff42a95
5 changed files with 103 additions and 0 deletions
+3
View File
@@ -129,6 +129,9 @@ pub enum DeviceType {
/// Device Type: RTC.
#[cfg(target_arch = "aarch64")]
RTC,
/// Device Type: GPIO.
#[cfg(target_arch = "aarch64")]
GPIO,
}
/// Default (smallest) memory page size for the supported architectures.