mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 00:33:06 +00:00
b249fcba00
Add ICID setup for the platform devices contained on this chip: usb, sata, sdhc, edma, qdma, gpu, display and sec. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
// 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[] = {
|
|
SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID),
|
|
SET_USB_ICID(2, "snps,dwc3", FSL_USB2_STREAM_ID),
|
|
SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID),
|
|
SET_SDHC_ICID(2, FSL_SDMMC2_STREAM_ID),
|
|
SET_SATA_ICID(1, "fsl,ls1028a-ahci", FSL_SATA1_STREAM_ID),
|
|
SET_EDMA_ICID(FSL_EDMA_STREAM_ID),
|
|
SET_QDMA_ICID("fsl,ls1028a-qdma", FSL_DMA_STREAM_ID),
|
|
SET_GPU_ICID("fsl,ls1028a-gpu", FSL_GPU_STREAM_ID),
|
|
SET_DISPLAY_ICID(FSL_DISPLAY_STREAM_ID),
|
|
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),
|
|
};
|
|
|
|
int icid_tbl_sz = ARRAY_SIZE(icid_tbl);
|