From: Meng Li <meng...@windriver.com> Signed-off-by: Meng Li <meng...@windriver.com> --- .../marvell-cn106xx-preempt-rt.scc | 7 + .../marvell-cn106xx-standard.scc | 8 ++ bsp/marvell-cn106xx/marvell-cn106xx.cfg | 132 ++++++++++++++++++ bsp/marvell-cn106xx/marvell-cn106xx.scc | 8 ++ 4 files changed, 155 insertions(+) create mode 100644 bsp/marvell-cn106xx/marvell-cn106xx-preempt-rt.scc create mode 100644 bsp/marvell-cn106xx/marvell-cn106xx-standard.scc create mode 100644 bsp/marvell-cn106xx/marvell-cn106xx.cfg create mode 100644 bsp/marvell-cn106xx/marvell-cn106xx.scc
diff --git a/bsp/marvell-cn106xx/marvell-cn106xx-preempt-rt.scc b/bsp/marvell-cn106xx/marvell-cn106xx-preempt-rt.scc new file mode 100644 index 00000000..7de21789 --- /dev/null +++ b/bsp/marvell-cn106xx/marvell-cn106xx-preempt-rt.scc @@ -0,0 +1,7 @@ +define KMACHINE marvell-cn96xx +define KTYPE preempt-rt +define KARCH arm64 + +include ktypes/preempt-rt + +include marvell-cn96xx.scc diff --git a/bsp/marvell-cn106xx/marvell-cn106xx-standard.scc b/bsp/marvell-cn106xx/marvell-cn106xx-standard.scc new file mode 100644 index 00000000..037540b1 --- /dev/null +++ b/bsp/marvell-cn106xx/marvell-cn106xx-standard.scc @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: MIT +define KMACHINE marvell-cn106xx +define KTYPE standard +define KARCH arm64 + +include ktypes/standard + +include marvell-cn106xx.scc diff --git a/bsp/marvell-cn106xx/marvell-cn106xx.cfg b/bsp/marvell-cn106xx/marvell-cn106xx.cfg new file mode 100644 index 00000000..4858b932 --- /dev/null +++ b/bsp/marvell-cn106xx/marvell-cn106xx.cfg @@ -0,0 +1,132 @@ +# SPDX-License-Identifier: MIT +.......................................................................... +. WARNING +. +. This file is a kernel configuration fragment, and not a full kernel +. configuration file. The final kernel configuration is made up of +. an assembly of processed fragments, each of which is designed to +. capture a specific part of the final configuration (e.g. platform +. configuration, feature configuration, and board specific hardware +. configuration). For more information on kernel configuration, please +. consult the product documentation. +. +.......................................................................... + +CONFIG_ARM64=y +CONFIG_ARM64_VA_BITS_48=y +CONFIG_ARM64_64K_PAGES=y +CONFIG_ARM_SMMU_V3=y +CONFIG_NR_CPUS=24 +CONFIG_ARCH_THUNDER=y +CONFIG_JUMP_LABEL=y + +# PCIe +CONFIG_PCI=y +CONFIG_PCIEPORTBUS=y +CONFIG_HOTPLUG_PCI=y +CONFIG_HOTPLUG_PCI_PCIE=y +CONFIG_PCI_IOV=y +CONFIG_PCI_HOST_GENERIC=y + +# Ethernet +CONFIG_OCTEONTX2_AF=y +CONFIG_OCTEONTX2_PF=y +CONFIG_OCTEONTX2_VF=y +CONFIG_CAVIUM_PTP=y + +# DMA +CONFIG_OCTEONTX2_DPI_PF=y + +# MTD +CONFIG_MTD=y +CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_BLOCK=y + +# USB +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y + +# SPI +CONFIG_SPI=y +CONFIG_SPI_OCTEONTX2=y + +# I2C +CONFIG_I2C=y +CONFIG_I2C_THUNDERX=y + +# Serial +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y + +# Watchdog +CONFIG_ARM_SBSA_WATCHDOG=y + +# SD +CONFIG_MMC=y +CONFIG_MMC_CAVIUM_THUNDERX=y +CONFIG_PSTORE=y +CONFIG_MMC_OOPS=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_CADENCE=y +CONFIG_MMC_SDHCI_CADENCE_WORKAROUND=y + +# GPIO +CONFIG_GPIOLIB=y +CONFIG_GPIO_THUNDERX=y + +# HWMON +CONFIG_SENSORS_MAX6697=y +CONFIG_SENSORS_JC42=y +CONFIG_SENSORS_ARM_SCMI=y + +# RTC +CONFIG_RTC_CLASS=y + +# PM +CONFIG_ARM_SCMI_POWER_DOMAIN=y +CONFIG_RTC_DRV_DS1307=y + +# Regulator +CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_GPIO=y + +# VFIO +CONFIG_VFIO=y +CONFIG_VFIO_PCI=y +CONFIG_VFIO_NOIOMMU=y + +# Misc +CONFIG_EEPROM_AT24=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_CAVIUM=y +CONFIG_HW_RANDOM_CN10K=y +CONFIG_OCTEONTX2_RM=y +CONFIG_OCTEONTX2_RM_DOM_SYSFS=y +CONFIG_OCTEONTX_INFO=y + +# BPHY +CONFIG_MARVELL_OTX_BPHY_CTR=y + +# Mailbox +CONFIG_MAILBOX=y + +# SCMI +CONFIG_ARM_SCMI_PROTOCOL=y + +# CLK +CONFIG_COMMON_CLK_SCMI=y + +# CPU freq +CONFIG_CPU_FREQ=y +CONFIG_ARM_SCMI_CPUFREQ=y + +# CRYPT +CONFIG_CRYPTO_DEV_CN10K_CPT=y + +# NPA +CONFIG_OCTEONTX2_NPA_PF=y + +# Unsupported by simulator +# CONFIG_ARM_PMU is not set diff --git a/bsp/marvell-cn106xx/marvell-cn106xx.scc b/bsp/marvell-cn106xx/marvell-cn106xx.scc new file mode 100644 index 00000000..55988783 --- /dev/null +++ b/bsp/marvell-cn106xx/marvell-cn106xx.scc @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: MIT +kconf hardware marvell-cn106xx.cfg +kconf hardware features/edac/edac.cfg + +include cfg/usb-mass-storage.scc + +include features/hugetlb/hugetlb.scc +include features/profiling/profiling.scc -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10045): https://lists.yoctoproject.org/g/linux-yocto/message/10045 Mute This Topic: https://lists.yoctoproject.org/mt/83990114/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-