summaryrefslogtreecommitdiff
path: root/boards/arm/planck/Kconfig.defconfig
diff options
context:
space:
mode:
Diffstat (limited to 'boards/arm/planck/Kconfig.defconfig')
-rw-r--r--boards/arm/planck/Kconfig.defconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/boards/arm/planck/Kconfig.defconfig b/boards/arm/planck/Kconfig.defconfig
new file mode 100644
index 0000000..3ccd178
--- /dev/null
+++ b/boards/arm/planck/Kconfig.defconfig
@@ -0,0 +1,39 @@
+# Planck keyboard configuration
+
+# Copyright (c) 2017 I-SENSE group of ICCS
+# SPDX-License-Identifier: Apache-2.0
+
+if BOARD_PLANCK_REV6
+
+config BOARD
+ default "planck_rev6"
+
+config UART_1
+ default y
+ depends on UART_CONSOLE
+
+if I2C
+
+config I2C_1
+ default y
+
+config I2C_2
+ default y
+
+endif # I2C
+
+if SPI
+
+config SPI_1
+ default y
+
+config SPI_2
+ default y
+
+endif # SPI
+
+config CAN_1
+ default y
+ depends on CAN
+
+endif # BOARD_PLANCK_REV6