Add scc/cfg kernel fragment to build and boot AM65X GP EVM board.

Signed-off-by: Jun Miao <jun.m...@windriver.com>
---
 bsp/ti-am654x/ti-am654x-standard.scc |   9 ++
 bsp/ti-am654x/ti-am654x.cfg          | 185 +++++++++++++++++++++++++++
 bsp/ti-am654x/ti-am654x.scc          |   8 ++
 3 files changed, 202 insertions(+)
 create mode 100644 bsp/ti-am654x/ti-am654x-standard.scc
 create mode 100644 bsp/ti-am654x/ti-am654x.cfg
 create mode 100644 bsp/ti-am654x/ti-am654x.scc

diff --git a/bsp/ti-am654x/ti-am654x-standard.scc 
b/bsp/ti-am654x/ti-am654x-standard.scc
new file mode 100644
index 00000000..c30282c1
--- /dev/null
+++ b/bsp/ti-am654x/ti-am654x-standard.scc
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: MIT
+define KMACHINE ti-am654x
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc
+branch ti-am654x
+
+include ti-am654x.scc
diff --git a/bsp/ti-am654x/ti-am654x.cfg b/bsp/ti-am654x/ti-am654x.cfg
new file mode 100644
index 00000000..bfb24ec8
--- /dev/null
+++ b/bsp/ti-am654x/ti-am654x.cfg
@@ -0,0 +1,185 @@
+#........................................................................
+#                              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.
+#
+#.........................................................................
+
+#
+#
+# Platform selection
+#
+CONFIG_ARM64=y
+CONFIG_ARCH_K3=y
+
+#
+# DesignWare PCI Core Support
+CONFIG_PCI=y
+CONFIG_PCI_MSI=y
+CONFIG_PCI_MSI_IRQ_DOMAIN=y
+CONFIG_PCI_KEYSTONE=y
+CONFIG_PCI_KEYSTONE_HOST=y
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC=y
+CONFIG_MMC_SPI=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_AM654=y
+
+#
+# Power management options
+#
+CONFIG_PM_SLEEP=y
+CONFIG_PM_SLEEP_SMP=y
+CONFIG_PM=y
+CONFIG_PM_CLK=y
+CONFIG_CPU_PM=y
+
+#
+# CPU Frequency scaling
+#
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_GOV_ATTR_SET=y
+CONFIG_CPU_FREQ_GOV_COMMON=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
+
+#
+# CPU frequency scaling drivers
+#
+CONFIG_CPUFREQ_DT=y
+CONFIG_CPUFREQ_DT_PLATDEV=y
+
+#
+# Bus devices
+#
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_OF_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+
+#
+# SCSI device support
+#
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
+
+#
+# USB
+#
+CONFIG_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_DWC3=y
+CONFIG_USB_DWC3_OF_SIMPLE=y
+CONFIG_HAS_DMA=y
+CONFIG_OMAP_USB2=y
+CONFIG_USB_DWC3_KEYSTONE=y
+
+#
+# USB for net
+#
+CONFIG_USB_NET_DRIVERS=y
+CONFIG_USB_USBNET=y
+CONFIG_NETDEVICES=y
+CONFIG_USB_NET_AX8817X=y
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+CONFIG_INPUT_MATRIXKMAP=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_INPUT_MOUSE=y
+CONFIG_INPUT_MISC=y
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+
+#
+# Memory mapped GPIO drivers
+#
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_DAVINCI=y
+
+#
+# I2C support
+#
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_COMPAT=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_OMAP=y
+
+#
+# SPI Master Controller Drivers
+#
+CONFIG_SPI=y
+CONFIG_SPI_MASTER=y
+CONFIG_SPI_MEM=y
+CONFIG_SPI_OMAP24XX=y
+
+#
+# DMA Devices
+#
+CONFIG_DMADEVICES=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_OF=y
+
+#
+# Common Clock Framework
+#
+CONFIG_TI_SCI_CLK=y
+CONFIG_TI_SCI_PROTOCOL=y
+CONFIG_TI_SCI_CLK_PROBE_FROM_FW=y
+
+#
+# Qualcomm SoC drivers
+#
+CONFIG_SOC_TI=y
+CONFIG_TI_SCI_PM_DOMAINS=y
+
+#
+# IRQ chip support
+#
+CONFIG_IRQCHIP=y
+CONFIG_ARM_GIC_V3=y
+CONFIG_ARM_GIC_V3_ITS=y
+CONFIG_ARM_GIC_V3_ITS_PCI=y
+CONFIG_TI_SCI_INTR_IRQCHIP=y
+CONFIG_TI_SCI_INTA_IRQCHIP=y
+CONFIG_RESET_CONTROLLER=y
+CONFIG_RESET_TI_SCI=y
+CONFIG_RESET_TI_SYSCON=y
+
+#
+# PHY Subsystem
+#
+CONFIG_GENERIC_PHY=y
+CONFIG_PHY_XGENE=y
+CONFIG_PHY_AM654_SERDES=y
+CONFIG_PHYLIB=y
+CONFIG_NETDEVICES=y
+CONFIG_DP83867_PHY=y
diff --git a/bsp/ti-am654x/ti-am654x.scc b/bsp/ti-am654x/ti-am654x.scc
new file mode 100644
index 00000000..f7bcdceb
--- /dev/null
+++ b/bsp/ti-am654x/ti-am654x.scc
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: MIT
+include cfg/usb-mass-storage.scc
+include cfg/fs/flash_fs.cfg
+include features/hugetlb/hugetlb.scc
+# Enable the ability to run 32 bit apps
+include arch/arm/32bit-compat.scc
+
+kconf hardware ti-am654x.cfg
-- 
2.17.1

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to