Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
31 lines
843 B
C
31 lines
843 B
C
/*
|
|
* 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 __MACH_S3C64XX_REGS_SYS_H
|
|
#define __MACH_S3C64XX_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_SDMA_SEL S3C_SYSREG(0x110)
|
|
|
|
#define S3C64XX_OTHERS S3C_SYSREG(0x900)
|
|
|
|
#define S3C64XX_OTHERS_USBMASK (1 << 16)
|
|
#define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6)
|
|
|
|
#endif /* __MACH_S3C64XX_REGS_SYS_H */
|