Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 1 | chip soc/intel/skylake |
| 2 | |
| 3 | # FSP Configuration |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 4 | register "DspEnable" = "0" |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 5 | register "ScsEmmcHs400Enabled" = "0" |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 6 | |
Nico Huber | 44e89af | 2019-02-23 19:24:51 +0100 | [diff] [blame] | 7 | register "serirq_mode" = "SERIRQ_CONTINUOUS" |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 8 | |
| 9 | # Enable PCIE slot |
| 10 | register "PcieRpEnable[5]" = "1" |
| 11 | register "PcieRpClkReqSupport[5]" = "1" |
| 12 | register "PcieRpClkReqNumber[5]" = "1" #uses SRCCLKREQ1 |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 13 | # RP6, uses CLK SRC 1 |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 14 | register "PcieRpClkSrcNumber[5]" = "1" |
| 15 | |
| 16 | register "PcieRpEnable[6]" = "1" |
| 17 | register "PcieRpClkReqSupport[6]" = "1" |
| 18 | register "PcieRpClkReqNumber[6]" = "2" #uses SRCCLKREQ2 |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 19 | # RP7, uses CLK SRC 2 |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 20 | register "PcieRpClkSrcNumber[6]" = "2" |
| 21 | |
| 22 | register "PcieRpEnable[7]" = "1" |
| 23 | register "PcieRpClkReqSupport[7]" = "1" |
| 24 | register "PcieRpClkReqNumber[7]" = "3" #uses SRCCLKREQ3 |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 25 | # RP8, uses CLK SRC 3 |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 26 | register "PcieRpClkSrcNumber[7]" = "3" |
| 27 | |
| 28 | register "PcieRpEnable[8]" = "1" |
| 29 | register "PcieRpClkReqSupport[8]" = "1" |
| 30 | register "PcieRpClkReqNumber[8]" = "4" #uses SRCCLKREQ4 |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 31 | # RP9, uses CLK SRC 4 |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 32 | register "PcieRpClkSrcNumber[8]" = "4" |
| 33 | |
| 34 | register "PcieRpEnable[13]" = "1" |
| 35 | register "PcieRpClkReqSupport[13]" = "1" |
| 36 | register "PcieRpClkReqNumber[13]" = "5" #uses SRCCLKREQ5 |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 37 | # RP14, uses CLK SRC 5 |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 38 | register "PcieRpClkSrcNumber[13]" = "5" |
| 39 | |
| 40 | register "PcieRpEnable[16]" = "1" |
| 41 | register "PcieRpClkReqSupport[16]" = "1" |
| 42 | register "PcieRpClkReqNumber[16]" = "7" #uses SRCCLKREQ7 |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 43 | # RP17, uses CLK SRC 7 |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 44 | register "PcieRpClkSrcNumber[16]" = "7" |
| 45 | |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 46 | # USB related |
| 47 | register "SsicPortEnable" = "1" |
| 48 | |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 49 | |
Felix Singer | 21b5a9a | 2023-10-23 07:26:28 +0200 | [diff] [blame] | 50 | register "SerialIoDevMode" = "{ |
| 51 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 52 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 53 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, |
| 54 | [PchSerialIoIndexI2C3] = PchSerialIoDisabled, |
| 55 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, |
| 56 | [PchSerialIoIndexI2C5] = PchSerialIoDisabled, |
| 57 | [PchSerialIoIndexSpi0] = PchSerialIoDisabled, |
| 58 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
| 59 | [PchSerialIoIndexUart0] = PchSerialIoPci, |
| 60 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 61 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 62 | }" |
| 63 | |
| 64 | # PL2 override 60W |
Sumeet R Pawnikar | 97c5464 | 2020-05-10 01:24:11 +0530 | [diff] [blame] | 65 | register "power_limits_config" = "{ |
| 66 | .tdp_pl2_override = 60, |
| 67 | }" |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 68 | |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 69 | device domain 0 on |
Felix Singer | 6c83a71 | 2024-06-23 00:25:18 +0200 | [diff] [blame] | 70 | device ref south_xhci on |
| 71 | register "usb2_ports" = "{ |
| 72 | [0] = USB2_PORT_MID(OC_SKIP), /* OTG */ |
| 73 | [1] = USB2_PORT_MID(OC3), /* Touch Pad */ |
| 74 | [2] = USB2_PORT_MID(OC_SKIP), /* M.2 BT */ |
| 75 | [3] = USB2_PORT_MID(OC_SKIP), /* Touch Panel */ |
| 76 | [4] = USB2_PORT_MID(OC_SKIP), /* M.2 WWAN */ |
| 77 | [5] = USB2_PORT_MID(OC0), /* Front Panel */ |
| 78 | [6] = USB2_PORT_MID(OC0), /* Front Panel */ |
| 79 | [7] = USB2_PORT_MID(OC2), /* Stacked conn (lan + usb) */ |
| 80 | [8] = USB2_PORT_MID(OC2), /* Stacked conn (lan + usb) */ |
| 81 | [9] = USB2_PORT_MID(OC1), /* LAN MAGJACK */ |
| 82 | [10] = USB2_PORT_MID(OC1), /* LAN MAGJACK */ |
| 83 | [11] = USB2_PORT_MID(OC_SKIP), /* Finger print sensor */ |
| 84 | [12] = USB2_PORT_MID(OC4), /* USB 2 stack conn */ |
| 85 | [13] = USB2_PORT_MID(OC4), /* USB 2 stack conn */ |
| 86 | }" |
| 87 | |
| 88 | register "usb3_ports" = "{ |
| 89 | [0] = USB3_PORT_DEFAULT(OC5), /* OTG */ |
| 90 | [1] = USB3_PORT_DEFAULT(OC_SKIP), /* M.2 WWAN */ |
| 91 | [2] = USB3_PORT_DEFAULT(OC3), /* Flex */ |
| 92 | [3] = USB3_PORT_DEFAULT(OC_SKIP), /* IVCAM */ |
| 93 | [4] = USB3_PORT_DEFAULT(OC1), /* LAN MAGJACK */ |
| 94 | [5] = USB3_PORT_DEFAULT(OC0), /* Front Panel */ |
| 95 | [6] = USB3_PORT_DEFAULT(OC0), /* Front Panel */ |
| 96 | [7] = USB3_PORT_DEFAULT(OC2), /* Stack Conn */ |
| 97 | [8] = USB3_PORT_DEFAULT(OC2), /* Stack Conn */ |
| 98 | [9] = USB3_PORT_DEFAULT(OC1), /* LAN MAGJACK */ |
| 99 | }" |
| 100 | end |
Felix Singer | 2dff4f0 | 2023-11-16 01:17:31 +0100 | [diff] [blame] | 101 | device ref sa_thermal off end |
| 102 | device ref i2c2 off end |
| 103 | device ref i2c3 off end |
Felix Singer | df7de39 | 2024-06-23 04:59:03 +0200 | [diff] [blame^] | 104 | device ref sata on |
| 105 | register "SataSalpSupport" = "1" |
| 106 | register "SataPortsEnable" = "{ |
| 107 | [0] = 1, |
| 108 | [1] = 1, |
| 109 | [2] = 1, |
| 110 | [3] = 1, |
| 111 | [4] = 1, |
| 112 | [5] = 1, |
| 113 | [6] = 1, |
| 114 | [7] = 1, |
| 115 | }" |
| 116 | end |
Felix Singer | 2dff4f0 | 2023-11-16 01:17:31 +0100 | [diff] [blame] | 117 | device ref i2c4 off end |
| 118 | device ref emmc off end |
| 119 | device ref sdxc off end |
| 120 | device ref hda on end |
| 121 | device ref gbe on end |
Praveen hodagatta pranesh | d6e0054 | 2018-11-09 18:15:24 +0800 | [diff] [blame] | 122 | end |
| 123 | end |