linux/include/soc/fsl/qe/immap_qe.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * QUICC Engine (QE) Internal Memory Map.
 * The Internal Memory Map for devices with QE on them. This
 * is the superset of all QE devices (8360, etc.).

 * Copyright (C) 2006. Freescale Semiconductor, Inc. All rights reserved.
 *
 * Authors: 	Shlomi Gridish <[email protected]>
 * 		Li Yang <[email protected]>
 */
#ifndef _ASM_POWERPC_IMMAP_QE_H
#define _ASM_POWERPC_IMMAP_QE_H
#ifdef __KERNEL__

#include <linux/types.h>

#include <asm/io.h>

#define QE_IMMAP_SIZE

/* QE I-RAM */
struct qe_iram {} __attribute__ ((packed));

/* QE Interrupt Controller */
struct qe_ic_regs {} __attribute__ ((packed));

/* Communications Processor */
struct cp_qe {} __attribute__ ((packed));

/* QE Multiplexer */
struct qe_mux {} __attribute__ ((packed));

/* QE Timers */
struct qe_timers {} __attribute__ ((packed));

/* BRG */
struct qe_brg {} __attribute__ ((packed));

/* SPI */
struct spi {} __attribute__ ((packed));

/* SI */
struct si1 {} __attribute__ ((packed));

/* SI Routing Tables */
struct sir {} __attribute__ ((packed));

/* USB Controller */
struct qe_usb_ctlr {} __attribute__ ((packed));

/* MCC */
struct qe_mcc {} __attribute__ ((packed));

/* QE UCC Slow */
struct ucc_slow {} __attribute__ ((packed));

/* QE UCC Fast */
struct ucc_fast {} __attribute__ ((packed));

struct ucc {} __attribute__ ((packed));

/* MultiPHY UTOPIA POS Controllers (UPC) */
struct upc {} __attribute__ ((packed));

/* SDMA */
struct sdma {} __attribute__ ((packed));

/* Debug Space */
struct dbg {} __attribute__ ((packed));

/*
 * RISC Special Registers (Trap and Breakpoint).  These are described in
 * the QE Developer's Handbook.
 */
struct rsp {} __attribute__ ((packed));

struct qe_immap {} __attribute__ ((packed));

extern struct qe_immap __iomem *qe_immr;

#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_IMMAP_QE_H */