summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/config/socfpga-base/features/altera
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/config/socfpga-base/features/altera')
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.cfg40
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.scc5
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.cfg3
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.scc5
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/board-common.cfg27
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/board-common.scc5
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-arm.cfg13
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.cfg111
-rw-r--r--recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.scc5
9 files changed, 214 insertions, 0 deletions
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.cfg b/recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.cfg
new file mode 100644
index 0000000..c16f049
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.cfg
@@ -0,0 +1,40 @@
1
2# Serial/UART
3CONFIG_SERIAL_ALTERA_JTAGUART=m
4CONFIG_SERIAL_ALTERA_UART=m
5CONFIG_SERIAL_ALTERA_UART_MAXPORTS=4
6CONFIG_SERIAL_ALTERA_UART_BAUDRATE=115200
7
8# Watchdog
9CONFIG_WATCHDOG=y
10
11# Ethernet
12CONFIG_ALTERA_TSE=m
13
14# GPIO
15CONFIG_GPIOLIB=y
16CONFIG_OF_GPIO=y
17CONFIG_GPIO_SYSFS=y
18CONFIG_GPIO_ALTERA=m
19
20# SPI
21CONFIG_SPI=y
22CONFIG_SPI_ALTERA=m
23CONFIG_SPI_BITBANG=m
24
25# Video
26CONFIG_FB=y
27CONFIG_FB_CFB_FILLRECT=m
28CONFIG_FB_CFB_COPYAREA=m
29CONFIG_FB_CFB_IMAGEBLIT=m
30CONFIG_FB_ALTERA_VIP=m
31
32# Mailbox
33CONFIG_MAILBOX=y
34CONFIG_ALTERA_MBOX=m
35
36# Misc
37CONFIG_ALTERA_HWMUTEX=m
38CONFIG_ALTERA_SYSID=m
39CONFIG_ALTERA_ILC=m
40
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.scc b/recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.scc
new file mode 100644
index 0000000..42ae19c
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/altera-ip.scc
@@ -0,0 +1,5 @@
1define KFEATURE_DESCRIPTION "Altera Soft IP Core Drivers/Support"
2define KFEATURE_COMPATIBILITY board
3
4kconfig hardware altera-ip.cfg
5
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.cfg b/recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.cfg
new file mode 100644
index 0000000..5f9fecb
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.cfg
@@ -0,0 +1,3 @@
1CONFIG_FPGA_MGR_SOCFPGA_A10=y
2CONFIG_GPIO_A10SYCON=y
3CONFIG_SENSORS_A10SYCON=y
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.scc b/recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.scc
new file mode 100644
index 0000000..0e82bfa
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/arria10-ip.scc
@@ -0,0 +1,5 @@
1define KFEATURE_DESCRIPTION "Altera 20nm SoC IP Core Drivers/Support"
2define KFEATURE_COMPATIBILITY board
3
4kconfig hardware arria10-ip.cfg
5
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/board-common.cfg b/recipes-kernel/linux/config/socfpga-base/features/altera/board-common.cfg
new file mode 100644
index 0000000..c5a989d
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/board-common.cfg
@@ -0,0 +1,27 @@
1# Ethernet PHYs
2CONFIG_PHYLIB=y
3CONFIG_MARVELL_PHY=y
4CONFIG_MICREL_PHY=y
5
6# EEPROM
7CONFIG_EEPROM_AT24=y
8
9# MTD
10CONFIG_MTD=y
11CONFIG_MTD_OF_PARTS=y
12
13# RTC drivers
14CONFIG_RTC_DRV_DS1307=y
15
16CONFIG_NEWHAVEN_LCD=y
17
18CONFIG_PMBUS=y
19CONFIG_SENSORS_LTC2978=y
20
21CONFIG_MTD_M25P80=y
22CONFIG_M25PXX_USE_FAST_READ=y
23
24CONFIG_SENSORS_MAX1619=y
25
26CONFIG_I2C_CHARDEV=y
27CONFIG_SPI_SPIDEV=y
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/board-common.scc b/recipes-kernel/linux/config/socfpga-base/features/altera/board-common.scc
new file mode 100644
index 0000000..15d070c
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/board-common.scc
@@ -0,0 +1,5 @@
1define KFEATURE_DESCRIPTION "Evaluation Board Common Drivers"
2define KFEATURE_COMPATIBILITY board
3
4kconfig hardware board-common.cfg
5
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-arm.cfg b/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-arm.cfg
new file mode 100644
index 0000000..50ddab8
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-arm.cfg
@@ -0,0 +1,13 @@
1# ARM
2CONFIG_ARCH_SOCFPGA=y
3CONFIG_ARM_THUMBEE=y
4CONFIG_SWP_EMULATE=y
5CONFIG_ARM_CPU_TOPOLOGY=y
6
7CONFIG_VFP=y
8CONFIG_VFPv3=y
9CONFIG_NEON=y
10
11CONFIG_AEABI=y
12CONFIG_OABI_COMPAT=y
13
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.cfg b/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.cfg
new file mode 100644
index 0000000..e7ee368
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.cfg
@@ -0,0 +1,111 @@
1# FPGA BRIDGE - done
2CONFIG_FPGA_BRIDGE=y
3CONFIG_ALTERA_SOCFPGA_BRIDGE=y
4
5# FPGA MANAGER - done
6CONFIG_FPGA=y
7CONFIG_FPGA_MGR_ALTERA=y
8
9
10# UART - done
11CONFIG_SERIAL_8250=y
12CONFIG_SERIAL_8250_CONSOLE=y
13CONFIG_SERIAL_8250_NR_UARTS=2
14CONFIG_SERIAL_8250_RUNTIME_UARTS=2
15CONFIG_SERIAL_8250_DW=y
16CONFIG_SERIAL_CORE=y
17CONFIG_SERIAL_CORE_CONSOLE=y
18CONFIG_CONSOLE_POLL=y
19
20# SPI
21CONFIG_SPI=y
22CONFIG_SPI_CADENCE_QSPI=y
23CONFIG_SPI_DESIGNWARE=y
24CONFIG_SPI_DW_MMIO=y
25
26# SRAM
27CONFIG_SRAM=y
28
29# DMA - done
30# CONFIG_DMADEVICES=y
31# CONFIG_PL330_DMA=y
32
33# PL310 - done
34CONFIG_OUTER_CACHE=y
35CONFIG_OUTER_CACHE_SYNC=y
36CONFIG_CACHE_L2X0=y
37CONFIG_CACHE_PL310=y
38
39# Watchdog - done
40CONFIG_WATCHDOG=y
41CONFIG_DW_WATCHDOG=y
42
43# Ethernet - done
44CONFIG_NET_VENDOR_STMICRO=y
45CONFIG_STMMAC_ETH=y
46CONFIG_STMMAC_PLATFORM=y
47CONFIG_STMMAC_DEBUG_FS=y
48CONFIG_STMMAC_RING=y
49CONFIG_FIXED_PHY=y
50
51# GPIO - done
52CONFIG_GPIO_SYSFS=y
53CONFIG_GPIOLIB=y
54CONFIG_OF_GPIO=y
55CONFIG_GPIO_GENERIC=y
56CONFIG_GPIO_DWAPB=y
57
58# I2C - done
59CONFIG_I2C=y
60CONFIG_I2C_DESIGNWARE_CORE=y
61CONFIG_I2C_DESIGNWARE_PLATFORM=y
62
63# CAN - done
64CONFIG_CAN=y
65CONFIG_CAN_C_CAN=y
66CONFIG_CAN_C_CAN_PLATFORM=y
67
68# MMC/SD - done
69CONFIG_MMC=y
70CONFIG_MMC_DW=y
71CONFIG_MMC_DW_IDMAC=y
72CONFIG_MMC_DW_PLTFM=y
73CONFIG_MMC_DW_SOCFPGA=y
74
75# NAND - done
76CONFIG_MTD_NAND=y
77CONFIG_MTD_NAND_ECC=y
78CONFIG_MTD_NAND_DENALI=y
79CONFIG_MTD_NAND_DENALI_DT=y
80CONFIG_MTD_NAND_IDS=y
81
82# USB (+otg) - done
83CONFIG_USB_SUPPORT=y
84CONFIG_USB_COMMON=y
85CONFIG_USB_ARCH_HAS_HCD=y
86CONFIG_USB=y
87CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
88CONFIG_USB_DEFAULT_PERSIST=y
89CONFIG_USB_DWC2_PLATFORM=y
90CONFIG_USB_DWC2=y
91CONFIG_USB_DWC2_DUAL_ROLE=y
92CONFIG_USB_PHY=y
93CONFIG_NOP_USB_XCEIV=y
94
95
96# Timer
97
98# SERIAL
99CONFIG_SERIAL=y
100CONFIG_SERIAL_CONSOLE=y
101CONFIG_SERIAL_8250=y
102CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
103CONFIG_SERIAL_8250_CONSOLE=y
104CONFIG_SERIAL_8250_DMA=y
105CONFIG_SERIAL_8250_NR_UARTS=2
106CONFIG_SERIAL_8250_RUNTIME_UARTS=2
107
108# CAN - done
109CONFIG_CAN=y
110CONFIG_CAN_C_CAN=y
111CONFIG_CAN_C_CAN_PLATFORM=y
diff --git a/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.scc b/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.scc
new file mode 100644
index 0000000..ce889cc
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-base/features/altera/cyclone5_arria5-ip.scc
@@ -0,0 +1,5 @@
1define KFEATURE_DESCRIPTION "Altera 28nm SoC IP Core Drivers/Support"
2define KFEATURE_COMPATIBILITY board
3
4kconfig hardware cyclone5_arria5-ip.cfg
5