summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/avenuecity_crb
diff options
context:
space:
mode:
authorShuo Liu <shuo.liu@intel.com>2024-06-18 06:07:59 +0800
committerLean Sheng Tan <sheng.tan@9elements.com>2024-09-14 09:41:38 +0000
commit8560c7197a24c7fa7802840b3dd7da0bfa16f34c (patch)
tree1081eda80f8d87820f984a768bb74f71361513f3 /src/mainboard/intel/avenuecity_crb
parentc3f9c4a511065fbb2ddadd16c55a15d7ad0b50b3 (diff)
mainboard/intel/avenuecity_crb: Update full IIO configuration
Change-Id: I88baa159475ac57ec6a2a638ab84f76a6af4fe82 Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84318 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/avenuecity_crb')
-rw-r--r--src/mainboard/intel/avenuecity_crb/config/iio.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mainboard/intel/avenuecity_crb/config/iio.c b/src/mainboard/intel/avenuecity_crb/config/iio.c
index 117d604a2d..5406034b1e 100644
--- a/src/mainboard/intel/avenuecity_crb/config/iio.c
+++ b/src/mainboard/intel/avenuecity_crb/config/iio.c
@@ -20,6 +20,38 @@ static const struct iio_pe_config iio_config_table[] = {
_IIO_PORT_CFG_STRUCT_BASIC_X2(0x0, 0x4B, 0x4),
_IIO_PORT_CFG_STRUCT_BASIC_X2(0x0, 0x4B, 0x5),
}},
+
+ {_IIO_PE_CFG_STRUCT(0x0, PE1, CB_IIO_BIFURCATE_x16xxxxx, PE_TYPE_PCIE) {
+ /* _IIO_PORT_CFG_STRUCT_BASIC(sltpls, sltplv, psn) */
+ _IIO_PORT_CFG_STRUCT_BASIC_X16(0x0, 0x4B, 0x6),
+ _IIO_PORT_CFG_STRUCT_DISABLED,
+ _IIO_PORT_CFG_STRUCT_DISABLED,
+ _IIO_PORT_CFG_STRUCT_DISABLED,
+ _IIO_PORT_CFG_STRUCT_DISABLED,
+ _IIO_PORT_CFG_STRUCT_DISABLED,
+ _IIO_PORT_CFG_STRUCT_DISABLED,
+ _IIO_PORT_CFG_STRUCT_DISABLED,
+ }},
+
+ _IIO_PE_CFG_DISABLED(0x0, PE2),
+ _IIO_PE_CFG_DISABLED(0x0, PE3),
+ _IIO_PE_CFG_DISABLED(0x0, PE4),
+ _IIO_PE_CFG_DISABLED(0x0, PE5),
+ _IIO_PE_CFG_DISABLED(0x0, PEa),
+ _IIO_PE_CFG_DISABLED(0x0, PEb),
+ _IIO_PE_CFG_DISABLED(0x0, PEc),
+ _IIO_PE_CFG_DISABLED(0x0, PEd),
+
+ _IIO_PE_CFG_DISABLED(0x1, PE0),
+ _IIO_PE_CFG_DISABLED(0x1, PE1),
+ _IIO_PE_CFG_DISABLED(0x1, PE2),
+ _IIO_PE_CFG_DISABLED(0x1, PE3),
+ _IIO_PE_CFG_DISABLED(0x1, PE4),
+ _IIO_PE_CFG_DISABLED(0x1, PE5),
+ _IIO_PE_CFG_DISABLED(0x1, PEa),
+ _IIO_PE_CFG_DISABLED(0x1, PEb),
+ _IIO_PE_CFG_DISABLED(0x1, PEc),
+ _IIO_PE_CFG_DISABLED(0x1, PEd),
};
const struct iio_pe_config *get_iio_config_table(int *size)