2019-07-30 14:29:58 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Copyright 2019 NXP
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/arch-fsl-layerscape/immap_lsch3.h>
|
|
|
|
#include <asm/arch-fsl-layerscape/fsl_icid.h>
|
|
|
|
#include <asm/arch-fsl-layerscape/fsl_portals.h>
|
|
|
|
|
|
|
|
struct icid_id_table icid_tbl[] = {
|
2019-07-30 14:29:59 +00:00
|
|
|
SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID),
|
2019-07-30 14:29:58 +00:00
|
|
|
SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID),
|
|
|
|
SET_USB_ICID(2, "snps,dwc3", FSL_USB2_STREAM_ID),
|
|
|
|
SET_SATA_ICID(1, "fsl,ls1088a-ahci", FSL_SATA1_STREAM_ID),
|
2019-10-18 09:01:52 +00:00
|
|
|
#ifdef CONFIG_FSL_CAAM
|
2019-07-30 14:29:58 +00:00
|
|
|
SET_SEC_JR_ICID_ENTRY(0, FSL_SEC_JR1_STREAM_ID),
|
|
|
|
SET_SEC_JR_ICID_ENTRY(1, FSL_SEC_JR2_STREAM_ID),
|
|
|
|
SET_SEC_JR_ICID_ENTRY(2, FSL_SEC_JR3_STREAM_ID),
|
|
|
|
SET_SEC_JR_ICID_ENTRY(3, FSL_SEC_JR4_STREAM_ID),
|
|
|
|
SET_SEC_RTIC_ICID_ENTRY(0, FSL_SEC_STREAM_ID),
|
|
|
|
SET_SEC_RTIC_ICID_ENTRY(1, FSL_SEC_STREAM_ID),
|
|
|
|
SET_SEC_RTIC_ICID_ENTRY(2, FSL_SEC_STREAM_ID),
|
|
|
|
SET_SEC_RTIC_ICID_ENTRY(3, FSL_SEC_STREAM_ID),
|
|
|
|
SET_SEC_DECO_ICID_ENTRY(0, FSL_SEC_STREAM_ID),
|
|
|
|
SET_SEC_DECO_ICID_ENTRY(1, FSL_SEC_STREAM_ID),
|
|
|
|
SET_SEC_DECO_ICID_ENTRY(2, FSL_SEC_STREAM_ID),
|
|
|
|
SET_SEC_DECO_ICID_ENTRY(3, FSL_SEC_STREAM_ID),
|
2019-10-18 09:01:52 +00:00
|
|
|
#endif
|
2019-07-30 14:29:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
int icid_tbl_sz = ARRAY_SIZE(icid_tbl);
|