Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 2 | /* |
| 3 | * UniPhier BCU (Bus Control Unit) registers |
| 4 | * |
| 5 | * Copyright (C) 2011-2014 Panasonic Corporation |
Masahiro Yamada | 5894ca0 | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef ARCH_BCU_REGS_H |
| 9 | #define ARCH_BCU_REGS_H |
| 10 | |
| 11 | #define BCU_BASE 0x50080000 |
| 12 | |
| 13 | #define BCSCR(x) (BCU_BASE + 0x180 + (x) * 4) |
| 14 | #define BCSCR0 (BCSCR(0)) |
| 15 | #define BCSCR1 (BCSCR(1)) |
| 16 | #define BCSCR2 (BCSCR(2)) |
| 17 | #define BCSCR3 (BCSCR(3)) |
| 18 | #define BCSCR4 (BCSCR(4)) |
| 19 | #define BCSCR5 (BCSCR(5)) |
| 20 | |
| 21 | #define BCIPPCCHR(x) (BCU_BASE + 0x0280 + (x) * 4) |
| 22 | #define BCIPPCCHR0 (BCIPPCCHR(0)) |
| 23 | #define BCIPPCCHR1 (BCIPPCCHR(1)) |
| 24 | #define BCIPPCCHR2 (BCIPPCCHR(2)) |
| 25 | #define BCIPPCCHR3 (BCIPPCCHR(3)) |
| 26 | #define BCIPPCCHR4 (BCIPPCCHR(4)) |
| 27 | #define BCIPPCCHR5 (BCIPPCCHR(5)) |
| 28 | |
| 29 | #endif /* ARCH_BCU_REGS_H */ |