cf52a6d0f06305d39ff3b8353835a5939b238301
[platform/kernel/u-boot.git] / include / configs / nsa310s.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2015, 2021 Tony Dinh <mibodhi@gmail.com>
4  * Copyright (C) 2015
5  * Gerald Kerma <dreagle@doukki.net>
6  * Luka Perkov <luka.perkov@sartura.hr>
7  */
8
9 #ifndef _CONFIG_NSA310S_H
10 #define _CONFIG_NSA310S_H
11
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 */
16
17 #include "mv-common.h"
18
19 /* environment variables configuration */
20
21 /* default environment variables */
22
23 #define CONFIG_EXTRA_ENV_SETTINGS \
24         "console=console=ttyS0,115200\0" \
25         "mtdids=nand0=orion_nand\0" \
26         "mtdparts="CONFIG_MTDPARTS_DEFAULT \
27         "kernel=/boot/zImage\0" \
28         "fdt=/boot/nsa310s.dtb\0" \
29         "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0"
30
31 /* Ethernet driver configuration */
32 #ifdef CONFIG_CMD_NET
33 #define CONFIG_MVGBE_PORTS      {1, 0}  /* enable port 0 only */
34 #define CONFIG_PHY_BASE_ADR     1
35 #define CONFIG_RESET_PHY_R
36 #endif /* CONFIG_CMD_NET */
37
38 /* SATA driver configuration */
39 #ifdef CONFIG_SATA
40 #define CONFIG_SYS_SATA_MAX_DEVICE      1
41 #define CONFIG_LBA48
42 #endif /* CONFIG_SATA */
43
44 /* RTC driver configuration */
45 #ifdef CONFIG_CMD_DATE
46 #define CONFIG_RTC_MV
47 #endif /* CONFIG_CMD_DATE */
48
49 #endif /* _CONFIG_NSA310S_H */