1*6d338ff4Such /* $NetBSD: pfcreg.h,v 1.6 2002/04/28 17:10:36 uch Exp $ */ 265363da2Sitojun 365363da2Sitojun /*- 465363da2Sitojun * Copyright (C) 1999 SAITOH Masanobu. All rights reserved. 565363da2Sitojun * 665363da2Sitojun * Redistribution and use in source and binary forms, with or without 765363da2Sitojun * modification, are permitted provided that the following conditions 865363da2Sitojun * are met: 965363da2Sitojun * 1. Redistributions of source code must retain the above copyright 1065363da2Sitojun * notice, this list of conditions and the following disclaimer. 1165363da2Sitojun * 2. Redistributions in binary form must reproduce the above copyright 1265363da2Sitojun * notice, this list of conditions and the following disclaimer in the 1365363da2Sitojun * documentation and/or other materials provided with the distribution. 1465363da2Sitojun * 3. The name of the author may not be used to endorse or promote products 1565363da2Sitojun * derived from this software without specific prior written permission. 1665363da2Sitojun * 1765363da2Sitojun * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1865363da2Sitojun * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1965363da2Sitojun * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2065363da2Sitojun * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2165363da2Sitojun * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2265363da2Sitojun * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2365363da2Sitojun * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2465363da2Sitojun * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2565363da2Sitojun * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2665363da2Sitojun * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2765363da2Sitojun */ 2865363da2Sitojun 2993da9db9Such #ifndef _SH3_PFCREG_H_ 3093da9db9Such #define _SH3_PFCREG_H_ 31bbc655c4Such #include <sh3/devreg.h> 3265363da2Sitojun 3365363da2Sitojun /* address definitions for pin function controller (PFC)*/ 3465363da2Sitojun 35bbc655c4Such #define SH3_PCTR 0xffffff76 /* 16bit */ 36bbc655c4Such #define SH3_PDTR 0xffffff78 /* 8bit */ 37bbc655c4Such #define SH3_SCSPTR 0xffffff7c /* 8bit */ 3865363da2Sitojun 39bbc655c4Such /* SH7709, SH7709A */ 40bbc655c4Such #define SH7709_PACR 0xa4000100 /* 16bit */ 41bbc655c4Such #define SH7709_PBCR 0xa4000102 /* 16bit */ 42bbc655c4Such #define SH7709_PCCR 0xa4000104 /* 16bit */ 43bbc655c4Such #define SH7709_PDCR 0xa4000106 /* 16bit */ 44bbc655c4Such #define SH7709_PECR 0xa4000108 /* 16bit */ 45bbc655c4Such #define SH7709_PFCR 0xa400010a /* 16bit */ 46bbc655c4Such #define SH7709_PGCR 0xa400010c /* 16bit */ 47bbc655c4Such #define SH7709_PHCR 0xa400010e /* 16bit */ 48bbc655c4Such #define SH7709_PJCR 0xa4000110 /* 16bit */ 49bbc655c4Such #define SH7709_PKCR 0xa4000112 /* 16bit */ 50bbc655c4Such #define SH7709_PLCR 0xa4000114 /* 16bit */ 51bbc655c4Such #define SH7709_SCPCR 0xa4000116 /* 16bit */ 52bbc655c4Such #define SH7709_PADR 0xa4000120 /* 8bit */ 53bbc655c4Such #define SH7709_PBDR 0xa4000122 /* 8bit */ 54bbc655c4Such #define SH7709_PCDR 0xa4000124 /* 8bit */ 55bbc655c4Such #define SH7709_PDDR 0xa4000126 /* 8bit */ 56bbc655c4Such #define SH7709_PEDR 0xa4000128 /* 8bit */ 57bbc655c4Such #define SH7709_PFDR 0xa400012a /* 8bit */ 58bbc655c4Such #define SH7709_PGDR 0xa400012c /* 8bit */ 59bbc655c4Such #define SH7709_PHDR 0xa400012e /* 8bit */ 60bbc655c4Such #define SH7709_PJDR 0xa4000130 /* 8bit */ 61bbc655c4Such #define SH7709_PKDR 0xa4000132 /* 8bit */ 62bbc655c4Such #define SH7709_PLDR 0xa4000134 /* 8bit */ 63bbc655c4Such #define SH7709_SCPDR 0xa4000136 /* 8bit */ 6465363da2Sitojun 65bbc655c4Such #define SH4_PCTRA 0xff80002c /* 32bit */ 66bbc655c4Such #define SH4_PDTRA 0xff800030 /* 16bit */ 67bbc655c4Such #define SH4_PCTRB 0xff800040 /* 32bit */ 68bbc655c4Such #define SH4_PDTRB 0xff800044 /* 16bit */ 69bbc655c4Such #define SH4_GPIOIC 0xff800048 /* 16bit */ 70bbc655c4Such #define SH4_SCSPTR1 0xffe0001c /* 8bit */ 71bbc655c4Such #define SH4_SCSPTR2 0xffe80020 /* 16bit */ 7265363da2Sitojun 7393da9db9Such #endif /* !_SH3_PFCREG_H_ */ 74bbc655c4Such 75