xref: /netbsd-src/sys/arch/evbarm/netwalker/netwalker.h (revision 9d71928c9c5e7c610e964d6921f57145ee92eb12)
1*9d71928cShkenken /*	$NetBSD: netwalker.h,v 1.2 2014/05/06 11:08:51 hkenken Exp $	*/
259f1bd2bShkenken 
359f1bd2bShkenken /*
459f1bd2bShkenken  * Copyright (c) 2014  Genetec Corporation.  All rights reserved.
559f1bd2bShkenken  * Written by Hashimoto Kenichi for Genetec Corporation.
659f1bd2bShkenken  *
759f1bd2bShkenken  * Redistribution and use in source and binary forms, with or without
859f1bd2bShkenken  * modification, are permitted provided that the following conditions
959f1bd2bShkenken  * are met:
1059f1bd2bShkenken  * 1. Redistributions of source code must retain the above copyright
1159f1bd2bShkenken  *    notice, this list of conditions and the following disclaimer.
1259f1bd2bShkenken  * 2. Redistributions in binary form must reproduce the above copyright
1359f1bd2bShkenken  *    notice, this list of conditions and the following disclaimer in the
1459f1bd2bShkenken  *    documentation and/or other materials provided with the distribution.
1559f1bd2bShkenken  *
1659f1bd2bShkenken  * THIS SOFTWARE IS PROVIDED BY GENETEC CORPORATION ``AS IS'' AND
1759f1bd2bShkenken  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1859f1bd2bShkenken  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1959f1bd2bShkenken  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GENETEC CORPORATION
2059f1bd2bShkenken  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2159f1bd2bShkenken  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2259f1bd2bShkenken  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2359f1bd2bShkenken  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2459f1bd2bShkenken  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2559f1bd2bShkenken  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2659f1bd2bShkenken  * POSSIBILITY OF SUCH DAMAGE.
2759f1bd2bShkenken  */
2859f1bd2bShkenken 
2959f1bd2bShkenken #ifndef _EVBARM_NETWALKER_NETWALKER_H
3059f1bd2bShkenken #define _EVBARM_NETWALKER_NETWALKER_H
3159f1bd2bShkenken 
3259f1bd2bShkenken /*
3359f1bd2bShkenken  * Kernel VM space: 512MB at KERNEL_VM_BASE
3459f1bd2bShkenken  */
3559f1bd2bShkenken #define KERNEL_VM_BASE		0xc0000000
3659f1bd2bShkenken #define KERNEL_VM_SIZE		0x20000000
3759f1bd2bShkenken 
38*9d71928cShkenken #define GPIO0_IRQBASE		128
39*9d71928cShkenken #define GPIO1_IRQBASE		160
40*9d71928cShkenken #define GPIO2_IRQBASE		192
41*9d71928cShkenken #define GPIO3_IRQBASE		224
42*9d71928cShkenken 
4359f1bd2bShkenken #endif /* _EVBARM_NETWALKER_NETWALKER_H */
44