Skip to contentSkip to conversation

board: venus: Add basic Venus engr. development board support

PATCH New Alex Nemirovsky 1 participant 1 message Apr 29, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: venus: Add basic Venus engr. development board support

From: Lee Jenfeng <[email protected]>

Add basic Cortina Access Venus engineering board support

---

 arch/arm/Kconfig                     |   5 ++
 arch/arm/dts/Makefile                |   1 +
 arch/arm/dts/ca-venus-engboard.dts   |  69 +++++++++++++++
 board/cortina/venus/Kconfig          |  16 ++++
 board/cortina/venus/MAINTAINERS      |   6 ++
 board/cortina/venus/Makefile         |   8 ++
 board/cortina/venus/lowlevel_init.S  |  65 ++++++++++++++
 board/cortina/venus/venus.c          | 162 +++++++++++++++++++++++++++++++++++
 configs/cortina_venus-base_defconfig |  29 +++++++
 include/configs/venus.h              |  74 ++++++++++++++++
 10 files changed, 435 insertions(+)
 create mode 100644 arch/arm/dts/ca-venus-engboard.dts
 create mode 100644 board/cortina/venus/Kconfig
 create mode 100644 board/cortina/venus/MAINTAINERS
 create mode 100644 board/cortina/venus/Makefile
 create mode 100644 board/cortina/venus/lowlevel_init.S
 create mode 100644 board/cortina/venus/venus.c
 create mode 100644 configs/cortina_venus-base_defconfig
 create mode 100644 include/configs/venus.h
arch/arm/Kconfig +5 -0
index 1bcf345..f2f4ce7 100644
@@ -1677,6 +1677,10 @@ config TARGET_PRESIDIO_ASIC
 	bool "Support Cortina Presidio ASIC Platform"
 	select ARM64
 
+config TARGET_VENUS
+	bool "Support Cortina Venus Platform"
+	select ARM64
+
 endchoice
 
 config ARCH_SUPPORT_TFABOOT
@@ -1826,6 +1830,7 @@ source "board/armadeus/apf27/Kconfig"
 source "board/armltd/vexpress/Kconfig"
 source "board/armltd/vexpress64/Kconfig"
 source "board/cortina/presidio-asic/Kconfig"
+source "board/cortina/venus/Kconfig"
 source "board/broadcom/bcm23550_w1d/Kconfig"
 source "board/broadcom/bcm28155_ap/Kconfig"
 source "board/broadcom/bcm963158/Kconfig"
arch/arm/dts/Makefile +1 -0
index ed47fff..ac32a3c 100644
@@ -925,6 +925,7 @@ dtb-$(CONFIG_TARGET_VEXPRESS_CA15_TC2) += vexpress-v2p-ca15_a7.dtb
 dtb-$(CONFIG_TARGET_DURIAN) += phytium-durian.dtb
 
 dtb-$(CONFIG_TARGET_PRESIDIO_ASIC) += ca-presidio-engboard.dtb
+dtb-$(CONFIG_TARGET_VENUS) += ca-venus-engboard.dtb
 
 targets += $(dtb-y)
 
arch/arm/dts/ca-venus-engboard.dts new file +69 -0

69 lines not on this page · raw message

board/cortina/venus/Kconfig new file +16 -0
new file mode 100644
index 0000000..431bdb7
@@ -0,0 +1,16 @@
+if TARGET_VENUS
+config BIT64
+       bool
+       default y
+
+config SYS_BOARD
+	default "venus"
+
+config SYS_VENDOR
+	default "cortina"
+
+config SYS_CONFIG_NAME
+	default "venus"
+
+source "board/cortina/common/Kconfig"
+endif
board/cortina/venus/MAINTAINERS new file +6 -0
new file mode 100644
index 0000000..854bd4b
@@ -0,0 +1,6 @@
+Cortina Venus ASIC Engineering BOARD
+M:	Alex Nemirovsky <[email protected]>
+S:	Supported
+F:	board/cortina/venus/
+F:	include/configs/venus.h
+F:	configs/cortina_venus*defconfig
board/cortina/venus/Makefile new file +8 -0
new file mode 100644
index 0000000..04e906a
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier:	GPL-2.0+
+#
+# (C) Copyright 2020 Cortina-Access.Inc.
+#
+#
+
+obj-y	:= venus.o
+obj-y	+= lowlevel_init.o
board/cortina/venus/lowlevel_init.S new file +65 -0

65 lines not on this page · raw message

board/cortina/venus/venus.c new file +162 -0

162 lines not on this page · raw message

configs/cortina_venus-base_defconfig new file +29 -0
new file mode 100644
index 0000000..4243cf5
@@ -0,0 +1,29 @@
+CONFIG_ARM=y
+# CONFIG_SYS_ARCH_TIMER is not set
+CONFIG_TARGET_VENUS=y
+CONFIG_SYS_TEXT_BASE=0x04000000
+CONFIG_ENV_SIZE=0x20000
+CONFIG_DM_GPIO=y
+CONFIG_NR_DRAM_BANKS=4
+CONFIG_IDENT_STRING="Venus-SoC"
+CONFIG_SHOW_BOOT_PROGRESS=y
+CONFIG_BOOTDELAY=3
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="earlycon=serial,0xf4329188 console=ttyS0,115200 root=/dev/ram0"
+CONFIG_BOARD_EARLY_INIT_R=y
+CONFIG_SYS_PROMPT="VENUS#"
+CONFIG_CMD_WDT=y
+CONFIG_CMD_CACHE=y
+CONFIG_CMD_TIMER=y
+CONFIG_CMD_SMC=y
+CONFIG_OF_CONTROL=y
+CONFIG_OF_LIVE=y
+CONFIG_DEFAULT_DEVICE_TREE="ca-venus-engboard"
+# CONFIG_NET is not set
+CONFIG_DM=y
+CONFIG_CORTINA_GPIO=y
+# CONFIG_MMC is not set
+CONFIG_DM_SERIAL=y
+CONFIG_CORTINA_UART=y
+CONFIG_WDT=y
+CONFIG_WDT_CORTINA=y
include/configs/venus.h new file +74 -0

74 lines not on this page · raw message

Signature · 1 line
2.7.4