blob: f481c77bdabd683d5fa74a7f3a2a9cad84453ec8 [file] [log] [blame]
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +02001chip soc/intel/skylake
2
3 # GPE configuration
4 # Note that GPE events called out in ASL code rely on this
5 # route. i.e. If this route changes then the affected GPE
6 # offset bits also need to be changed.
7 register "gpe0_dw0" = "GPP_B"
8 register "gpe0_dw1" = "GPP_D"
9 register "gpe0_dw2" = "GPP_E"
10
11 register "gen1_dec" = "0x007c0a01" # Super IO SWC
12 register "gen2_dec" = "0x000c0ca1" # IPMI KCS
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020013
14 # PCIe configuration
15 # Enable JPCIE1
16 register "PcieRpEnable[0]" = "1"
17 register "PcieRpClkReqSupport[0]" = "0"
18
19 # Enable ASpeed PCI bridge
20 register "PcieRpEnable[2]" = "1"
21 register "PcieRpClkReqSupport[2]" = "0"
22
23 # Enable X550T (10GbE)
24 register "PcieRpEnable[4]" = "1"
25 register "PcieRpClkReqSupport[4]" = "0"
26
27 # Enable M.2
28 register "PcieRpEnable[8]" = "1"
29 register "PcieRpClkReqSupport[8]" = "0"
30
Michael Niewöhner62385632019-09-23 14:38:41 +020031 # FIXME: find out why FSP crashes without this
32 register "PchHdaVcType" = "Vc1"
33
Michael Niewöhner33533c02019-10-19 21:15:15 +020034 # USB configuration
35 # USB2/3
36 register "usb2_ports[0]" = "USB2_PORT_MID(OC0)"
37 register "usb2_ports[1]" = "USB2_PORT_MID(OC0)"
38
39 # ?
40 register "usb2_ports[14]" = "USB2_PORT_MID(OC0)"
41 register "usb2_ports[15]" = "USB2_PORT_MID(OC0)"
42
43 # USB4/5
44 register "usb2_ports[2]" = "USB2_PORT_MID(OC1)"
45 register "usb2_ports[3]" = "USB2_PORT_MID(OC1)"
46
47 # USB0/1
48 register "usb2_ports[4]" = "USB2_PORT_MID(OC2)"
49 register "usb2_ports[5]" = "USB2_PORT_MID(OC2)"
50
51 # USB9/10 (USB3.0)
52 register "usb2_ports[8]" = "USB2_PORT_MID(OC3)"
53 register "usb2_ports[12]" = "USB2_PORT_MID(OC3)"
54 register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC3)"
55 register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC3)"
56
57 # USB6/7 (USB3.0)
58 register "usb2_ports[10]" = "USB2_PORT_MID(OC4)"
59 register "usb2_ports[11]" = "USB2_PORT_MID(OC4)"
60 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC4)"
61 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC4)"
62
63 # USB8 (USB3.0)
64 register "usb2_ports[9]" = "USB2_PORT_MID(OC5)"
65 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC5)"
66
67 # IPMI USB HUB
68 register "usb2_ports[13]" = "USB2_PORT_MID(OC_SKIP)"
69
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020070 device domain 0 on
71 device pci 01.0 on end # unused
72 device pci 01.1 on # PCIE Slot (JPCIE1)
73 smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "CPU SLOT6 PCI-E 3.0 X8" "SlotDataBusWidth4X"
74 end
75 device pci 1c.0 on # PCI Express Port 1 (Slot JPCIE1)
76 smbios_slot_desc "SlotTypePciExpressGen3X4" "SlotLengthLong" "PCH SLOT4 PCI-E 3.0 X2(IN X4)" "SlotDataBusWidth2X"
77 end
78 device pci 1c.2 on # PCI Express Port 3
79 device pci 00.0 on # Aspeed PCI Bridge
80 device pci 00.0 on end # Aspeed 2400 VGA
81 end
82 end
83 device pci 1c.4 on # PCI Express Port 5
84 device pci 00.0 on end # 10GbE
85 device pci 00.1 on end # 10GbE
86 end
87 device pci 1d.0 on # PCI Express Port 9
88 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2 2280" "SlotDataBusWidth4X"
89 end
90 device pci 1f.0 on # LPC Interface
91 chip drivers/ipmi
92 # On cold boot it takes a while for the BMC to start the IPMI service
93 register "wait_for_bmc" = "1"
94 register "bmc_boot_timeout" = "60"
95 device pnp ca2.0 on end # IPMI KCS
96 end
97 chip superio/common
98 device pnp 2e.0 on
99 chip superio/aspeed/ast2400
100 device pnp 2e.2 on # SUART1
101 io 0x60 = 0x3f8
102 irq 0x70 = 4
103 end
104 device pnp 2e.3 on # SUART2
105 io 0x60 = 0x2f8
106 irq 0x70 = 3
107 end
108 device pnp 2e.4 on # SWC
109 io 0x60 = 0xa00
110 io 0x62 = 0xa10
111 io 0x64 = 0xa20
112 io 0x66 = 0xa30
113 irq 0x70 = 0xb
114 end
Patrick Rudolphbaa8c782019-10-15 14:52:29 +0200115 device pnp 2e.5 off end # KBC
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +0200116 device pnp 2e.7 on end # GPIO
Michael Niewöhnerb1f1ee32020-02-10 20:58:50 +0100117 device pnp 2e.b off end # SUART3
118 device pnp 2e.c off end # SUART4
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +0200119 device pnp 2e.d on end # iLPC2AHB
120 device pnp 2e.e on # Mailbox
121 io 0x60 = 0xa40
122 irq 0x70 = 0x00
123 end
124 end
125 end
126 end
127 end
128 end
129end