/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Hardware definitions common to all DaVinci family processors3*4* Author: Kevin Hilman, Deep Root Systems, LLC5*6* 2007 (c) Deep Root Systems, LLC.7*/8#ifndef __ASM_ARCH_HARDWARE_H9#define __ASM_ARCH_HARDWARE_H1011/*12* Before you add anything to ths file:13*14* This header is for defines common to ALL DaVinci family chips.15* Anything that is chip specific should go in <chipname>.h,16* and the chip/board init code should then explicitly include17* <chipname>.h18*/19/*20* I/O mapping21*/22#define IO_PHYS UL(0x01c00000)23#define IO_OFFSET 0xfd000000 /* Virtual IO = 0xfec00000 */24#define IO_SIZE 0x0040000025#define IO_VIRT (IO_PHYS + IO_OFFSET)26#define io_v2p(va) ((va) - IO_OFFSET)27#define __IO_ADDRESS(x) ((x) + IO_OFFSET)28#define IO_ADDRESS(pa) IOMEM(__IO_ADDRESS(pa))2930#endif /* __ASM_ARCH_HARDWARE_H */313233