blob: 3306934ff7d245c792205a985315b3aefa015333 [file] [log] [blame]
Masahiro Yamada9c2c1a42014-11-07 18:48:32 +09001/*
2 * UniPhier MIO (Media I/O) registers
3 *
4 * Copyright (C) 2014 Panasonic Corporation
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#ifndef ARCH_MIO_REGS_H
10#define ARCH_MIO_REGS_H
11
12#define MIO_BASE 0x59810000
13
14#define MIO_CLKCTRL(i) (MIO_BASE + 0x200 * (i) + 0x0020)
15#define MIO_RSTCTRL(i) (MIO_BASE + 0x200 * (i) + 0x0110)
16#define MIO_USB_RSTCTRL(i) (MIO_BASE + 0x200 * (i) + 0x0114)
17
18#define MIO_USB_RSTCTRL_XRST (0x1 << 0)
19
20#endif /* ARCH_MIO_REGS_H */