1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 /* Register map for Exynos5 sysreg */ 4 5 #ifndef SOC_SAMSUNG_COMMON_INCLUDE_SOC_SYSREG_H 6 #define SOC_SAMSUNG_COMMON_INCLUDE_SOC_SYSREG_H 7 8 #include <soc/cpu.h> 9 10 /* sysreg map */ 11 struct exynos5_sysreg { 12 /* Add registers as and when required */ 13 unsigned char res1[0x214]; 14 unsigned int disp1blk_cfg; 15 unsigned char res2[0x18]; 16 unsigned int usb20_phy_cfg; 17 }; 18 check_member(exynos5_sysreg, usb20_phy_cfg, 0x230); 19 20 static struct exynos5_sysreg * const exynos_sysreg = 21 (void *)EXYNOS5_SYSREG_BASE; 22 23 #define FIMDBYPASS_DISP1 (1 << 15) 24 #define USB20_PHY_CFG_EN (1 << 0) 25 26 #endif /* SOC_SAMSUNG_COMMON_INCLUDE_SOC_SYSREG_H */ 27