Laurentiu Tudor | 7690ea7 | 2019-07-30 17:29:58 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2019 NXP |
| 4 | */ |
| 5 | |
| 6 | #include <common.h> |
| 7 | #include <asm/arch-fsl-layerscape/immap_lsch3.h> |
| 8 | #include <asm/arch-fsl-layerscape/fsl_icid.h> |
| 9 | #include <asm/arch-fsl-layerscape/fsl_portals.h> |
| 10 | |
| 11 | struct icid_id_table icid_tbl[] = { |
Laurentiu Tudor | 01dc547 | 2019-07-30 17:29:59 +0300 | [diff] [blame] | 12 | SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID), |
Laurentiu Tudor | 7690ea7 | 2019-07-30 17:29:58 +0300 | [diff] [blame] | 13 | SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID), |
| 14 | SET_USB_ICID(2, "snps,dwc3", FSL_USB2_STREAM_ID), |
| 15 | SET_SATA_ICID(1, "fsl,ls1088a-ahci", FSL_SATA1_STREAM_ID), |
Laurentiu Tudor | 0b1d35c | 2019-10-18 09:01:52 +0000 | [diff] [blame] | 16 | #ifdef CONFIG_FSL_CAAM |
Laurentiu Tudor | 7690ea7 | 2019-07-30 17:29:58 +0300 | [diff] [blame] | 17 | SET_SEC_JR_ICID_ENTRY(0, FSL_SEC_JR1_STREAM_ID), |
| 18 | SET_SEC_JR_ICID_ENTRY(1, FSL_SEC_JR2_STREAM_ID), |
| 19 | SET_SEC_JR_ICID_ENTRY(2, FSL_SEC_JR3_STREAM_ID), |
| 20 | SET_SEC_JR_ICID_ENTRY(3, FSL_SEC_JR4_STREAM_ID), |
| 21 | SET_SEC_RTIC_ICID_ENTRY(0, FSL_SEC_STREAM_ID), |
| 22 | SET_SEC_RTIC_ICID_ENTRY(1, FSL_SEC_STREAM_ID), |
| 23 | SET_SEC_RTIC_ICID_ENTRY(2, FSL_SEC_STREAM_ID), |
| 24 | SET_SEC_RTIC_ICID_ENTRY(3, FSL_SEC_STREAM_ID), |
| 25 | SET_SEC_DECO_ICID_ENTRY(0, FSL_SEC_STREAM_ID), |
| 26 | SET_SEC_DECO_ICID_ENTRY(1, FSL_SEC_STREAM_ID), |
| 27 | SET_SEC_DECO_ICID_ENTRY(2, FSL_SEC_STREAM_ID), |
| 28 | SET_SEC_DECO_ICID_ENTRY(3, FSL_SEC_STREAM_ID), |
Laurentiu Tudor | 0b1d35c | 2019-10-18 09:01:52 +0000 | [diff] [blame] | 29 | #endif |
Laurentiu Tudor | 7690ea7 | 2019-07-30 17:29:58 +0300 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | int icid_tbl_sz = ARRAY_SIZE(icid_tbl); |