blob: 231fbadae4f4924d4e738f9948ff783822cc1b1c [file] [log] [blame]
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +08001chip soc/intel/skylake
2
3 # Enable deep Sx states
4 register "deep_s5_enable_ac" = "0"
5 register "deep_s5_enable_dc" = "0"
6 register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN"
7
8 # GPE configuration
9 # Note that GPE events called out in ASL code rely on this
10 # route. i.e. If this route changes then the affected GPE
11 # offset bits also need to be changed.
12 register "gpe0_dw0" = "GPP_B"
13 register "gpe0_dw1" = "GPP_D"
14 register "gpe0_dw2" = "GPP_E"
15
16 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
17 register "gen1_dec" = "0x00fc0801"
18
19 # Enable "Intel Speed Shift Technology"
20 register "speed_shift_enable" = "1"
21
22 # Enable DPTF
23 register "dptf_enable" = "1"
24
25 # FSP Configuration
Angel Ponsdefdc852020-07-26 17:17:24 +020026 register "HeciEnabled" = "0"
Angel Ponse8c82832020-07-26 17:21:57 +020027 register "IoBufferOwnership" = "0"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080028 register "ScsEmmcHs400Enabled" = "1"
29 register "ScsSdCardEnabled" = "2"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080030 register "SkipExtGfxScan" = "1"
31 register "Device4Enable" = "1"
32 register "SaGv" = "SaGv_Enabled"
Michael Niewöhner62385632019-09-23 14:38:41 +020033 register "PchHdaVcType" = "Vc1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080034
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080035 # Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
36 # SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010037 register "PmConfigSlpS3MinAssert" = "2"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080038
39 # SLP_S4 Minimum Assertion Width. Values 0: default, 1: 1s, 2: 2s, 3: 3s, 4: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010040 register "PmConfigSlpS4MinAssert" = "4"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080041
42 # SLP_SUS Minimum Assertion Width. Values 0: 0ms, 1: 500ms, 2: 1s, 3: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010043 register "PmConfigSlpSusMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080044
45 # SLP_A Minimum Assertion Width. Values 0: 0ms, 1: 4s, 2: 98ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010046 register "PmConfigSlpAMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080047
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080048
49 # VR Settings Configuration for 4 Domains
50 #+----------------+-------+-------+-------+-------+
51 #| Domain/Setting | SA | IA | GTUS | GTS |
52 #+----------------+-------+-------+-------+-------+
53 #| Psi1Threshold | 20A | 20A | 20A | 20A |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010054 #| Psi2Threshold | 4A | 5A | 5A | 5A |
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080055 #| Psi3Threshold | 1A | 1A | 1A | 1A |
56 #| Psi3Enable | 1 | 1 | 1 | 1 |
57 #| Psi4Enable | 1 | 1 | 1 | 1 |
58 #| ImonSlope | 0 | 0 | 0 | 0 |
59 #| ImonOffset | 0 | 0 | 0 | 0 |
60 #| IccMax | 7A | 34A | 35A | 35A |
61 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
62 #+----------------+-------+-------+-------+-------+
63 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
64 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010065 .psi1threshold = VR_CFG_AMP(20), \
66 .psi2threshold = VR_CFG_AMP(4), \
67 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080068 .psi3enable = 1, \
69 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010070 .imon_slope = 0, \
71 .imon_offset = 0, \
72 .icc_max = VR_CFG_AMP(7), \
73 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080074 }"
75
76 register "domain_vr_config[VR_IA_CORE]" = "{
77 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010078 .psi1threshold = VR_CFG_AMP(20), \
79 .psi2threshold = VR_CFG_AMP(5), \
80 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080081 .psi3enable = 1, \
82 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010083 .imon_slope = 0, \
84 .imon_offset = 0, \
85 .icc_max = VR_CFG_AMP(34), \
86 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080087 }"
88
89 register "domain_vr_config[VR_GT_UNSLICED]" = "{
90 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010091 .psi1threshold = VR_CFG_AMP(20), \
92 .psi2threshold = VR_CFG_AMP(5), \
93 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080094 .psi3enable = 1, \
95 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010096 .imon_slope = 0, \
97 .imon_offset = 0, \
98 .icc_max = VR_CFG_AMP(35),\
99 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800100 }"
101
102 register "domain_vr_config[VR_GT_SLICED]" = "{
103 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +0100104 .psi1threshold = VR_CFG_AMP(20), \
105 .psi2threshold = VR_CFG_AMP(5), \
106 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800107 .psi3enable = 1, \
108 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +0100109 .imon_slope = 0, \
110 .imon_offset = 0, \
111 .icc_max = VR_CFG_AMP(35), \
112 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800113 }"
114
115 # Send an extra VR mailbox command for the PS4 exit issue
116 register "SendVrMbxCmd" = "2"
117
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800118 device cpu_cluster 0 on
119 device lapic 0 on end
120 end
121 device domain 0 on
122 device pci 00.0 on end # Host Bridge
123 device pci 02.0 on end # Integrated Graphics Device
124 device pci 14.0 on end # USB xHCI
125 device pci 14.1 off end # USB xDCI (OTG)
126 device pci 14.2 on end # Thermal Subsystem
127 device pci 15.0 on end # I2C #0
128 device pci 15.1 on end # I2C #1
129 device pci 15.2 on end # I2C #2
130 device pci 15.3 on end # I2C #3
131 device pci 16.0 on end # Management Engine Interface 1
132 device pci 16.1 off end # Management Engine Interface 2
133 device pci 16.2 off end # Management Engine IDE-R
134 device pci 16.3 off end # Management Engine KT Redirection
135 device pci 16.4 off end # Management Engine Interface 3
136 device pci 17.0 off end # SATA
137 device pci 19.0 on end # UART #2
138 device pci 19.1 off end # I2C #5
139 device pci 19.2 on end # I2C #4
140 device pci 1c.0 on end # PCI Express Port 1
141 device pci 1c.1 off end # PCI Express Port 2
142 device pci 1c.2 off end # PCI Express Port 3
143 device pci 1c.3 off end # PCI Express Port 4
144 device pci 1c.4 off end # PCI Express Port 5
145 device pci 1c.5 off end # PCI Express Port 6
146 device pci 1c.6 off end # PCI Express Port 7
147 device pci 1c.7 off end # PCI Express Port 8
148 device pci 1d.0 on end # PCI Express Port 9
149 device pci 1d.1 off end # PCI Express Port 10
150 device pci 1d.2 off end # PCI Express Port 11
151 device pci 1d.3 off end # PCI Express Port 12
152 device pci 1e.0 on end # UART #0
153 device pci 1e.1 off end # UART #1
154 device pci 1e.2 off end # GSPI #0
155 device pci 1e.3 off end # GSPI #1
156 device pci 1e.4 on end # eMMC
157 device pci 1e.5 off end # SDIO
158 device pci 1e.6 on end # SDCard
159 device pci 1f.0 on end # LPC Interface
160 device pci 1f.1 on end # P2SB
161 device pci 1f.2 on end # Power Management Controller
Felix Singer048d9b52020-07-25 14:31:58 +0200162 device pci 1f.3 off end # Intel HDA
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800163 device pci 1f.4 on end # SMBus
164 device pci 1f.5 on end # PCH SPI
165 device pci 1f.6 off end # GbE
166 end
167end