NetBSD/sys/arch/evbarm/nitrogen6/genassym.cf

64 lines
2.4 KiB
CFEngine3

# $NetBSD: genassym.cf,v 1.1 2014/09/25 05:05:28 ryo Exp $
#-
# Copyright (c) 2012 The NetBSD Foundation, Inc.
# All rights reserved.
#
# This code is derived from software contributed to The NetBSD Foundation
# by Nick Hudson
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
include <evbarm/nitrogen6/platform.h>
include <arm/imx/imx6_reg.h>
include <arm/imx/imx6_srcreg.h>
include <arm/imx/imxuartreg.h>
define IMX6_IOREG_PBASE IMX6_IOREG_PBASE
define IMX6_IOREG_SIZE IMX6_IOREG_SIZE
define IMX6_ARMCORE_PBASE IMX6_MPCORE_BASE
define IMX6_ARMCORE_SIZE IMX6_MPCORE_SIZE
define KERNEL_IO_IOREG_VBASE KERNEL_IO_IOREG_VBASE
define KERNEL_IO_ARMCORE_VBASE KERNEL_IO_ARMCORE_VBASE
define LSR_TXRDY IMX_USR2_TXDC
define LSR_TSRE IMX_USR2_TXDC
define COM_DATA IMX_UTXD
define COM_LSR (IMX_USR2/4)
define IMX6_AIPS1_BASE IMX6_AIPS1_BASE
define AIPS1_SRC_BASE AIPS1_SRC_BASE
define SRC_SCR SRC_SCR
define SRC_SCR_CORE1_ENABLE SRC_SCR_CORE1_ENABLE
define SRC_SCR_CORE2_ENABLE SRC_SCR_CORE2_ENABLE
define SRC_SCR_CORE3_ENABLE SRC_SCR_CORE3_ENABLE
define SRC_SCR_CORE1_RST SRC_SCR_CORE1_RST
define SRC_SCR_CORE2_RST SRC_SCR_CORE2_RST
define SRC_SCR_CORE3_RST SRC_SCR_CORE3_RST
define SRC_GPR3 SRC_GPR3
define SRC_GPR5 SRC_GPR5
define SRC_GPR7 SRC_GPR7