diff options
Diffstat (limited to 'recipes-kernel/linux/config/xilinx-common/bsp/xilinx')
18 files changed, 352 insertions, 0 deletions
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg new file mode 100644 index 00000000..f762d461 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg @@ -0,0 +1,39 @@ +# Common Board Drivers + +# CONFIG_LEGACY_PTYS is not set + +# Ethernet PHYs +CONFIG_PHYLIB=y +CONFIG_MARVELL_PHY=y +CONFIG_VITESSE_PHY=y + +# I2C +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_MUX_PCA954x=y + +# EEPROM +CONFIG_EEPROM_AT24=y +CONFIG_EEPROM_AT25=y + +# MTD +CONFIG_MTD=y +CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_M25P80=y +CONFIG_MTD_CFI=y +CONFIG_MTD_CFI_AMDSTD=y + +# Hardware monitors +CONFIG_PMBUS=y +CONFIG_SENSORS_PMBUS=y +CONFIG_REGULATOR=y +CONFIG_SENSORS_UCD9000=y +CONFIG_SENSORS_UCD9200=y + +# RTC drivers +CONFIG_RTC_DRV_PCF8563=y + +# SI570 I2C Device +CONFIG_COMMON_CLK_SI570=y + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc new file mode 100644 index 00000000..6f1cd26c --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "Xilinx Common Board Drivers" +define KFEATURE_COMPATIBILITY board + +kconfig hardware board-common.cfg + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg new file mode 100644 index 00000000..903b4c50 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg @@ -0,0 +1,7 @@ + +# Device tree +CONFIG_PROC_DEVICETREE=y + +# Debug +CONFIG_PRINTK_TIME=y + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc new file mode 100644 index 00000000..3f29390e --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc @@ -0,0 +1,14 @@ +define KFEATURE_DESCRIPTION "Xilinx Common BSP fragments" +define KFEATURE_COMPATIBILITY board + +kconfig hardware common.cfg + +include features/scsi/scsi.scc +include features/scsi/scsi-generic.scc +include features/scsi/disk.scc + +include features/mtd/mtd.scc +include features/uio/uio.scc + +include cfg/fs/debugfs.scc + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/microblaze-standard.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/microblaze-standard.scc new file mode 100644 index 00000000..170489d4 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/microblaze-standard.scc @@ -0,0 +1,14 @@ +define KMACHINE microblaze +define KTYPE standard +define KARCH microblaze + +include ktypes/standard/standard.scc + +include bsp/xilinx/soc/microblaze.scc + +# Common board drivers +include bsp/xilinx/board-common.scc + +# default policy for standard kernels +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc 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 + diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/zynq-standard.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/zynq-standard.scc new file mode 100644 index 00000000..f952f080 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/zynq-standard.scc @@ -0,0 +1,14 @@ +define KMACHINE zynq +define KTYPE standard +define KARCH arm + +include ktypes/standard/standard.scc + +include bsp/xilinx/soc/zynq.scc + +# Common board drivers +include bsp/xilinx/board-common.scc + +# default policy for standard kernels +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/zynqmp-standard.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/zynqmp-standard.scc new file mode 100644 index 00000000..bc4f6e8b --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/zynqmp-standard.scc @@ -0,0 +1,14 @@ +define KMACHINE zynqmp +define KTYPE standard +define KARCH arm64 + +include ktypes/standard/standard.scc + +include bsp/xilinx/soc/zynqmp.scc + +# Common board drivers +include bsp/xilinx/board-common.scc + +# default policy for standard kernels +#include features/latencytop/latencytop.scc +#include features/profiling/profiling.scc |