Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright 2008 Openmoko, Inc.
0004  * Copyright 2008 Simtec Electronics
0005  *  Ben Dooks <ben@simtec.co.uk>
0006  *  http://armlinux.simtec.co.uk/
0007  *
0008  * S3C64XX system register definitions
0009 */
0010 
0011 #ifndef __MACH_S3C64XX_REGS_SYS_H
0012 #define __MACH_S3C64XX_REGS_SYS_H __FILE__
0013 
0014 #define S3C_SYSREG(x)           (S3C_VA_SYS + (x))
0015 
0016 #define S3C64XX_AHB_CON0        S3C_SYSREG(0x100)
0017 #define S3C64XX_AHB_CON1        S3C_SYSREG(0x104)
0018 #define S3C64XX_AHB_CON2        S3C_SYSREG(0x108)
0019 
0020 #define S3C64XX_SDMA_SEL        S3C_SYSREG(0x110)
0021 
0022 #define S3C64XX_OTHERS          S3C_SYSREG(0x900)
0023 
0024 #define S3C64XX_OTHERS_USBMASK      (1 << 16)
0025 #define S3C64XX_OTHERS_SYNCMUXSEL   (1 << 6)
0026 
0027 #endif /* __MACH_S3C64XX_REGS_SYS_H */