coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cpu.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef CPU_SAMSUNG_EXYNOS5250_CPU_H
4 #define CPU_SAMSUNG_EXYNOS5250_CPU_H
5 
7 #include <symbols.h>
8 
9 /* Base address registers */
10 #define EXYNOS5_GPIO_PART6_BASE 0x03860000 /* Z<6:0> */
11 #define EXYNOS5_PRO_ID 0x10000000
12 #define EXYNOS5_CLOCK_BASE 0x10010000
13 #define EXYNOS5_POWER_BASE 0x10040000
14 #define EXYNOS5_SYSREG_BASE 0x10050000
15 #define EXYNOS5_TZPC1_DECPROT1SET 0x10110810
16 #define EXYNOS5_MULTI_CORE_TIMER_BASE 0x101C0000
17 #define EXYNOS5_WATCHDOG_BASE 0x101D0000
18 #define EXYNOS5_ACE_SFR_BASE 0x10830000
19 #define EXYNOS5_DMC_PHY0_BASE 0x10C00000
20 #define EXYNOS5_DMC_PHY1_BASE 0x10C10000
21 #define EXYNOS5_GPIO_PART4_BASE 0x10D10000 /* V00..V37 */
22 #define EXYNOS5_GPIO_PART5_BASE 0x10D100C0 /* V40..V47 */
23 #define EXYNOS5_DMC_CTRL_BASE 0x10DD0000
24 #define EXYNOS5_GPIO_PART1_BASE 0x11400000 /* A00..Y67 */
25 #define EXYNOS5_GPIO_PART2_BASE 0x11400c00 /* X00..X37 */
26 #define EXYNOS5_USB_DRD_XHCI_BASE 0x12000000
27 #define EXYNOS5_USB_DRD_PHY_BASE 0x12100000
28 #define EXYNOS5_USB_DRD_DWC3_BASE 0x1200C100
29 #define EXYNOS5_USB_HOST_EHCI_BASE 0x12110000
30 #define EXYNOS5_USB_HOST_PHY_BASE 0x12130000
31 #define EXYNOS5_MMC_BASE 0x12200000
32 #define EXYNOS5_MSHC_BASE 0x12240000
33 #define EXYNOS5_SROMC_BASE 0x12250000
34 #define EXYNOS5_UART0_BASE 0x12C00000
35 #define EXYNOS5_UART1_BASE 0x12C10000
36 #define EXYNOS5_UART2_BASE 0x12C20000
37 #define EXYNOS5_UART3_BASE 0x12C30000
38 #define EXYNOS5_I2C_BASE 0x12C60000
39 #define EXYNOS5_SPI0_BASE 0x12D20000
40 #define EXYNOS5_SPI1_BASE 0x12D30000
41 #define EXYNOS5_I2S_BASE 0x12D60000
42 #define EXYNOS5_UART_ISP_BASE 0x13190000
43 #define EXYNOS5_SPI_ISP_BASE 0x131A0000
44 #define EXYNOS5_GPIO_PART3_BASE 0x13400000 /* E00..H17 */
45 #define EXYNOS5_FIMD_BASE 0x14400000
46 #define EXYNOS5_DISP1_CTRL_BASE 0x14420000
47 #define EXYNOS5_MIPI_DSI1_BASE 0x14500000
48 #define EXYNOS5_DP0_BASE 0x14510000
49 #define EXYNOS5_DP1_BASE 0x145B0000
50 
51 /* Marker values stored at the bottom of IRAM stack by SPL */
52 #define EXYNOS5_SPL_MARKER 0xb004f1a9 /* hexspeak word: bootflag */
53 
54 #define EXYNOS5_SPI_NUM_CONTROLLERS 5
55 #define EXYNOS_I2C_MAX_CONTROLLERS 8
56 
58 
59 extern struct tmu_info exynos5250_tmu_info;
60 
61 /* TODO clean up defines. */
62 #define FB_SIZE_KB 4096
63 #define RAM_BASE_KB ((uintptr_t)_dram/KiB)
64 #define RAM_SIZE_KB (CONFIG_DRAM_SIZE_MB << 10UL)
65 
66 static inline u32 get_fb_base_kb(void)
67 {
69 }
70 
71 #endif /* CPU_SAMSUNG_EXYNOS5250_CPU_H */
void exynos5250_config_l2_cache(void)
Definition: cpu.c:135
#define RAM_BASE_KB
Definition: cpu.h:63
#define RAM_SIZE_KB
Definition: cpu.h:64
static u32 get_fb_base_kb(void)
Definition: cpu.h:66
#define FB_SIZE_KB
Definition: cpu.h:62
struct tmu_info exynos5250_tmu_info
Definition: tmu.c:33
uint32_t u32
Definition: stdint.h:51
Definition: tmu.h:81