mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 08:56:57 +07:00
3501c9ae9f
Move the register and GPIO definition files from plat-s3c64xx into the machine include direcotry as they are unlikely to be reused outside mach-s3c64xx. This move includes removing the empty <mach/regs-clock.h> and replacing it with the <plat/regs-clock.h> implementation. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
29 lines
773 B
C
29 lines
773 B
C
/* arch/arm/plat-s3c64xx/include/plat/regs-sys.h
|
|
*
|
|
* Copyright 2008 Openmoko, Inc.
|
|
* Copyright 2008 Simtec Electronics
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
* http://armlinux.simtec.co.uk/
|
|
*
|
|
* S3C64XX system register definitions
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __PLAT_REGS_SYS_H
|
|
#define __PLAT_REGS_SYS_H __FILE__
|
|
|
|
#define S3C_SYSREG(x) (S3C_VA_SYS + (x))
|
|
|
|
#define S3C64XX_AHB_CON0 S3C_SYSREG(0x100)
|
|
#define S3C64XX_AHB_CON1 S3C_SYSREG(0x104)
|
|
#define S3C64XX_AHB_CON2 S3C_SYSREG(0x108)
|
|
|
|
#define S3C64XX_OTHERS S3C_SYSREG(0x900)
|
|
|
|
#define S3C64XX_OTHERS_USBMASK (1 << 16)
|
|
|
|
#endif /* _PLAT_REGS_SYS_H */
|