Commit 77ca99d1a0d9fd46046d417b4247edb4e1b05d4e
Committed by
Daniel Schwierzeck
1 parent
6a235bb87b
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
MIPS: add BMIPS Comtrend VR-3032u board
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Showing 9 changed files with 125 additions and 0 deletions Side-by-side Diff
arch/mips/dts/Makefile
... | ... | @@ -9,6 +9,7 @@ |
9 | 9 | dtb-$(CONFIG_TARGET_PIC32MZDASK) += pic32mzda_sk.dtb |
10 | 10 | dtb-$(CONFIG_TARGET_XILFPGA) += nexys4ddr.dtb |
11 | 11 | dtb-$(CONFIG_BOARD_COMTREND_AR5387UN) += comtrend,ar-5387un.dtb |
12 | +dtb-$(CONFIG_BOARD_COMTREND_VR3032U) += comtrend,vr-3032u.dtb | |
12 | 13 | dtb-$(CONFIG_BOARD_HUAWEI_HG556A) += huawei,hg556a.dtb |
13 | 14 | dtb-$(CONFIG_BOARD_TPLINK_WDR4300) += tplink_wdr4300.dtb |
14 | 15 |
arch/mips/dts/comtrend,vr-3032u.dts
1 | +/* | |
2 | + * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> | |
3 | + * | |
4 | + * SPDX-License-Identifier: GPL-2.0+ | |
5 | + */ | |
6 | + | |
7 | +/dts-v1/; | |
8 | + | |
9 | +#include "brcm,bcm63268.dtsi" | |
10 | + | |
11 | +/ { | |
12 | + model = "Comtrend VR-3032u"; | |
13 | + compatible = "comtrend,vr-3032u", "brcm,bcm63268"; | |
14 | + | |
15 | + aliases { | |
16 | + serial0 = &uart0; | |
17 | + }; | |
18 | + | |
19 | + chosen { | |
20 | + stdout-path = "serial0:115200n8"; | |
21 | + }; | |
22 | +}; | |
23 | + | |
24 | +&uart0 { | |
25 | + u-boot,dm-pre-reloc; | |
26 | + status = "okay"; | |
27 | +}; |
arch/mips/mach-bmips/Kconfig
... | ... | @@ -53,6 +53,11 @@ |
53 | 53 | depends on SOC_BMIPS_BCM6328 |
54 | 54 | select BMIPS_SUPPORTS_BOOT_RAM |
55 | 55 | |
56 | +config BOARD_COMTREND_VR3032U | |
57 | + bool "Comtrend VR-3032u board" | |
58 | + depends on SOC_BMIPS_BCM63268 | |
59 | + select BMIPS_SUPPORTS_BOOT_RAM | |
60 | + | |
56 | 61 | config BOARD_HUAWEI_HG556A |
57 | 62 | bool "Huawei EchoLife HG556a" |
58 | 63 | depends on SOC_BMIPS_BCM6358 |
... | ... | @@ -77,6 +82,7 @@ |
77 | 82 | bool |
78 | 83 | |
79 | 84 | source "board/comtrend/ar5387un/Kconfig" |
85 | +source "board/comtrend/vr3032u/Kconfig" | |
80 | 86 | source "board/huawei/hg556a/Kconfig" |
81 | 87 | |
82 | 88 | endmenu |
board/comtrend/vr3032u/Kconfig
board/comtrend/vr3032u/MAINTAINERS
board/comtrend/vr3032u/Makefile
board/comtrend/vr3032u/vr-3032u.c
configs/comtrend_vr3032u_ram_defconfig
1 | +CONFIG_ARCH_BMIPS=y | |
2 | +CONFIG_BAUDRATE=115200 | |
3 | +CONFIG_BCM6345_SERIAL=y | |
4 | +CONFIG_BMIPS_BOOT_RAM=y | |
5 | +CONFIG_BOARD_COMTREND_VR3032U=y | |
6 | +# CONFIG_CMD_BOOTD is not set | |
7 | +CONFIG_CMD_BOOTM=y | |
8 | +CONFIG_CMD_CPU=y | |
9 | +# CONFIG_CMD_CRC32 is not set | |
10 | +# CONFIG_CMD_EDITENV is not set | |
11 | +# CONFIG_CMD_ELF is not set | |
12 | +# CONFIG_CMD_ENV_EXISTS is not set | |
13 | +# CONFIG_CMD_EXPORTENV is not set | |
14 | +# CONFIG_CMD_FLASH is not set | |
15 | +# CONFIG_CMD_FPGA is not set | |
16 | +# CONFIG_CMD_GPIO is not set | |
17 | +# CONFIG_CMD_IMLS is not set | |
18 | +# CONFIG_CMD_IMPORTENV is not set | |
19 | +CONFIG_CMD_LICENSE=y | |
20 | +CONFIG_CMD_LOADB=y | |
21 | +# CONFIG_CMD_LOADS is not set | |
22 | +CONFIG_CMD_MEMINFO=y | |
23 | +# CONFIG_CMD_MISC is not set | |
24 | +# CONFIG_CMD_NET is not set | |
25 | +# CONFIG_CMD_NFS is not set | |
26 | +# CONFIG_CMD_SAVEENV is not set | |
27 | +# CONFIG_CMD_XIMG is not set | |
28 | +CONFIG_DEFAULT_DEVICE_TREE="comtrend,vr-3032u" | |
29 | +CONFIG_DISPLAY_CPUINFO=y | |
30 | +# CONFIG_DM_DEVICE_REMOVE is not set | |
31 | +CONFIG_DM_GPIO=y | |
32 | +CONFIG_DM_SERIAL=y | |
33 | +CONFIG_HUSH_PARSER=y | |
34 | +CONFIG_MIPS=y | |
35 | +# CONFIG_MIPS_BOOT_CMDLINE_LEGACY is not set | |
36 | +# CONFIG_MIPS_BOOT_ENV_LEGACY is not set | |
37 | +CONFIG_MIPS_BOOT_FDT=y | |
38 | +CONFIG_OF_STDOUT_VIA_ALIAS=y | |
39 | +CONFIG_SOC_BMIPS_BCM63268=y | |
40 | +# CONFIG_SPL_SERIAL_PRESENT is not set | |
41 | +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set | |
42 | +CONFIG_SYS_NO_FLASH=y | |
43 | +CONFIG_SYS_PROMPT="VR-3032u # " | |
44 | +CONFIG_SYS_TEXT_BASE=0x80010000 |
include/configs/comtrend_vr3032u.h
1 | +/* | |
2 | + * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> | |
3 | + * | |
4 | + * SPDX-License-Identifier: GPL-2.0+ | |
5 | + */ | |
6 | + | |
7 | +#include <configs/bmips_common.h> | |
8 | +#include <configs/bmips_bcm63268.h> | |
9 | + | |
10 | +#define CONFIG_REMAKE_ELF | |
11 | + | |
12 | +#define CONFIG_ENV_IS_NOWHERE | |
13 | +#define CONFIG_ENV_SIZE (8 * 1024) | |
14 | + | |
15 | +#define CONFIG_AUTO_COMPLETE | |
16 | +#define CONFIG_CMDLINE_EDITING | |
17 | +#define CONFIG_SYS_LONGHELP |