This adds the cfg & scc files to support the S32G274A-EVB.

Signed-off-by: Xulin Sun <xulin....@windriver.com>
---
 bsp/nxp-s32g2xx/nxp-s32g2xx-standard.scc |   9 ++
 bsp/nxp-s32g2xx/nxp-s32g2xx.cfg          | 114 +++++++++++++++++++++++
 bsp/nxp-s32g2xx/nxp-s32g2xx.scc          |   7 ++
 3 files changed, 130 insertions(+)
 create mode 100755 bsp/nxp-s32g2xx/nxp-s32g2xx-standard.scc
 create mode 100755 bsp/nxp-s32g2xx/nxp-s32g2xx.cfg
 create mode 100755 bsp/nxp-s32g2xx/nxp-s32g2xx.scc

diff --git a/bsp/nxp-s32g2xx/nxp-s32g2xx-standard.scc 
b/bsp/nxp-s32g2xx/nxp-s32g2xx-standard.scc
new file mode 100755
index 00000000..c25b49f9
--- /dev/null
+++ b/bsp/nxp-s32g2xx/nxp-s32g2xx-standard.scc
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: MIT
+define KMACHINE nxp-s32g2xx
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard
+branch nxp-s32g2xx
+
+include nxp-s32g2xx.scc
diff --git a/bsp/nxp-s32g2xx/nxp-s32g2xx.cfg b/bsp/nxp-s32g2xx/nxp-s32g2xx.cfg
new file mode 100755
index 00000000..ddcbf480
--- /dev/null
+++ b/bsp/nxp-s32g2xx/nxp-s32g2xx.cfg
@@ -0,0 +1,114 @@
+# 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_ARCH_S32=y
+CONFIG_SOC_S32GEN1=y
+CONFIG_SCHED_MC=y
+CONFIG_ARM_SMMU=y
+
+CONFIG_PINCTRL_S32GEN1=y
+CONFIG_PINCTRL_S32_GEN1_CORE=y
+CONFIG_PINCTRL_IMX=y
+
+CONFIG_CPU_IDLE=y
+CONFIG_ARM_CPUIDLE=y
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+
+#CAN
+CONFIG_CAN=y
+CONFIG_CAN_VCAN=y
+CONFIG_CAN_SLCAN=y
+CONFIG_CAN_FLEXCAN=y
+
+#Ethernet
+CONFIG_STMMAC_ETH=y
+CONFIG_AT803X_PHY=y
+CONFIG_MICREL_PHY=y
+
+#Serial
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_SERIAL_FSL_LINFLEXUART=y
+CONFIG_SERIAL_FSL_LINFLEXUART_CONSOLE=y
+
+#SPI
+CONFIG_SPI=y
+CONFIG_SPI_FSL_DSPI=y
+CONFIG_SPI_SPIDEV=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_S32GEN1=y
+
+#USB
+CONFIG_USB=y
+CONFIG_USB_OTG=y
+CONFIG_USB_OTG_FSM=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_UDC=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_NOP_USB_XCEIV=y
+CONFIG_USB_ULPI=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_CONFIGFS=y
+CONFIG_USB_CONFIGFS_MASS_STORAGE=y
+
+#MMC
+CONFIG_MMC=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_ESDHC_IMX=y
+CONFIG_DMADEVICES=y
+CONFIG_FSL_EDMA=y
+CONFIG_CMA=y
+CONFIG_DMA_CMA=y
+
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_SPI_NOR=y
+
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_UINPUT=y
+
+CONFIG_POWER_RESET_S32GEN1=y
+
+CONFIG_FCCU=y
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+
+CONFIG_MDIO_DEVICE=y
+CONFIG_PHYLIB=y
+
+#RTC
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_S32GEN1=y
+
+#I2C
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_IMX=y
+
+# CONFIG_VIRTIO_MENU is not set
+
diff --git a/bsp/nxp-s32g2xx/nxp-s32g2xx.scc b/bsp/nxp-s32g2xx/nxp-s32g2xx.scc
new file mode 100755
index 00000000..0226bdcc
--- /dev/null
+++ b/bsp/nxp-s32g2xx/nxp-s32g2xx.scc
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: MIT
+kconf hardware nxp-s32g2xx.cfg
+
+include cfg/usb-mass-storage.scc
+
+include features/hugetlb/hugetlb.scc
+include arch/arm/32bit-compat.scc
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8896): 
https://lists.yoctoproject.org/g/linux-yocto/message/8896
Mute This Topic: https://lists.yoctoproject.org/mt/75901268/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to