blob: 9f6cf540bfa7a05bacb46607ffdb830d5f502353 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Masahiro Yamada5894ca02014-10-03 19:21:06 +09002/*
3 * UniPhier BCU (Bus Control Unit) registers
4 *
5 * Copyright (C) 2011-2014 Panasonic Corporation
Masahiro Yamada5894ca02014-10-03 19:21:06 +09006 */
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 */