1*fe33aa27Sryo /* $NetBSD: sunxi_platform.h,v 1.3 2018/04/01 04:35:04 ryo Exp $ */ 2a07e90f3Sjmcneill 3a07e90f3Sjmcneill /*- 4a07e90f3Sjmcneill * Copyright (c) 2017 Jared McNeill <jmcneill@invisible.ca> 5a07e90f3Sjmcneill * All rights reserved. 6a07e90f3Sjmcneill * 7a07e90f3Sjmcneill * Redistribution and use in source and binary forms, with or without 8a07e90f3Sjmcneill * modification, are permitted provided that the following conditions 9a07e90f3Sjmcneill * are met: 10a07e90f3Sjmcneill * 1. Redistributions of source code must retain the above copyright 11a07e90f3Sjmcneill * notice, this list of conditions and the following disclaimer. 12a07e90f3Sjmcneill * 2. Redistributions in binary form must reproduce the above copyright 13a07e90f3Sjmcneill * notice, this list of conditions and the following disclaimer in the 14a07e90f3Sjmcneill * documentation and/or other materials provided with the distribution. 15a07e90f3Sjmcneill * 16a07e90f3Sjmcneill * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17a07e90f3Sjmcneill * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18a07e90f3Sjmcneill * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19a07e90f3Sjmcneill * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20a07e90f3Sjmcneill * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 21a07e90f3Sjmcneill * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22a07e90f3Sjmcneill * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 23a07e90f3Sjmcneill * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24a07e90f3Sjmcneill * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25a07e90f3Sjmcneill * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26a07e90f3Sjmcneill * SUCH DAMAGE. 27a07e90f3Sjmcneill */ 28a07e90f3Sjmcneill 29a07e90f3Sjmcneill #ifndef _ARM_SUNXI_PLATFORM_H 30a07e90f3Sjmcneill #define _ARM_SUNXI_PLATFORM_H 31a07e90f3Sjmcneill 32a07e90f3Sjmcneill #include <arch/evbarm/fdt/platform.h> 33a07e90f3Sjmcneill 34*fe33aa27Sryo #define SUNXI_CORE_VBASE KERNEL_IO_VBASE 35a07e90f3Sjmcneill #define SUNXI_CORE_PBASE 0x01c00000 36d72f6453Sjmcneill #define SUNXI_CORE_SIZE 0x06400000 37a07e90f3Sjmcneill 38a07e90f3Sjmcneill #endif /* _ARM_SUNXI_PLATFORM_H */ 39