bridge-regs.h 862 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /* Orion CPU Bridge Registers */
  3. #ifndef __ASM_ARCH_BRIDGE_REGS_H
  4. #define __ASM_ARCH_BRIDGE_REGS_H
  5. #include "orion5x.h"
  6. #define CPU_CONF (ORION5X_BRIDGE_VIRT_BASE + 0x100)
  7. #define CPU_CTRL (ORION5X_BRIDGE_VIRT_BASE + 0x104)
  8. #define RSTOUTn_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x108)
  9. #define RSTOUTn_MASK_PHYS (ORION5X_BRIDGE_PHYS_BASE + 0x108)
  10. #define CPU_SOFT_RESET (ORION5X_BRIDGE_VIRT_BASE + 0x10c)
  11. #define BRIDGE_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x110)
  12. #define POWER_MNG_CTRL_REG (ORION5X_BRIDGE_VIRT_BASE + 0x11C)
  13. #define BRIDGE_INT_TIMER1_CLR (~0x0004)
  14. #define MAIN_IRQ_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x200)
  15. #define MAIN_IRQ_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x204)
  16. #define TIMER_VIRT_BASE (ORION5X_BRIDGE_VIRT_BASE + 0x300)
  17. #define TIMER_PHYS_BASE (ORION5X_BRIDGE_PHYS_BASE + 0x300)
  18. #endif