blob: ec67ce184e934a18b8400503267480223385dba0 [file] [log] [blame]
Lee Leahyc4210412015-06-29 11:37:56 -07001chip soc/intel/skylake
2
Duncan Laurie1c2de9f2015-09-03 16:05:00 -07003 # Enable deep Sx states
Duncan Laurie1c2de9f2015-09-03 16:05:00 -07004 register "deep_s5_enable" = "1"
5 register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN"
6
7 # GPE configuration
8 # Note that GPE events called out in ASL code rely on this
9 # route. i.e. If this route changes then the affected GPE
10 # offset bits also need to be changed.
Duncan Lauried6a42f92015-09-08 16:28:21 -070011 register "gpe0_dw0" = "GPP_B"
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070012 register "gpe0_dw1" = "GPP_D"
13 register "gpe0_dw2" = "GPP_E"
14
15 # EC host command range is in 0x800-0x8ff
16 register "gen1_dec" = "0x00fc0801"
17
Duncan Laurie74b964e2015-09-04 10:41:02 -070018 # Enable DPTF
19 register "dptf_enable" = "1"
20
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070021 # FSP Configuration
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070022 register "EnableAzalia" = "1"
23 register "DspEnable" = "1"
24 register "IoBufferOwnership" = "3"
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070025 register "SmbusEnable" = "1"
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070026 register "ScsEmmcEnabled" = "1"
27 register "ScsEmmcHs400Enabled" = "1"
28 register "ScsSdCardEnabled" = "2"
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070029 register "InternalGfx" = "1"
30 register "SkipExtGfxScan" = "1"
31 register "Device4Enable" = "1"
Rizwan Qureshifb879982015-11-19 16:06:28 +053032 register "WakeConfigWolEnableOverride" = "0x01"
33
34 # Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
35 # SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
36 register "PmConfigSlpS3MinAssert" = "0x02"
37
38 # SLP_S4 Minimum Assertion Width. Values 0: default, 1: 1s, 2: 2s, 3: 3s, 4: 4s
39 register "PmConfigSlpS4MinAssert" = "0x04"
40
41 # SLP_SUS Minimum Assertion Width. Values 0: 0ms, 1: 500ms, 2: 1s, 3: 4s
42 register "PmConfigSlpSusMinAssert" = "0x03"
43
44 # SLP_A Minimum Assertion Width. Values 0: 0ms, 1: 4s, 2: 98ms, 3: 2s
45 register "PmConfigSlpAMinAssert" = "0x03"
46
47 # Determines if enable Serial IRQ. Values 0: Disabled, 1: Enabled
48 register "SerialIrqConfigSirqEnable" = "0x01"
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070049
50 # Enable Root port 1 and 5.
51 register "PcieRpEnable[0]" = "1"
52 register "PcieRpEnable[4]" = "1"
53 # Enable CLKREQ#
54 register "PcieRpClkReqSupport[0]" = "1"
55 register "PcieRpClkReqSupport[4]" = "1"
56 # RP 1 uses SRCCLKREQ1# while RP 5 uses SRCCLKREQ2#
57 register "PcieRpClkReqNumber[0]" = "1"
58 register "PcieRpClkReqNumber[4]" = "2"
Lee Leahyc4210412015-06-29 11:37:56 -070059
Duncan Lauriefe866662015-10-16 13:58:11 -070060 register "usb2_ports[0]" = "USB2_PORT_TYPE_C" # Type-C Port 1
61 register "usb2_ports[1]" = "USB2_PORT_TYPE_C" # Type-C Port 2
62 register "usb2_ports[2]" = "USB2_PORT_MID" # Bluetooth
63 register "usb2_ports[4]" = "USB2_PORT_MID" # Type-A Port (card)
64 register "usb2_ports[6]" = "USB2_PORT_FLEX" # Camera
65 register "usb2_ports[8]" = "USB2_PORT_LONG" # Type-A Port (board)
Duncan Laurie2b9595a2015-08-28 17:48:11 -070066
Duncan Lauriefe866662015-10-16 13:58:11 -070067 register "usb3_ports[0]" = "USB3_PORT_DEFAULT" # Type-C Port 1
68 register "usb3_ports[1]" = "USB3_PORT_DEFAULT" # Type-C Port 2
69 register "usb3_ports[2]" = "USB3_PORT_DEFAULT" # Type-A Port (card)
70 register "usb3_ports[3]" = "USB3_PORT_DEFAULT" # Type-A Port (board)
Rizwan Qureshi9cd8e5a2015-10-05 19:13:01 +053071
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070072 # Must leave UART0 enabled or SD/eMMC will not work as PCI
73 register "SerialIoDevMode" = "{ \
74 [PchSerialIoIndexI2C0] = PchSerialIoPci, \
75 [PchSerialIoIndexI2C1] = PchSerialIoPci, \
76 [PchSerialIoIndexI2C2] = PchSerialIoDisabled, \
77 [PchSerialIoIndexI2C3] = PchSerialIoDisabled, \
78 [PchSerialIoIndexI2C4] = PchSerialIoPci, \
79 [PchSerialIoIndexI2C5] = PchSerialIoDisabled, \
80 [PchSerialIoIndexSpi0] = PchSerialIoDisabled, \
81 [PchSerialIoIndexSpi1] = PchSerialIoDisabled, \
82 [PchSerialIoIndexUart0] = PchSerialIoPci, \
83 [PchSerialIoIndexUart1] = PchSerialIoDisabled, \
Rizwan Qureshi9cd8e5a2015-10-05 19:13:01 +053084 [PchSerialIoIndexUart2] = PchSerialIoSkipInit, \
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070085 }"
Lee Leahyc4210412015-06-29 11:37:56 -070086
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070087 device cpu_cluster 0 on
Lee Leahyc4210412015-06-29 11:37:56 -070088 device lapic 0 on end
89 end
90 device domain 0 on
Lee Leahyc4210412015-06-29 11:37:56 -070091 device pci 00.0 on end # Host Bridge
92 device pci 02.0 on end # Integrated Graphics Device
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070093 device pci 14.0 on end # USB xHCI
94 device pci 14.1 off end # USB xDCI (OTG)
Lee Leahyc4210412015-06-29 11:37:56 -070095 device pci 14.2 on end # Thermal Subsystem
Duncan Laurie1c2de9f2015-09-03 16:05:00 -070096 device pci 15.0 on end # I2C #0
97 device pci 15.1 on end # I2C #1
98 device pci 15.2 off end # I2C #2
99 device pci 15.3 off end # I2C #3
Lee Leahyc4210412015-06-29 11:37:56 -0700100 device pci 16.0 on end # Management Engine Interface 1
101 device pci 16.1 off end # Management Engine Interface 2
Duncan Laurie1c2de9f2015-09-03 16:05:00 -0700102 device pci 16.2 off end # Management Engine IDE-R
103 device pci 16.3 off end # Management Engine KT Redirection
104 device pci 16.4 off end # Management Engine Interface 3
105 device pci 17.0 off end # SATA
106 device pci 19.0 on end # UART #2
107 device pci 19.1 off end # I2C #5
108 device pci 19.2 on end # I2C #4
Pratik Prajapatif1acb9b2015-08-13 15:21:37 -0700109 device pci 1c.0 on end # PCI Express Port 1
Lee Leahyc4210412015-06-29 11:37:56 -0700110 device pci 1c.1 off end # PCI Express Port 2
111 device pci 1c.2 off end # PCI Express Port 3
112 device pci 1c.3 off end # PCI Express Port 4
Pratik Prajapatif1acb9b2015-08-13 15:21:37 -0700113 device pci 1c.4 on end # PCI Express Port 5
Lee Leahyc4210412015-06-29 11:37:56 -0700114 device pci 1c.5 off end # PCI Express Port 6
115 device pci 1c.6 off end # PCI Express Port 7
116 device pci 1c.7 off end # PCI Express Port 8
Pratik Prajapatif1acb9b2015-08-13 15:21:37 -0700117 device pci 1d.0 off end # PCI Express Port 9
Lee Leahyc4210412015-06-29 11:37:56 -0700118 device pci 1d.1 off end # PCI Express Port 10
119 device pci 1d.2 off end # PCI Express Port 11
120 device pci 1d.3 off end # PCI Express Port 12
121 device pci 1e.0 on end # UART #0
Duncan Laurie1c2de9f2015-09-03 16:05:00 -0700122 device pci 1e.1 off end # UART #1
123 device pci 1e.2 off end # GSPI #0
124 device pci 1e.3 off end # GSPI #1
Lee Leahyc4210412015-06-29 11:37:56 -0700125 device pci 1e.4 on end # eMMC
126 device pci 1e.5 off end # SDIO
127 device pci 1e.6 on end # SDCard
128 device pci 1f.0 on
Duncan Laurie1c2de9f2015-09-03 16:05:00 -0700129 chip drivers/pc80/tpm
130 device pnp 0c31.0 on end
131 end
Lee Leahyc4210412015-06-29 11:37:56 -0700132 chip ec/google/chromeec
133 device pnp 0c09.0 on end
134 end
135 end # LPC Interface
Naveen Krishna Chatradhi133dcd32015-07-10 16:00:51 +0530136 device pci 1f.2 on end # Power Management Controller
Duncan Laurie1c2de9f2015-09-03 16:05:00 -0700137 device pci 1f.3 on end # Intel HDA
138 device pci 1f.4 on end # SMBus
139 device pci 1f.5 on end # PCH SPI
140 device pci 1f.6 off end # GbE
Lee Leahyc4210412015-06-29 11:37:56 -0700141 end
142end