blob: 305598eaaee15a3568be7ce8611f2e01ffb5b2f9 [file] [log] [blame]
Nicolas Pitrefdd8b072009-04-22 20:08:17 +01001/*
Nicolas Pitrefdd8b072009-04-22 20:08:17 +01002 * Orion CPU Bridge Registers
3 *
4 * This file is licensed under the terms of the GNU General Public
5 * License version 2. This program is licensed "as is" without any
6 * warranty of any kind, whether express or implied.
7 */
8
9#ifndef __ASM_ARCH_BRIDGE_REGS_H
10#define __ASM_ARCH_BRIDGE_REGS_H
11
Arnd Bergmannc22c2c62015-12-02 22:27:08 +010012#include "orion5x.h"
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010013
Thomas Petazzoni23326562012-09-11 14:27:17 +020014#define CPU_CONF (ORION5X_BRIDGE_VIRT_BASE + 0x100)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010015
Thomas Petazzoni23326562012-09-11 14:27:17 +020016#define CPU_CTRL (ORION5X_BRIDGE_VIRT_BASE + 0x104)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010017
Thomas Petazzoni23326562012-09-11 14:27:17 +020018#define RSTOUTn_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x108)
Ezequiel Garcia868eb612014-02-10 20:00:25 -030019#define RSTOUTn_MASK_PHYS (ORION5X_BRIDGE_PHYS_BASE + 0x108)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010020
Thomas Petazzoni23326562012-09-11 14:27:17 +020021#define CPU_SOFT_RESET (ORION5X_BRIDGE_VIRT_BASE + 0x10c)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010022
Thomas Petazzoni23326562012-09-11 14:27:17 +020023#define BRIDGE_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x110)
Lennert Buytenhek4ee1f6b2010-10-15 16:50:26 +020024
Thomas Petazzoni23326562012-09-11 14:27:17 +020025#define POWER_MNG_CTRL_REG (ORION5X_BRIDGE_VIRT_BASE + 0x11C)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010026
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010027#define BRIDGE_INT_TIMER1_CLR (~0x0004)
28
Thomas Petazzoni23326562012-09-11 14:27:17 +020029#define MAIN_IRQ_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x200)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010030
Thomas Petazzoni23326562012-09-11 14:27:17 +020031#define MAIN_IRQ_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x204)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010032
Thomas Petazzoni23326562012-09-11 14:27:17 +020033#define TIMER_VIRT_BASE (ORION5X_BRIDGE_VIRT_BASE + 0x300)
34#define TIMER_PHYS_BASE (ORION5X_BRIDGE_PHYS_BASE + 0x300)
Nicolas Pitrefdd8b072009-04-22 20:08:17 +010035#endif