xref: /freebsd/sys/arm/qualcomm/ipq4018_reg.h (revision 6325f105aad2d6d8ba08efe5aff1c860cc7df198)
102438ce5SAdrian Chadd /*-
202438ce5SAdrian Chadd  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
302438ce5SAdrian Chadd  *
402438ce5SAdrian Chadd  * Copyright (c) 2021 Adrian Chadd <adrian@FreeBSD.org>
502438ce5SAdrian Chadd  *
602438ce5SAdrian Chadd  * Redistribution and use in source and binary forms, with or without
702438ce5SAdrian Chadd  * modification, are permitted provided that the following conditions
802438ce5SAdrian Chadd  * are met:
902438ce5SAdrian Chadd  * 1. Redistributions of source code must retain the above copyright
1002438ce5SAdrian Chadd  *    notice, this list of conditions and the following disclaimer.
1102438ce5SAdrian Chadd  * 2. Redistributions in binary form must reproduce the above copyright
1202438ce5SAdrian Chadd  *    notice, this list of conditions and the following disclaimer in the
1302438ce5SAdrian Chadd  *    documentation and/or other materials provided with the distribution.
1402438ce5SAdrian Chadd  *
1502438ce5SAdrian Chadd  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1602438ce5SAdrian Chadd  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1702438ce5SAdrian Chadd  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1802438ce5SAdrian Chadd  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1902438ce5SAdrian Chadd  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2002438ce5SAdrian Chadd  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2102438ce5SAdrian Chadd  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2202438ce5SAdrian Chadd  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2302438ce5SAdrian Chadd  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2402438ce5SAdrian Chadd  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2502438ce5SAdrian Chadd  * SUCH DAMAGE.
2602438ce5SAdrian Chadd  *
2702438ce5SAdrian Chadd  * $FreeBSD$
2802438ce5SAdrian Chadd  */
2902438ce5SAdrian Chadd 
3002438ce5SAdrian Chadd #ifndef	IPQ4018_REG_H
3102438ce5SAdrian Chadd #define	IPQ4018_REG_H
3202438ce5SAdrian Chadd 
3302438ce5SAdrian Chadd #define	IPQ4018_MEM_SMEM_START		0x87e00000
3402438ce5SAdrian Chadd #define	IPQ4018_MEM_SMEM_SIZE		0x00080000
3502438ce5SAdrian Chadd 
3602438ce5SAdrian Chadd #define	IPQ4018_MEM_TZ_START		0x87e80000
3702438ce5SAdrian Chadd #define	IPQ4018_MEM_TZ_SIZE		0x00180000
3802438ce5SAdrian Chadd 
3902438ce5SAdrian Chadd #define	IPQ4018_MEM_UART1_START		0x078af000
4002438ce5SAdrian Chadd #define	IPQ4018_MEM_UART1_SIZE		0x00001000
4102438ce5SAdrian Chadd 
42*6325f105SAdrian Chadd #define	IPQ4018_MEM_PSHOLD_START	0x004ab000
43*6325f105SAdrian Chadd #define	IPQ4018_MEM_PSHOLD_SIZE		0x00001000
44*6325f105SAdrian Chadd 
4502438ce5SAdrian Chadd #endif
46