Magnus Damm | 9db913c | 2008-03-21 18:43:19 +0900 | [diff] [blame] | 1 | #ifndef __ASM_SH_MIGOR_H |
| 2 | #define __ASM_SH_MIGOR_H |
| 3 | |
| 4 | /* |
| 5 | * linux/include/asm-sh/migor.h |
| 6 | * |
| 7 | * Copyright (C) 2008 Renesas Solutions |
| 8 | * |
| 9 | * Portions Copyright (C) 2007 Nobuhiro Iwamatsu |
| 10 | * |
| 11 | * This file is subject to the terms and conditions of the GNU General Public |
| 12 | * License. See the file "COPYING" in the main directory of this archive |
| 13 | * for more details. |
| 14 | * |
| 15 | */ |
| 16 | #include <asm/addrspace.h> |
| 17 | |
| 18 | /* GPIO */ |
Magnus Damm | 9db913c | 2008-03-21 18:43:19 +0900 | [diff] [blame] | 19 | #define PORT_PACR 0xa4050100 |
| 20 | #define PORT_PDCR 0xa4050106 |
| 21 | #define PORT_PECR 0xa4050108 |
| 22 | #define PORT_PHCR 0xa405010e |
| 23 | #define PORT_PJCR 0xa4050110 |
| 24 | #define PORT_PKCR 0xa4050112 |
| 25 | #define PORT_PLCR 0xa4050114 |
| 26 | #define PORT_PMCR 0xa4050116 |
| 27 | #define PORT_PRCR 0xa405011c |
Magnus Damm | 1765534 | 2008-07-28 18:51:01 +0900 | [diff] [blame] | 28 | #define PORT_PTCR 0xa4050140 |
| 29 | #define PORT_PUCR 0xa4050142 |
| 30 | #define PORT_PVCR 0xa4050144 |
Magnus Damm | 9db913c | 2008-03-21 18:43:19 +0900 | [diff] [blame] | 31 | #define PORT_PWCR 0xa4050146 |
| 32 | #define PORT_PXCR 0xa4050148 |
| 33 | #define PORT_PYCR 0xa405014a |
| 34 | #define PORT_PZCR 0xa405014c |
| 35 | #define PORT_PADR 0xa4050120 |
Magnus Damm | 8b1285f | 2008-07-28 18:47:30 +0900 | [diff] [blame] | 36 | #define PORT_PHDR 0xa405012e |
Magnus Damm | 1765534 | 2008-07-28 18:51:01 +0900 | [diff] [blame] | 37 | #define PORT_PTDR 0xa4050160 |
Magnus Damm | 9db913c | 2008-03-21 18:43:19 +0900 | [diff] [blame] | 38 | #define PORT_PWDR 0xa4050166 |
| 39 | |
| 40 | #define PORT_HIZCRA 0xa4050158 |
| 41 | #define PORT_HIZCRC 0xa405015c |
| 42 | |
| 43 | #define PORT_MSELCRB 0xa4050182 |
| 44 | |
| 45 | #define MSTPCR1 0xa4150034 |
| 46 | #define MSTPCR2 0xa4150038 |
| 47 | |
| 48 | #define PORT_PSELA 0xa405014e |
| 49 | #define PORT_PSELB 0xa4050150 |
| 50 | #define PORT_PSELC 0xa4050152 |
| 51 | #define PORT_PSELD 0xa4050154 |
Magnus Damm | 1765534 | 2008-07-28 18:51:01 +0900 | [diff] [blame] | 52 | #define PORT_PSELE 0xa4050156 |
Magnus Damm | 9db913c | 2008-03-21 18:43:19 +0900 | [diff] [blame] | 53 | |
| 54 | #define PORT_HIZCRA 0xa4050158 |
| 55 | #define PORT_HIZCRB 0xa405015a |
| 56 | #define PORT_HIZCRC 0xa405015c |
| 57 | |
| 58 | #define BSC_CS6ABCR 0xfec1001c |
| 59 | |
Magnus Damm | 8b1285f | 2008-07-28 18:47:30 +0900 | [diff] [blame] | 60 | #include <asm/sh_mobile_lcdc.h> |
| 61 | |
| 62 | int migor_lcd_qvga_setup(void *board_data, void *sys_ops_handle, |
| 63 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); |
| 64 | |
Magnus Damm | 9db913c | 2008-03-21 18:43:19 +0900 | [diff] [blame] | 65 | #endif /* __ASM_SH_MIGOR_H */ |