/* SPDX-License-Identifier: GPL-2.0-or-later */1/*2* OpenRISC Linux3*4* Linux architectural port borrowing liberally from similar works of5* others. All original copyrights apply as per the original source6* declaration.7*8* OpenRISC implementation:9* Copyright (C) 2010-2011 Jonas Bonn <[email protected]>10* et al.11*/1213#ifndef __ASM_OPENRISC_IO_H14#define __ASM_OPENRISC_IO_H1516#include <linux/types.h>17#include <asm/pgalloc.h>18#include <asm/pgtable.h>1920/*21* PCI: We do not use IO ports in OpenRISC22*/23#define IO_SPACE_LIMIT 02425/* OpenRISC has no port IO */26#define HAVE_ARCH_PIO_SIZE 127#define PIO_RESERVED 0X0UL28#define PIO_OFFSET 029#define PIO_MASK 03031/*32* I/O memory mapping functions.33*/34#define _PAGE_IOREMAP (pgprot_val(PAGE_KERNEL) | _PAGE_CI)3536#include <asm-generic/io.h>3738#endif394041