162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright 2008 Openmoko, Inc.
462306a36Sopenharmony_ci * Copyright 2008 Simtec Electronics
562306a36Sopenharmony_ci *	Ben Dooks <ben@simtec.co.uk>
662306a36Sopenharmony_ci *	http://armlinux.simtec.co.uk/
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci * S3C64XX system register definitions
962306a36Sopenharmony_ci*/
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#ifndef __MACH_S3C64XX_REGS_SYS_H
1262306a36Sopenharmony_ci#define __MACH_S3C64XX_REGS_SYS_H __FILE__
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define S3C_SYSREG(x)			(S3C_VA_SYS + (x))
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#define S3C64XX_AHB_CON0		S3C_SYSREG(0x100)
1762306a36Sopenharmony_ci#define S3C64XX_AHB_CON1		S3C_SYSREG(0x104)
1862306a36Sopenharmony_ci#define S3C64XX_AHB_CON2		S3C_SYSREG(0x108)
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci#define S3C64XX_SDMA_SEL		S3C_SYSREG(0x110)
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#define S3C64XX_OTHERS			S3C_SYSREG(0x900)
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#define S3C64XX_OTHERS_USBMASK		(1 << 16)
2562306a36Sopenharmony_ci#define S3C64XX_OTHERS_SYNCMUXSEL	(1 << 6)
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci#endif /* __MACH_S3C64XX_REGS_SYS_H */
28