mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / hp / elitebook_820_g2 / pei_data.c
bloba31f2112ccc1cc05c5bc4f023f87a11a6e5309ab
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/pei_data.h>
4 #include <soc/pei_wrapper.h>
6 void mb_get_spd_map(struct spd_info *spdi)
8 spdi->addresses[0] = 0x50;
9 spdi->addresses[2] = 0x52;
12 void mainboard_fill_pei_data(struct pei_data *pei_data)
14 pei_data->ec_present = 1;
16 /* P1 */
17 pei_data_usb2_port(pei_data, 0, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
18 /* P2: left side port, USB debug */
19 pei_data_usb2_port(pei_data, 1, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
20 /* P3: digitizer and right side ports (Microchip hub) */
21 pei_data_usb2_port(pei_data, 2, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
22 /* P4: WLAN */
23 pei_data_usb2_port(pei_data, 3, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
24 /* P5: fingerprint reader */
25 pei_data_usb2_port(pei_data, 4, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
26 /* P6: WWAN */
27 pei_data_usb2_port(pei_data, 5, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
28 /* P7: webcam */
29 pei_data_usb2_port(pei_data, 6, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
30 /* P8 */
31 pei_data_usb2_port(pei_data, 7, 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL);
33 /* P1 */
34 pei_data_usb3_port(pei_data, 0, 1, USB_OC_PIN_SKIP, 0);
35 /* P2: left side, USB debug */
36 pei_data_usb3_port(pei_data, 1, 1, USB_OC_PIN_SKIP, 0);
37 /* P3: right side (Microchip hub) */
38 pei_data_usb3_port(pei_data, 2, 1, USB_OC_PIN_SKIP, 0);
39 /* P4 */
40 pei_data_usb3_port(pei_data, 3, 1, USB_OC_PIN_SKIP, 0);