1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2015, 2021 Tony Dinh <mibodhi@gmail.com>
5 * Gerald Kerma <dreagle@doukki.net>
6 * Luka Perkov <luka.perkov@sartura.hr>
9 #ifndef _CONFIG_NSA310S_H
10 #define _CONFIG_NSA310S_H
12 /* high level configuration options */
13 #define CONFIG_FEROCEON_88FR131 1 /* CPU Core subversion */
14 #define CONFIG_KW88F6192 1 /* SOC Name */
15 #define CONFIG_KW88F6702 1 /* SOC Name */
17 #include "mv-common.h"
19 /* environment variables configuration */
21 /* default environment variables */
22 #define CONFIG_BOOTCOMMAND \
23 "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
25 "ubifsmount ubi:rootfs; " \
26 "ubifsload 0x800000 ${kernel}; " \
27 "ubifsload 0x700000 ${fdt}; " \
29 "fdt addr 0x700000; fdt resize; fdt chosen; " \
30 "bootz 0x800000 - 0x700000"
32 #define CONFIG_EXTRA_ENV_SETTINGS \
33 "console=console=ttyS0,115200\0" \
34 "mtdids=nand0=orion_nand\0" \
35 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
36 "kernel=/boot/zImage\0" \
37 "fdt=/boot/nsa310s.dtb\0" \
38 "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0"
40 /* Ethernet driver configuration */
42 #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
43 #define CONFIG_PHY_BASE_ADR 1
44 #define CONFIG_RESET_PHY_R
45 #endif /* CONFIG_CMD_NET */
47 /* SATA driver configuration */
49 #define CONFIG_SYS_SATA_MAX_DEVICE 1
51 #endif /* CONFIG_SATA */
53 /* RTC driver configuration */
54 #ifdef CONFIG_CMD_DATE
56 #endif /* CONFIG_CMD_DATE */
58 #endif /* _CONFIG_NSA310S_H */