mb/google/brya/var/uldrenite: Generate RAM ID and SPD file
[coreboot2.git] / src / mainboard / google / skyrim / port_descriptors.c
blobc2a019f25ab13eeeb62ffefc25cb2fba2dd72d66
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/variants.h>
4 #include <gpio.h>
5 #include <soc/platform_descriptors.h>
6 #include <types.h>
8 static const fsp_ddi_descriptor skyrim_mdn_ddi_descriptors[] = {
9 { /* DDI0 - eDP */
10 .connector_type = DDI_EDP,
11 .aux_index = DDI_AUX1,
12 .hdp_index = DDI_HDP1
14 { /* DDI1 - HDMI/DP */
15 .connector_type = DDI_HDMI,
16 .aux_index = DDI_AUX2,
17 .hdp_index = DDI_HDP2
19 { /* DDI2 - DP (type C) */
20 .connector_type = DDI_DP_W_TYPEC,
21 .aux_index = DDI_AUX3,
22 .hdp_index = DDI_HDP3,
24 { /* DDI3 - DP (type C) */
25 .connector_type = DDI_DP_W_TYPEC,
26 .aux_index = DDI_AUX4,
27 .hdp_index = DDI_HDP4,
29 { /* DDI4 - Unused */
30 .connector_type = DDI_UNUSED_TYPE,
31 .aux_index = DDI_AUX5,
32 .hdp_index = DDI_HDP5,
36 void mainboard_get_dxio_ddi_descriptors(
37 const fsp_dxio_descriptor **dxio_descs, size_t *dxio_num,
38 const fsp_ddi_descriptor **ddi_descs, size_t *ddi_num)
40 variant_get_dxio_descriptors(dxio_descs, dxio_num);
42 *ddi_descs = skyrim_mdn_ddi_descriptors;
43 *ddi_num = ARRAY_SIZE(skyrim_mdn_ddi_descriptors);