Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-s3c64xx / regs-sys.h
blob3687325e2bb46f33f8e85e464ce6bb8777d20c92
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright 2008 Openmoko, Inc.
4 * Copyright 2008 Simtec Electronics
5 * Ben Dooks <ben@simtec.co.uk>
6 * http://armlinux.simtec.co.uk/
8 * S3C64XX system register definitions
9 */
11 #ifndef __MACH_S3C64XX_REGS_SYS_H
12 #define __MACH_S3C64XX_REGS_SYS_H __FILE__
14 #define S3C_SYSREG(x) (S3C_VA_SYS + (x))
16 #define S3C64XX_AHB_CON0 S3C_SYSREG(0x100)
17 #define S3C64XX_AHB_CON1 S3C_SYSREG(0x104)
18 #define S3C64XX_AHB_CON2 S3C_SYSREG(0x108)
20 #define S3C64XX_SDMA_SEL S3C_SYSREG(0x110)
22 #define S3C64XX_OTHERS S3C_SYSREG(0x900)
24 #define S3C64XX_OTHERS_USBMASK (1 << 16)
25 #define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6)
27 #endif /* __MACH_S3C64XX_REGS_SYS_H */