blob: 87e2251777cbd20871ca59db7e92d2c3eab48eee [file] [log] [blame]
developerf4a079c2018-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 */
developerf4a079c2018-11-15 10:07:52 +080015
developerf4a079c2018-11-15 10:07:52 +080016#define CONFIG_SYS_BOOTM_LEN SZ_64M
developerf4a079c2018-11-15 10:07:52 +080017
developerb8de3ee2018-12-20 16:12:57 +080018#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
developerf4a079c2018-11-15 10:07:52 +080019
20/* Environment */
developerf4a079c2018-11-15 10:07:52 +080021
22/* Defines for SPL */
developerf4a079c2018-11-15 10:07:52 +080023
24#define CONFIG_SPI_ADDR 0x30000000
developerf4a079c2018-11-15 10:07:52 +080025#define CONFIG_SYS_UBOOT_BASE (CONFIG_SPI_ADDR + CONFIG_SPL_PAD_TO)
26
27/* SPL -> Uboot */
developerf4a079c2018-11-15 10:07:52 +080028
29/* UBoot -> Kernel */
developerf4a079c2018-11-15 10:07:52 +080030
31/* DRAM */
32#define CONFIG_SYS_SDRAM_BASE 0x40000000
33
developerb8de3ee2018-12-20 16:12:57 +080034/* Ethernet */
35#define CONFIG_IPADDR 192.168.1.1
36#define CONFIG_SERVERIP 192.168.1.2
37
developerf4a079c2018-11-15 10:07:52 +080038#endif