/*-1* SPDX-License-Identifier: BSD-2-Clause2*3* Copyright (c) 2012-2013 Thomas Skibo4* All rights reserved.5*6* Redistribution and use in source and binary forms, with or without7* modification, are permitted provided that the following conditions8* are met:9* 1. Redistributions of source code must retain the above copyright10* notice, this list of conditions and the following disclaimer.11* 2. Redistributions in binary form must reproduce the above copyright12* notice, this list of conditions and the following disclaimer in the13* documentation and/or other materials provided with the distribution.14*15* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND16* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE17* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE18* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE19* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL20* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS21* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)22* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT23* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY24* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF25* SUCH DAMAGE.26*/2728/*29* Address regions of Zynq-7000.30* Reference: Zynq-7000 All Programmable SoC Technical Reference Manual.31* (v1.4) November 16, 2012. Xilinx doc UG585.32*/3334#ifndef _ZY7_REG_H_35#define _ZY7_REG_H_3637/* PL AXI buses: General Purpose Port #0, M_AXI_GP0. */38#define ZYNQ7_PLGP0_HWBASE 0x4000000039#define ZYNQ7_PLGP0_SIZE 0x400000004041/* PL AXI buses: General Purpose Port #1, M_AXI_GP1. */42#define ZYNQ7_PLGP1_HWBASE 0x8000000043#define ZYNQ7_PLGP1_SIZE 0x400000004445/* I/O Peripheral registers. */46#define ZYNQ7_PSIO_HWBASE 0xE000000047#define ZYNQ7_PSIO_SIZE 0x003000004849/* UART0 and UART1 */50#define ZYNQ7_UART0_HWBASE (ZYNQ7_PSIO_HWBASE)51#define ZYNQ7_UART0_SIZE 0x10005253#define ZYNQ7_UART1_HWBASE (ZYNQ7_PSIO_HWBASE+0x1000)54#define ZYNQ7_UART1_SIZE 0x10005556/* SMC Memories not mapped for now. */57#define ZYNQ7_SMC_HWBASE 0xE100000058#define ZYNQ7_SMC_SIZE 0x050000005960/* SLCR, PS system, and CPU private registers combined in this region. */61#define ZYNQ7_PSCTL_HWBASE 0xF800000062#define ZYNQ7_PSCTL_SIZE 0x010000006364#define ZYNQ7_SLCR_HWBASE (ZYNQ7_PSCTL_HWBASE)65#define ZYNQ7_SLCR_SIZE 0x10006667#define ZYNQ7_DEVCFG_HWBASE (ZYNQ7_PSCTL_HWBASE+0x7000)68#define ZYNQ7_DEVCFG_SIZE 0x10006970#endif /* _ZY7_REG_H_ */717273