diff options
Diffstat (limited to 'recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc')
11 files changed, 245 insertions, 0 deletions
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/disable-macb.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/disable-macb.cfg new file mode 100644 index 00000000..536c8e0d --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/disable-macb.cfg @@ -0,0 +1,2 @@ +CONFIG_MACB=n + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/disable-macb.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/disable-macb.scc new file mode 100644 index 00000000..e44196bc --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/disable-macb.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "Disable the MACB Ethernet Driver" +define KFEATURE_COMPATIBILITY board + +kconfig hardware disable-macb.cfg + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/microblaze.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/microblaze.cfg new file mode 100644 index 00000000..464f945b --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/microblaze.cfg @@ -0,0 +1,31 @@ + +# Arch Feature Selections +CONFIG_MMU=y + +# Default Arch Configuration +CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1 +CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1 +CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1 +CONFIG_XILINX_MICROBLAZE0_USE_DIV=0 +CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=0 +CONFIG_XILINX_MICROBLAZE0_USE_FPU=0 + +# Memory +CONFIG_HIGHMEM=y + +# OF Scan serial devices +CONFIG_SERIAL_OF_PLATFORM=y + +# Xilinx SYSACE (MicroBlaze only) +CONFIG_XILINX_SYSACE=y + +# Xilinx HW-ICAP (MicroBlaze only) +CONFIG_XILINX_HWICAP=y + +# Disable VT (Non-Functional with MicroBlaze) +CONFIG_VT=n +# Disable FTRACE, does not work with MicroBlaze +CONFIG_FTRACE=n +# Not supported on MicroBlaze +CONFIG_SERIO_I8042=n + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/microblaze.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/microblaze.scc new file mode 100644 index 00000000..f5c10386 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/microblaze.scc @@ -0,0 +1,6 @@ +include arch/microblaze/microblaze.scc + +kconf hardware microblaze.cfg +include bsp/xilinx/common.scc +include bsp/xilinx/soc/xilinx-drivers.scc + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/xilinx-drivers.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/xilinx-drivers.cfg new file mode 100644 index 00000000..fc53f3d1 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/xilinx-drivers.cfg @@ -0,0 +1,41 @@ + +# Serial/UART +CONFIG_SERIAL=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_UARTLITE=y +CONFIG_SERIAL_UARTLITE_CONSOLE=y + +# DMA +CONFIG_DMADEVICES=y +CONFIG_XILINX_VDMA=y + +# Watchdog +CONFIG_WATCHDOG=y +CONFIG_XILINX_WATCHDOG=y + +# Ethernet +CONFIG_XILINX_EMACLITE=y +CONFIG_XILINX_AXI_EMAC=y + +# GPIO +CONFIG_GPIOLIB=y +CONFIG_OF_GPIO=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_XILINX=y + +# I2C +CONFIG_I2C=y +CONFIG_I2C_XILINX=y + +# SPI +CONFIG_SPI=y +CONFIG_SPI_XILINX=y + +# Xilinx XADC +CONFIG_IIO=y +CONFIG_XILINX_XADC=y + +# Xilinx AXI USB2 Device +CONFIG_USB_GADGET_XILINX=y + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/xilinx-drivers.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/xilinx-drivers.scc new file mode 100644 index 00000000..fe6b6103 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/xilinx-drivers.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "Xilinx Soft IP Core Drivers" +define KFEATURE_COMPATIBILITY board + +kconfig hardware xilinx-drivers.cfg + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq.cfg new file mode 100644 index 00000000..808ec20a --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq.cfg @@ -0,0 +1,47 @@ + +# Arch Feature Selections +CONFIG_ARCH_VEXPRESS=y +CONFIG_ARCH_ZYNQ=y +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_AEABI=y + +# CPU Erratas +CONFIG_ARM_ERRATA_754322=y +CONFIG_ARM_ERRATA_754327=y +CONFIG_ARM_ERRATA_764369=y +CONFIG_ARM_ERRATA_775420=y + +# SMP +CONFIG_SMP=y +CONFIG_SCHED_MC=y +CONFIG_SCHED_SMT=y + +# Memory +CONFIG_HIGHMEM=y + +# Power management +CONFIG_PM_RUNTIME=y + +# Thermal +CONFIG_THERMAL=y +CONFIG_CPU_THERMAL=y + +# CPU Frequency +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT_DETAILS=y +CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_GENERIC_CPUFREQ_CPU0=y +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_ZYNQ=y +CONFIG_ARM_ZYNQ_CPUIDLE=y + +# EDAC +CONFIG_EDAC=y +CONFIG_EDAC_MM_EDAC=y +CONFIG_EDAC_ZYNQ=y + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq.scc new file mode 100644 index 00000000..345cdc9c --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq.scc @@ -0,0 +1,10 @@ + +kconf hardware zynq.cfg +kconf hardware zynq7-drivers.cfg +include bsp/xilinx/soc/xilinx-drivers.scc +include bsp/xilinx/common.scc + +include cfg/timer/no_hz.scc +include cfg/usb-mass-storage.scc +include features/blk/dev-ram-32mb.scc + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7-drivers.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7-drivers.cfg new file mode 100644 index 00000000..4ddf9db2 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7-drivers.cfg @@ -0,0 +1,73 @@ + +# UART +CONFIG_SERIAL_XILINX_PS_UART=y +CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y + +# SRAM +CONFIG_SRAM=y + +# DMA +CONFIG_DMADEVICES=y +CONFIG_PL330_DMA=y + +# PL310 +CONFIG_PL310_ERRATA_588369=y +CONFIG_PL310_ERRATA_727915=y +CONFIG_PL310_ERRATA_769419=y + +# Devcfg +CONFIG_XILINX_DEVCFG=y + +# Watchdog +CONFIG_WATCHDOG=y +CONFIG_CADENCE_WATCHDOG=y + +# Ethernet +CONFIG_MACB=y +CONFIG_XILINX_PS_EMAC=y + +# GPIO +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_ZYNQ=y + +# I2C +CONFIG_I2C=y +CONFIG_I2C_CADENCE=y + +# SPI +CONFIG_SPI=y +CONFIG_SPI_CADENCE=y +CONFIG_SPI_ZYNQ_QSPI=y + +# CAN +CONFIG_CAN=y +CONFIG_CAN_XILINXCAN=y + +# MMC/SD +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_OF_ARASAN=y + +# NAND +CONFIG_MTD_NAND_PL353=y + +# USB +CONFIG_USB=y +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_UDC=y +CONFIG_USB_CHIPIDEA_HOST=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_USB_OTG=y +CONFIG_USB_GADGET=y + +# USB (+otg) +CONFIG_USB=y +CONFIG_USB_ZYNQ=y +CONFIG_USB_ZYNQ_PHY=y +CONFIG_USB_ZYNQ_ERRATA_DT654401=y +CONFIG_USB_ZYNQ_DR_OF=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_ZYNQ=y +CONFIG_USB_GADGET=y + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg new file mode 100644 index 00000000..b9b50088 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg @@ -0,0 +1,14 @@ + +# Arch Feature Selections +CONFIG_ARM64=y +CONFIG_64BIT=y +CONFIG_ARCH_ZYNQMP=y + +# SMP +CONFIG_SMP=y + +CONFIG_SERIAL_XILINX_PS_UART=y +CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y + +CONFIG_MACB=y + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc new file mode 100644 index 00000000..6713767b --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc @@ -0,0 +1,11 @@ +# include arch/arm64/arm64.scc +include cfg/timer/hz_100.scc + +kconf hardware zynqmp.cfg +# include bsp/xilinx/soc/xilinx-drivers.scc +# include bsp/xilinx/soc/zynqmp-ip.scc +include bsp/xilinx/common.scc + +include cfg/timer/no_hz.scc +include cfg/usb-mass-storage.scc + |