blob: 6de99e7ea1293f6e477c4debe74072dff00a8c81 [file] [log] [blame]
Matthias Brugger2c68dee2019-11-19 16:01:03 +01001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * (C) Copyright 2019 Matthias Brugger
4 */
5
6#ifndef _BCM283x_BASE_H_
7#define _BCM283x_BASE_H_
8
Dmitry Malkinb8c537c2024-01-23 10:07:54 +02009extern unsigned long rpi_mbox_base;
10extern unsigned long rpi_timer_base;
11extern unsigned long rpi_sdhci_base;
12extern unsigned long rpi_wdog_base;
Matthias Brugger2c68dee2019-11-19 16:01:03 +010013
Marek Szyprowskiab9d99a2020-06-03 14:43:44 +020014#ifdef CONFIG_ARMV7_LPAE
15#ifdef CONFIG_TARGET_RPI_4_32B
16#include <addr_map.h>
17#define phys_to_virt addrmap_phys_to_virt
18#define virt_to_phys addrmap_virt_to_phys
19#endif
20#endif
21
Matthias Brugger2c68dee2019-11-19 16:01:03 +010022#endif