162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2010-2011 Nokia Corporation
662306a36Sopenharmony_ci * Copyright (C) 2010-2012 Texas Instruments, Inc.
762306a36Sopenharmony_ci * Paul Walmsley
862306a36Sopenharmony_ci * Benoît Cousson
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci#ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
1162306a36Sopenharmony_ci#define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#include "omap_hwmod.h"
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#include "common.h"
1662306a36Sopenharmony_ci#include "display.h"
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci/* Common IP block data across OMAP2xxx */
1962306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_l3_main_hwmod;
2062306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_l4_core_hwmod;
2162306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_l4_wkup_hwmod;
2262306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_mpu_hwmod;
2362306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer3_hwmod;
2462306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer4_hwmod;
2562306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer5_hwmod;
2662306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer6_hwmod;
2762306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer7_hwmod;
2862306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer8_hwmod;
2962306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer9_hwmod;
3062306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer10_hwmod;
3162306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer11_hwmod;
3262306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_timer12_hwmod;
3362306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_wd_timer2_hwmod;
3462306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_uart1_hwmod;
3562306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_uart2_hwmod;
3662306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_uart3_hwmod;
3762306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_dss_core_hwmod;
3862306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_dss_dispc_hwmod;
3962306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_dss_rfbi_hwmod;
4062306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_dss_venc_hwmod;
4162306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_gpio1_hwmod;
4262306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_gpio2_hwmod;
4362306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_gpio3_hwmod;
4462306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_gpio4_hwmod;
4562306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_mcspi1_hwmod;
4662306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_mcspi2_hwmod;
4762306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_gpmc_hwmod;
4862306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_rng_hwmod;
4962306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_sham_hwmod;
5062306a36Sopenharmony_ciextern struct omap_hwmod omap2xxx_aes_hwmod;
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci/* Common interface data across OMAP2xxx */
5362306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core;
5462306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main;
5562306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_dss__l3;
5662306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup;
5762306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2_l4_core__uart1;
5862306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2_l4_core__uart2;
5962306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2_l4_core__uart3;
6062306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1;
6162306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2;
6262306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3;
6362306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4;
6462306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5;
6562306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6;
6662306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7;
6762306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8;
6862306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9;
6962306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10;
7062306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11;
7162306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12;
7262306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss;
7362306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc;
7462306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi;
7562306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc;
7662306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng;
7762306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham;
7862306a36Sopenharmony_ciextern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes;
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci/* OMAP hwmod classes - forward declarations */
8162306a36Sopenharmony_ciextern struct omap_hwmod_class l3_hwmod_class;
8262306a36Sopenharmony_ciextern struct omap_hwmod_class l4_hwmod_class;
8362306a36Sopenharmony_ciextern struct omap_hwmod_class mpu_hwmod_class;
8462306a36Sopenharmony_ciextern struct omap_hwmod_class iva_hwmod_class;
8562306a36Sopenharmony_ciextern struct omap_hwmod_class omap2_uart_class;
8662306a36Sopenharmony_ciextern struct omap_hwmod_class omap2_dss_hwmod_class;
8762306a36Sopenharmony_ciextern struct omap_hwmod_class omap2_rfbi_hwmod_class;
8862306a36Sopenharmony_ciextern struct omap_hwmod_class omap2_venc_hwmod_class;
8962306a36Sopenharmony_ciextern struct omap_hwmod_class omap2_hdq1w_class;
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_ciextern struct omap_hwmod_class omap2xxx_gpio_hwmod_class;
9262306a36Sopenharmony_ciextern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class;
9362306a36Sopenharmony_ciextern struct omap_hwmod_class omap2xxx_mcspi_class;
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciextern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr;
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ci#endif
98