11.1Shkenken/*	$NetBSD: kobo.h,v 1.1 2014/07/25 11:22:50 hkenken Exp $	*/
21.1Shkenken
31.1Shkenken/*
41.1Shkenken * Copyright (c) 2014  Genetec Corporation.  All rights reserved.
51.1Shkenken * Written by Hashimoto Kenichi for Genetec Corporation.
61.1Shkenken *
71.1Shkenken * Redistribution and use in source and binary forms, with or without
81.1Shkenken * modification, are permitted provided that the following conditions
91.1Shkenken * are met:
101.1Shkenken * 1. Redistributions of source code must retain the above copyright
111.1Shkenken *    notice, this list of conditions and the following disclaimer.
121.1Shkenken * 2. Redistributions in binary form must reproduce the above copyright
131.1Shkenken *    notice, this list of conditions and the following disclaimer in the
141.1Shkenken *    documentation and/or other materials provided with the distribution.
151.1Shkenken *
161.1Shkenken * THIS SOFTWARE IS PROVIDED BY GENETEC CORPORATION ``AS IS'' AND
171.1Shkenken * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.1Shkenken * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.1Shkenken * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GENETEC CORPORATION
201.1Shkenken * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.1Shkenken * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.1Shkenken * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.1Shkenken * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.1Shkenken * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.1Shkenken * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.1Shkenken * POSSIBILITY OF SUCH DAMAGE.
271.1Shkenken */
281.1Shkenken
291.1Shkenken#ifndef _EVBARM_KOBO_KOBO_H
301.1Shkenken#define _EVBARM_KOBO_KOBO_H
311.1Shkenken
321.1Shkenken/*
331.1Shkenken * Kernel VM space: 256MB at KERNEL_VM_BASE
341.1Shkenken */
351.1Shkenken#define KERNEL_VM_BASE		0xc0000000
361.1Shkenken#define KERNEL_VM_SIZE		0x10000000
371.1Shkenken
381.1Shkenken#define GPIO0_IRQBASE		128
391.1Shkenken#define GPIO1_IRQBASE		160
401.1Shkenken#define GPIO2_IRQBASE		192
411.1Shkenken#define GPIO3_IRQBASE		224
421.1Shkenken#define GPIO4_IRQBASE		256
431.1Shkenken#define GPIO5_IRQBASE		288
441.1Shkenken
451.1Shkenken#endif /* _EVBARM_KOBO_KOBO_H */
46