]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/include/asm/arch-exynos/system.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / include / asm / arch-exynos / system.h
1 /*
2 * (C) Copyright 2012 Samsung Electronics
3 * Donghwa Lee <dh09.lee@samsung.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8 #ifndef __ASM_ARM_ARCH_SYSTEM_H_
9 #define __ASM_ARM_ARCH_SYSTEM_H_
10
11 #ifndef __ASSEMBLY__
12 struct exynos4_sysreg {
13 unsigned char res1[0x210];
14 unsigned int display_ctrl;
15 unsigned int display_ctrl2;
16 unsigned int camera_control;
17 unsigned int audio_endian;
18 unsigned int jtag_con;
19 };
20
21 struct exynos5_sysreg {
22 unsigned char res1[0x214];
23 unsigned int disp1blk_cfg;
24 unsigned int disp2blk_cfg;
25 unsigned int hdcp_e_fuse;
26 unsigned int gsclblk_cfg0;
27 unsigned int gsclblk_cfg1;
28 unsigned int reserved;
29 unsigned int ispblk_cfg;
30 unsigned int usb20phy_cfg;
31 unsigned char res2[0x29c];
32 unsigned int mipi_dphy;
33 unsigned int dptx_dphy;
34 unsigned int phyclk_sel;
35 };
36 #endif
37
38 #define USB20_PHY_CFG_HOST_LINK_EN (1 << 0)
39
40 void set_usbhost_mode(unsigned int mode);
41 void set_system_display_ctrl(void);
42
43 #endif /* _EXYNOS4_SYSTEM_H */