Ben Dooks | 3627379f | 2008-10-31 16:14:36 +0000 | [diff] [blame] | 1 | /* arch/arm/plat-s3c64xx/include/plat/regs-sys.h |
| 2 | * |
| 3 | * Copyright 2008 Openmoko, Inc. |
| 4 | * Copyright 2008 Simtec Electronics |
| 5 | * Ben Dooks <ben@simtec.co.uk> |
| 6 | * http://armlinux.simtec.co.uk/ |
| 7 | * |
| 8 | * S3C64XX system register definitions |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | #ifndef __PLAT_REGS_SYS_H |
| 16 | #define __PLAT_REGS_SYS_H __FILE__ |
| 17 | |
| 18 | #define S3C_SYSREG(x) (S3C_VA_SYS + (x)) |
| 19 | |
Ben Dooks | 1288b67 | 2008-12-12 00:24:16 +0000 | [diff] [blame] | 20 | #define S3C64XX_AHB_CON0 S3C_SYSREG(0x100) |
| 21 | #define S3C64XX_AHB_CON1 S3C_SYSREG(0x104) |
| 22 | #define S3C64XX_AHB_CON2 S3C_SYSREG(0x108) |
| 23 | |
Tomasz Figa | 6d8d492 | 2011-08-23 11:33:08 +0900 | [diff] [blame] | 24 | #define S3C64XX_SDMA_SEL S3C_SYSREG(0x110) |
| 25 | |
Ben Dooks | 3627379f | 2008-10-31 16:14:36 +0000 | [diff] [blame] | 26 | #define S3C64XX_OTHERS S3C_SYSREG(0x900) |
| 27 | |
| 28 | #define S3C64XX_OTHERS_USBMASK (1 << 16) |
Tomasz Figa | fb5d375 | 2011-08-19 11:54:31 +0200 | [diff] [blame] | 29 | #define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6) |
Ben Dooks | 3627379f | 2008-10-31 16:14:36 +0000 | [diff] [blame] | 30 | |
| 31 | #endif /* _PLAT_REGS_SYS_H */ |