blob: c93d70ddf1a61ba2f2a8cc1cc25a3b3d2c1ad083 [file] [log] [blame]
Fabien Parente5c1e622021-02-15 19:21:12 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration for MT8183 based boards
4 *
5 * Copyright (C) 2021 BayLibre, SAS
6 * Author: Fabien Parent <fparent@baylibre.com
7 */
8
9#ifndef __MT8183_H
10#define __MT8183_H
11
12#include <linux/sizes.h>
13
Fabien Parente5c1e622021-02-15 19:21:12 +010014
15#define CONFIG_SYS_NS16550_SERIAL
16#define CONFIG_SYS_NS16550_REG_SIZE -4
17#define CONFIG_SYS_NS16550_MEM32
18#define CONFIG_SYS_NS16550_COM1 0x11005200
19#define CONFIG_SYS_NS16550_CLK 26000000
20
Fabien Parente5c1e622021-02-15 19:21:12 +010021/* Environment settings */
22#include <config_distro_bootcmd.h>
23
24#define BOOT_TARGET_DEVICES(func) \
25 func(MMC, mmc, 0)
26
27#define CONFIG_EXTRA_ENV_SETTINGS \
28 "scriptaddr=0x40000000\0" \
29 BOOTENV
30
31#endif