am335x: add BeagleBone Blue support

BeagleBone Blue is a BeagleBone variant aimed at robotics applications.
Device Tree generated from Linux 4.20.17
This commit is contained in:
James Ye 2019-06-14 16:51:10 +10:00
parent 4e965162c3
commit ff418649c1
4 changed files with 1981 additions and 3 deletions

View file

@ -29,6 +29,7 @@ config_choice(
"kzm;KernelPlatformKZM;PLAT_KZM;KernelSel4ArchAarch32"
"omap3;KernelPlatformOMAP3;PLAT_OMAP3;KernelSel4ArchAarch32"
"am335x-boneblack;KernelPlatformAM335XBoneBlack;PLAT_AM335X_BONEBLACK;KernelSel4ArchAarch32"
"am335x-boneblue;KernelPlatformAM335XBoneBlue;PLAT_AM335X_BONEBLUE;KernelSel4ArchAarch32"
"exynos4;KernelPlatformExynos4;PLAT_EXYNOS4;KernelSel4ArchAarch32"
"exynos5410;KernelPlatformExynos5410;PLAT_EXYNOS5410;KernelSel4ArchAarch32 OR KernelSel4ArchArmHyp"
"exynos5422;KernelPlatformExynos5422;PLAT_EXYNOS5422;KernelSel4ArchAarch32 OR KernelSel4ArchArmHyp"

View file

@ -12,13 +12,17 @@
cmake_minimum_required(VERSION 3.7.2)
if(KernelPlatformAM335XBoneBlack)
if(KernelPlatformAM335XBoneBlack OR KernelPlatformAM335XBoneBlue)
set(KernelArmCortexA8 ON)
set(KernelArchArmV7a ON)
config_set(KernelPlatform PLAT "am335x")
config_set(KernelPlatformAM335X PLAT_AM335X ON)
list(APPEND KernelDTSList "tools/dts/am335x-boneblack.dts")
list(APPEND KernelDTSList "src/plat/am335x/overlay-am335x-boneblack.dts")
if(KernelPlatformAM335XBoneBlack)
list(APPEND KernelDTSList "tools/dts/am335x-boneblack.dts")
list(APPEND KernelDTSList "src/plat/am335x/overlay-am335x-boneblack.dts")
elseif(KernelPlatformAM335XBoneBlue)
list(APPEND KernelDTSList "tools/dts/am335x-boneblue.dts")
endif()
list(APPEND KernelDTSList "src/plat/am335x/overlay-am335x.dts")
declare_default_headers(

File diff suppressed because it is too large Load diff

View file

@ -44,6 +44,7 @@ LICENSE="/*
ARM_DTBS="
am335x-boneblack=am335x-boneblack
am335x-boneblue=am335x-boneblue
bcm2837-rpi-3-b=rpi3
exynos4412-odroidx=exynos4
exynos5250-arndale=exynos5250