blob: 81557eb8ff48c5882b4d1d13f0434d3684c9f44c [file] [log] [blame]
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +08001chip soc/intel/skylake
2
3 # GPE configuration
4 register "gpe0_dw0" = "GPP_C"
5
6 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
7 register "gen2_dec" = "0x000c0201"
8
9 # FSP Configuration
Angel Ponse16692e2020-08-03 12:54:48 +020010 register "DspEnable" = "1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080011
12 # VR Settings Configuration for 4 Domains
13 #+----------------+-------+-------+-------+-------+
14 #| Domain/Setting | SA | IA | GTUS | GTS |
15 #+----------------+-------+-------+-------+-------+
16 #| Psi1Threshold | 20A | 20A | 20A | 20A |
17 #| Psi2Threshold | 5A | 5A | 5A | 5A |
18 #| Psi3Threshold | 1A | 1A | 1A | 1A |
19 #| Psi3Enable | 1 | 1 | 1 | 1 |
20 #| Psi4Enable | 1 | 1 | 1 | 1 |
21 #| ImonSlope | 0 | 0 | 0 | 0 |
22 #| ImonOffset | 0 | 0 | 0 | 0 |
23 #| IccMax | 7A | 34A | 35A | 35A |
24 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
25 #+----------------+-------+-------+-------+-------+
26 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020027 .vr_config_enable = 1,
28 .psi1threshold = VR_CFG_AMP(20),
29 .psi2threshold = VR_CFG_AMP(5),
30 .psi3threshold = VR_CFG_AMP(1),
31 .psi3enable = 1,
32 .psi4enable = 1,
33 .imon_slope = 0,
34 .imon_offset = 0,
35 .icc_max = VR_CFG_AMP(7),
36 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080037 }"
38
39 # Enable Root ports.
40 # PCIE Port 1 x4 -> SLOT1
41 register "PcieRpEnable[0]" = "1"
42 register "PcieRpClkReqSupport[0]" = "1"
43 register "PcieRpClkReqNumber[0]" = "2"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +040044 # RP1, uses CLK SRC 2
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080045 register "PcieRpClkSrcNumber[0]" = "2"
46
47 # PCIE Port 5 x1 -> SLOT2/LAN
48 register "PcieRpEnable[4]" = "1"
49 register "PcieRpClkReqSupport[4]" = "1"
50 register "PcieRpClkReqNumber[4]" = "3"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +040051 # RP5, uses CLK SRC 3
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080052 register "PcieRpClkSrcNumber[4]" = "3"
53
54 # PCIE Port 6 x1 -> SLOT3
55 register "PcieRpEnable[5]" = "1"
56 register "PcieRpClkReqSupport[5]" = "1"
57 register "PcieRpClkReqNumber[5]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +040058 # RP6, uses CLK SRC 1
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080059 register "PcieRpClkSrcNumber[5]" = "1"
60
61 # PCIE Port 7 Disabled
62 # PCIE Port 8 Disabled
63 # PCIE Port 9 x1 -> WLAN
64 register "PcieRpEnable[8]" = "1"
65 register "PcieRpClkReqSupport[8]" = "1"
66 register "PcieRpClkReqNumber[8]" = "5"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +040067 # RP9, uses CLK SRC 5
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080068 register "PcieRpClkSrcNumber[8]" = "5"
69
70 # PCIE Port 10 x1 -> WiGig
71 register "PcieRpEnable[9]" = "1"
72 register "PcieRpClkReqSupport[9]" = "1"
73 register "PcieRpClkReqNumber[9]" = "4"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +040074 # RP10, uses CLK SRC 4
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080075 register "PcieRpClkSrcNumber[9]" = "4"
76
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080077
78 register "SsicPortEnable" = "1" # Enable SSIC for WWAN
79
80 # Must leave UART0 enabled or SD/eMMC will not work as PCI
Felix Singer21b5a9a2023-10-23 07:26:28 +020081 register "SerialIoDevMode" = "{
82 [PchSerialIoIndexI2C0] = PchSerialIoPci,
83 [PchSerialIoIndexI2C1] = PchSerialIoPci,
84 [PchSerialIoIndexI2C2] = PchSerialIoPci,
85 [PchSerialIoIndexI2C3] = PchSerialIoPci,
86 [PchSerialIoIndexI2C4] = PchSerialIoPci,
87 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
88 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
89 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
90 [PchSerialIoIndexUart0] = PchSerialIoPci,
91 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
92 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080093 }"
94
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080095 device domain 0 on
Felix Singer6c83a712024-06-23 00:25:18 +020096 device ref south_xhci on
97 register "usb2_ports" = "{
98 [0] = USB2_PORT_MAX(OC0), /* TYPE-A Port */
99 [1] = USB2_PORT_MAX(OC2), /* TYPE-A Port */
100 [2] = USB2_PORT_MAX(OC_SKIP), /* Bluetooth */
101 [4] = USB2_PORT_MAX(OC_SKIP), /* Type-A Port */
102 [5] = USB2_PORT_MAX(OC2), /* TYPE-A Port */
103 [6] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
104 [7] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
105 [8] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
106 [9] = USB2_PORT_MAX(OC1), /* TYPE-A Port */
107 [10] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
108 [11] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
109 }"
110
111 register "usb3_ports" = "{
112 [0] = USB3_PORT_DEFAULT(OC0), /* TYPE-A Port */
113 [1] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */
114 [2] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */
115 [3] = USB3_PORT_DEFAULT(OC1), /* TYPE-A Port */
116 }"
117 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100118 device ref imgu on end
119 device ref cio on end
120 device ref pcie_rp1 on end # x4 SLOT1
121 device ref pcie_rp5 on end # x1 SLOT2/LAN
122 device ref pcie_rp6 on end # x1 SLOT3
123 device ref pcie_rp9 on end # x1 WLAN
124 device ref pcie_rp10 on end # x1 WIGIG
125 device ref lpc_espi on
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800126 chip drivers/pc80/tpm
127 device pnp 0c31.0 on end
128 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100129 end
130 device ref hda on end
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800131 end
132end