blob: 8a82402ec159f164b9c579ad351dbac0983d9d8b [file] [log] [blame]
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +05301/*
2 * Copyright (C) 2014 Samsung Electronics
3 *
4 * Configuration settings for the SAMSUNG/GOOGLE PEACH-PI board.
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#ifndef __CONFIG_PEACH_PI_H
10#define __CONFIG_PEACH_PI_H
11
12#define CONFIG_ENV_IS_IN_SPI_FLASH
13#define CONFIG_SPI_FLASH
14#define CONFIG_ENV_SPI_BASE 0x12D30000
15#define FLASH_SIZE (0x4 << 20)
16#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE)
17
18#include <configs/exynos5420-common.h>
19#include <configs/exynos5-dt-common.h>
20
21#define CONFIG_BOARD_COMMON
22
23/* select serial console configuration */
24#define CONFIG_SERIAL3 /* use SERIAL 3 */
25
26#define CONFIG_SYS_PROMPT "Peach-Pi # "
27#define CONFIG_IDENT_STRING " for Peach-Pi"
28
29#define CONFIG_VIDEO_PARADE
30
31/* Display */
32#define CONFIG_LCD
33#ifdef CONFIG_LCD
34#define CONFIG_EXYNOS_FB
35#define CONFIG_EXYNOS_DP
36#define LCD_BPP LCD_COLOR16
37#endif
38
39#define CONFIG_POWER_TPS65090_EC
40#define CONFIG_CROS_EC_SPI /* Support CROS_EC over SPI */
41#define CONFIG_DM_CROS_EC
42
43#define CONFIG_USB_XHCI
44#define CONFIG_USB_XHCI_EXYNOS
45
Akshay Saraswat926aa812014-11-13 22:38:19 +053046/* DRAM Memory Banks */
47#define CONFIG_NR_DRAM_BANKS 7
48#define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */
49
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +053050#endif /* __CONFIG_PEACH_PI_H */