1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
5 #include <device/device.h>
6 #include <intelblocks/pcr.h>
8 #include <soc/pcr_ids.h>
11 #define SERIAL_IO_PCR_GPPRVRW4 0x60C
13 static void mainboard_init(void *chip_info
)
15 const struct pad_config
*pads
;
18 pads
= variant_gpio_table(&num
);
19 gpio_configure_pads(pads
, num
);
21 if (CONFIG(DRIVERS_INTEL_MIPI_CAMERA
))
22 pcr_write32(PID_SERIALIO
, SERIAL_IO_PCR_GPPRVRW4
, BIT8
);
25 const char *smbios_system_sku(void)
27 static const char *sku_str
= "sku2147483647"; /* sku{0-1} */
31 struct chip_operations mainboard_ops
= {
32 .init
= mainboard_init
,