Create intel-socfpga to support intel stratix10 and Agilex-F board in 6.1 kernel.
Signed-off-by: Liwei Song <liwei.s...@windriver.com> --- .../intel-socfpga-64-preempt-rt.scc | 7 + .../intel-socfpga-64-standard.scc | 7 + bsp/intel-socfpga/intel-socfpga-64.cfg | 163 ++++++++++++++++++ bsp/intel-socfpga/intel-socfpga-64.scc | 7 + 4 files changed, 184 insertions(+) create mode 100644 bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc create mode 100644 bsp/intel-socfpga/intel-socfpga-64-standard.scc create mode 100644 bsp/intel-socfpga/intel-socfpga-64.cfg create mode 100644 bsp/intel-socfpga/intel-socfpga-64.scc diff --git a/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc b/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc new file mode 100644 index 000000000000..af4efb1e65d4 --- /dev/null +++ b/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc @@ -0,0 +1,7 @@ +define KMACHINE intel-socfpga-64 +define KTYPE preempt-rt +define KARCH arm64 + +include ktypes/preempt-rt + +include intel-socfpga-64.scc diff --git a/bsp/intel-socfpga/intel-socfpga-64-standard.scc b/bsp/intel-socfpga/intel-socfpga-64-standard.scc new file mode 100644 index 000000000000..c34643f1415e --- /dev/null +++ b/bsp/intel-socfpga/intel-socfpga-64-standard.scc @@ -0,0 +1,7 @@ +define KMACHINE intel-socfpga-64 +define KTYPE standard +define KARCH arm64 + +include ktypes/standard + +include intel-socfpga-64.scc diff --git a/bsp/intel-socfpga/intel-socfpga-64.cfg b/bsp/intel-socfpga/intel-socfpga-64.cfg new file mode 100644 index 000000000000..1d79d2697ef2 --- /dev/null +++ b/bsp/intel-socfpga/intel-socfpga-64.cfg @@ -0,0 +1,163 @@ +.......................................................................... +. 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_INTEL_SOCFPGA=y + +# Kernel Features +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_ARM64_VA_BITS_48=y + +# Bus support +CONFIG_PCI=y +CONFIG_PCIEPORTBUS=y +CONFIG_PCI_IOV=y +CONFIG_PCI_HISI=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_PCI_XGENE=y +CONFIG_PCIE_ALTERA=y +CONFIG_PCIE_ALTERA_MSI=y + +# Power management options +CONFIG_SUSPEND=y + +# CPU Idle +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +CONFIG_CPU_IDLE_GOV_MENU=y + +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_NAND_DENALI_DT=y +CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_BLKDEVS=y +CONFIG_MTD_CMDLINE_PARTS=y + +CONFIG_SPI=y +CONFIG_SPI_PL022=y +CONFIG_SPI_ROCKCHIP=y +CONFIG_SPI_SPIDEV=y +CONFIG_SPI_CADENCE_QUADSPI=y +CONFIG_SPI_DESIGNWARE=y +CONFIG_SPI_DW_MMIO=y + +# SCSI support type (disk, tape, CD-ROM) +CONFIG_SCSI=y +CONFIG_SCSI_DMA=y +CONFIG_BLK_DEV_SD=y + +CONFIG_INTEL_STRATIX10_SERVICE=y +CONFIG_FPGA=y +CONFIG_FPGA_REGION=y +CONFIG_FPGA_MGR_STRATIX10_SOC=y +CONFIG_FPGA_BRIDGE=y +CONFIG_OF_FPGA_REGION=y +CONFIG_ALTERA_FREEZE_BRIDGE=y + +CONFIG_OF_OVERLAY=y +CONFIG_OF_CONFIGFS=y + +CONFIG_NETDEVICES=y +CONFIG_STMMAC_ETH=y +CONFIG_DWMAC_SOCFPGA=y +CONFIG_MICREL_PHY=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_EXTENDED=y +CONFIG_SERIAL_8250_SHARE_IRQ=y +CONFIG_SERIAL_8250_DW=y +CONFIG_SERIAL_OF_PLATFORM=y + +CONFIG_GPIOLIB=y +CONFIG_GPIO_DWAPB=y +CONFIG_GPIO_ALTERA=y + +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_MUX_PCA954x=y +CONFIG_I2C_DESIGNWARE_PLATFORM=y +CONFIG_I2C_ALTERA=y +CONFIG_PINCTRL=y +CONFIG_PINCTRL_SINGLE=y + +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_PLTFM=y + +CONFIG_USB=y +CONFIG_USB_OTG=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC2=y +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_UDC=y +CONFIG_USB_CHIPIDEA_HOST=y +CONFIG_USB_ISP1760=y +CONFIG_USB_HSIC_USB3503=y +CONFIG_USB_ULPI=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_USB_GADGET=y + +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y + +CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y + +CONFIG_DW_WATCHDOG=y +CONFIG_SRAM=y +CONFIG_EEPROM_AT24=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_DS1307=y +CONFIG_SENSORS_MAX1619=y +CONFIG_IIO=y +CONFIG_LTC2497=y +CONFIG_NEWHAVEN_LCD=y + +CONFIG_DMADEVICES=y +CONFIG_PL330_DMA=y +CONFIG_CMA=y +CONFIG_DMA_CMA=y + +CONFIG_ALTERA_SYSID=m +CONFIG_ALTERA_ILC=m + +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y + +CONFIG_INTEL_STRATIX10_RSU=y + +CONFIG_RAS=y +CONFIG_EDAC=y +CONFIG_EDAC_ALTERA=y +CONFIG_EDAC_ALTERA_SDRAM=y +CONFIG_EDAC_ALTERA_ARM64_WARM_RESET=y + +CONFIG_MFD_ALTERA_SYSMGR=y + +CONFIG_CRYPTO_DEV_INTEL_FCS=m + +CONFIG_FB=y +CONFIG_FB_ALTERA_VIP_FB2_PLAT=m +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y diff --git a/bsp/intel-socfpga/intel-socfpga-64.scc b/bsp/intel-socfpga/intel-socfpga-64.scc new file mode 100644 index 000000000000..172411b8312b --- /dev/null +++ b/bsp/intel-socfpga/intel-socfpga-64.scc @@ -0,0 +1,7 @@ +kconf hardware intel-socfpga-64.cfg + +include cfg/usb-mass-storage.scc +include features/profiling/profiling.scc +# enable the ability to run 32 bit apps +include arch/arm/32bit-compat.scc +include cfg/fs/flash_fs.scc -- 2.40.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12680): https://lists.yoctoproject.org/g/linux-yocto/message/12680 Mute This Topic: https://lists.yoctoproject.org/mt/99268267/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-