-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
614 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ jobs: | |
- edge2 | ||
- nanopi-r6c | ||
- nanopi-r6s | ||
- nanopi-m6 | ||
- nanopc-t6 | ||
- blade3 | ||
- h88k | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DSC_FILE=edk2-rockchip/Platform/FriendlyElec/NanoPi-M6/NanoPi-M6.dsc | ||
PLATFORM_NAME=NanoPi-M6 | ||
SOC=RK3588 |
Binary file added
BIN
+236 KB
edk2-rockchip-non-osi/Platform/Rockchip/DeviceTree/rk3588-nanopi-m6.dtb
Binary file not shown.
58 changes: 58 additions & 0 deletions
58
edk2-rockchip/Platform/FriendlyElec/NanoPi-M6/AcpiTables/AcpiTables.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#/** @file | ||
# | ||
# ACPI table data and ASL sources required to boot the platform. | ||
# | ||
# Copyright (c) 2019-2021, ARM Limited. All rights reserved. | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# | ||
# SPDX-License-Identifier: BSD-2-Clause-Patent | ||
# | ||
#**/ | ||
|
||
[Defines] | ||
INF_VERSION = 0x0001001A | ||
BASE_NAME = AcpiTables | ||
FILE_GUID = 7E374E25-8E01-4FEE-87F2-390C23C606CD | ||
MODULE_TYPE = USER_DEFINED | ||
VERSION_STRING = 1.0 | ||
RK_COMMON_ACPI_DIR = Silicon/Rockchip/RK3588/AcpiTables | ||
|
||
# | ||
# The following information is for reference only and not required by the build tools. | ||
# | ||
# VALID_ARCHITECTURES = AARCH64 | ||
# | ||
|
||
[Sources] | ||
Dsdt.asl | ||
$(RK_COMMON_ACPI_DIR)/Madt.aslc | ||
$(RK_COMMON_ACPI_DIR)/Fadt.aslc | ||
$(RK_COMMON_ACPI_DIR)/Gtdt.aslc | ||
$(RK_COMMON_ACPI_DIR)/Spcr.aslc | ||
$(RK_COMMON_ACPI_DIR)/Mcfg.aslc | ||
$(RK_COMMON_ACPI_DIR)/Dbg2.aslc | ||
$(RK_COMMON_ACPI_DIR)/Pptt.aslc | ||
|
||
[Packages] | ||
ArmPkg/ArmPkg.dec | ||
ArmPlatformPkg/ArmPlatformPkg.dec | ||
EmbeddedPkg/EmbeddedPkg.dec | ||
MdeModulePkg/MdeModulePkg.dec | ||
MdePkg/MdePkg.dec | ||
Silicon/Rockchip/RockchipPkg.dec | ||
Silicon/Rockchip/RK3588/RK3588.dec | ||
|
||
[FixedPcd] | ||
gArmTokenSpaceGuid.PcdArmArchTimerIntrNum | ||
gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum | ||
gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum | ||
gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum | ||
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase | ||
gArmTokenSpaceGuid.PcdGicDistributorBase | ||
gArmTokenSpaceGuid.PcdGicRedistributorsBase | ||
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase | ||
gRK3588TokenSpaceGuid.PcdI2S0Supported | ||
gRK3588TokenSpaceGuid.PcdI2S1Supported | ||
gRockchipTokenSpaceGuid.PcdRkMtlMailBoxBase | ||
gRockchipTokenSpaceGuid.PcdRkMtlMailBoxSize | ||
gRockchipTokenSpaceGuid.PcdRkSdmmcCardDetectBroken |
39 changes: 39 additions & 0 deletions
39
edk2-rockchip/Platform/FriendlyElec/NanoPi-M6/AcpiTables/Dsdt.asl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/** @file | ||
* | ||
* Differentiated System Definition Table (DSDT) | ||
* | ||
* Copyright (c) 2020, Pete Batard <[email protected]> | ||
* Copyright (c) 2018-2020, Andrey Warkentin <[email protected]> | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Copyright (c) 2021, ARM Limited. All rights reserved. | ||
* | ||
* SPDX-License-Identifier: BSD-2-Clause-Patent | ||
* | ||
**/ | ||
|
||
#include "AcpiTables.h" | ||
|
||
DefinitionBlock ("Dsdt.aml", "DSDT", 2, "RKCP ", "RK3588S", 2) | ||
{ | ||
Scope (\_SB_) | ||
{ | ||
include ("DsdtCommon.asl") | ||
|
||
include ("Cpu.asl") | ||
|
||
include ("Pcie.asl") | ||
include ("Sata.asl") | ||
include ("Emmc.asl") | ||
include ("Sdhc.asl") | ||
include ("Dma.asl") | ||
include ("Gmac1.asl") | ||
include ("Gpio.asl") | ||
include ("I2c.asl") | ||
include ("Uart.asl") | ||
//include ("Spi.asl") | ||
|
||
include ("Usb2Host.asl") | ||
include ("Usb3Host0.asl") | ||
include ("Usb3Host1.asl") | ||
} | ||
} |
Oops, something went wrong.