xref: /freebsd/sys/arm/qualcomm/ipq4018_reg.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
102438ce5SAdrian Chadd /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
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 
2802438ce5SAdrian Chadd #ifndef	IPQ4018_REG_H
2902438ce5SAdrian Chadd #define	IPQ4018_REG_H
3002438ce5SAdrian Chadd 
3102438ce5SAdrian Chadd #define	IPQ4018_MEM_SMEM_START		0x87e00000
3202438ce5SAdrian Chadd #define	IPQ4018_MEM_SMEM_SIZE		0x00080000
3302438ce5SAdrian Chadd 
3402438ce5SAdrian Chadd #define	IPQ4018_MEM_TZ_START		0x87e80000
3502438ce5SAdrian Chadd #define	IPQ4018_MEM_TZ_SIZE		0x00180000
3602438ce5SAdrian Chadd 
3702438ce5SAdrian Chadd #define	IPQ4018_MEM_UART1_START		0x078af000
3802438ce5SAdrian Chadd #define	IPQ4018_MEM_UART1_SIZE		0x00001000
3902438ce5SAdrian Chadd 
406325f105SAdrian Chadd #define	IPQ4018_MEM_PSHOLD_START	0x004ab000
416325f105SAdrian Chadd #define	IPQ4018_MEM_PSHOLD_SIZE		0x00001000
426325f105SAdrian Chadd 
4302438ce5SAdrian Chadd #endif
44