blob: 093786cbd5af4421bea80e314ccfaff25ca55ada [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
Michael Niewöhner62385632019-09-23 14:38:41 +020014 # FIXME: find out why FSP crashes without this
15 register "PchHdaVcType" = "Vc1"
16
Michael Niewöhner33533c02019-10-19 21:15:15 +020017 # USB configuration
18 # USB2/3
19 register "usb2_ports[0]" = "USB2_PORT_MID(OC0)"
20 register "usb2_ports[1]" = "USB2_PORT_MID(OC0)"
21
22 # ?
23 register "usb2_ports[14]" = "USB2_PORT_MID(OC0)"
24 register "usb2_ports[15]" = "USB2_PORT_MID(OC0)"
25
26 # USB4/5
27 register "usb2_ports[2]" = "USB2_PORT_MID(OC1)"
28 register "usb2_ports[3]" = "USB2_PORT_MID(OC1)"
29
30 # USB0/1
31 register "usb2_ports[4]" = "USB2_PORT_MID(OC2)"
32 register "usb2_ports[5]" = "USB2_PORT_MID(OC2)"
33
34 # USB9/10 (USB3.0)
35 register "usb2_ports[8]" = "USB2_PORT_MID(OC3)"
36 register "usb2_ports[12]" = "USB2_PORT_MID(OC3)"
37 register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC3)"
38 register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC3)"
39
40 # USB6/7 (USB3.0)
41 register "usb2_ports[10]" = "USB2_PORT_MID(OC4)"
42 register "usb2_ports[11]" = "USB2_PORT_MID(OC4)"
43 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC4)"
44 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC4)"
45
46 # USB8 (USB3.0)
47 register "usb2_ports[9]" = "USB2_PORT_MID(OC5)"
48 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC5)"
49
50 # IPMI USB HUB
51 register "usb2_ports[13]" = "USB2_PORT_MID(OC_SKIP)"
52
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020053 device domain 0 on
54 device pci 01.0 on end # unused
55 device pci 01.1 on # PCIE Slot (JPCIE1)
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010056 register "PcieRpEnable[0]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020057 smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "CPU SLOT6 PCI-E 3.0 X8" "SlotDataBusWidth4X"
58 end
59 device pci 1c.0 on # PCI Express Port 1 (Slot JPCIE1)
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010060 register "PcieRpEnable[2]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020061 smbios_slot_desc "SlotTypePciExpressGen3X4" "SlotLengthLong" "PCH SLOT4 PCI-E 3.0 X2(IN X4)" "SlotDataBusWidth2X"
62 end
63 device pci 1c.2 on # PCI Express Port 3
64 device pci 00.0 on # Aspeed PCI Bridge
65 device pci 00.0 on end # Aspeed 2400 VGA
66 end
67 end
68 device pci 1c.4 on # PCI Express Port 5
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010069 register "PcieRpEnable[4]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020070 device pci 00.0 on end # 10GbE
71 device pci 00.1 on end # 10GbE
72 end
73 device pci 1d.0 on # PCI Express Port 9
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010074 register "PcieRpEnable[8]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020075 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2 2280" "SlotDataBusWidth4X"
76 end
77 device pci 1f.0 on # LPC Interface
78 chip drivers/ipmi
79 # On cold boot it takes a while for the BMC to start the IPMI service
80 register "wait_for_bmc" = "1"
81 register "bmc_boot_timeout" = "60"
82 device pnp ca2.0 on end # IPMI KCS
83 end
84 chip superio/common
85 device pnp 2e.0 on
86 chip superio/aspeed/ast2400
87 device pnp 2e.2 on # SUART1
88 io 0x60 = 0x3f8
89 irq 0x70 = 4
Michael Niewöhner1c8e4642020-02-23 22:51:05 +010090 drq 0xf0 = 0x00
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020091 end
92 device pnp 2e.3 on # SUART2
93 io 0x60 = 0x2f8
94 irq 0x70 = 3
Michael Niewöhner1c8e4642020-02-23 22:51:05 +010095 drq 0xf0 = 0x00
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020096 end
97 device pnp 2e.4 on # SWC
98 io 0x60 = 0xa00
99 io 0x62 = 0xa10
100 io 0x64 = 0xa20
101 io 0x66 = 0xa30
Michael Niewöhner2a28c812020-07-25 23:47:44 +0200102 irq 0x70 = 0x00
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +0200103 end
Patrick Rudolphbaa8c782019-10-15 14:52:29 +0200104 device pnp 2e.5 off end # KBC
Michael Niewöhner2a28c812020-07-25 23:47:44 +0200105 device pnp 2e.7 on # GPIO
106 irq 0x70 = 0x00
107 end
Michael Niewöhnerb1f1ee32020-02-10 20:58:50 +0100108 device pnp 2e.b off end # SUART3
109 device pnp 2e.c off end # SUART4
Michael Niewöhner2a28c812020-07-25 23:47:44 +0200110 device pnp 2e.d on # iLPC2AHB
111 irq 0x70 = 0x00
112 end
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +0200113 device pnp 2e.e on # Mailbox
114 io 0x60 = 0xa40
115 irq 0x70 = 0x00
116 end
117 end
118 end
119 end
120 end
121 end
122end