blob: 22d11d014761c33550aff51860481def810b4e0a [file] [log] [blame]
Ryder Leecbd2fba2018-11-15 10:07:52 +08001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Configuration for MediaTek MT7629 SoC
4 *
5 * Copyright (C) 2018 MediaTek Inc.
6 * Author: Ryder Lee <ryder.lee@mediatek.com>
7 */
8
9#ifndef __MT7629_H
10#define __MT7629_H
11
12#include <linux/sizes.h>
13
14/* Miscellaneous configurable options */
Ryder Leecbd2fba2018-11-15 10:07:52 +080015
Weijie Gaod7fe0ad2018-12-20 16:12:57 +080016#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
Ryder Leecbd2fba2018-11-15 10:07:52 +080017
18/* Environment */
Ryder Leecbd2fba2018-11-15 10:07:52 +080019
20/* Defines for SPL */
Ryder Leecbd2fba2018-11-15 10:07:52 +080021
22#define CONFIG_SPI_ADDR 0x30000000
Ryder Leecbd2fba2018-11-15 10:07:52 +080023#define CONFIG_SYS_UBOOT_BASE (CONFIG_SPI_ADDR + CONFIG_SPL_PAD_TO)
24
25/* SPL -> Uboot */
Ryder Leecbd2fba2018-11-15 10:07:52 +080026
27/* UBoot -> Kernel */
Ryder Leecbd2fba2018-11-15 10:07:52 +080028
29/* DRAM */
30#define CONFIG_SYS_SDRAM_BASE 0x40000000
31
Weijie Gaod7fe0ad2018-12-20 16:12:57 +080032/* Ethernet */
33#define CONFIG_IPADDR 192.168.1.1
34#define CONFIG_SERVERIP 192.168.1.2
35
Ryder Leecbd2fba2018-11-15 10:07:52 +080036#endif