blob: 97f995d7cd9603005ee5aea5a885b9f5126477e6 [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
Michael Niewöhner62385632019-09-23 14:38:41 +020011 # FIXME: find out why FSP crashes without this
12 register "PchHdaVcType" = "Vc1"
13
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020014 device domain 0 on
Felix Singer6c83a712024-06-23 00:25:18 +020015 device ref south_xhci on
16 register "usb2_ports" = "{
17 [0] = USB2_PORT_MID(OC0), /* USB 2 */
18 [1] = USB2_PORT_MID(OC0), /* USB 3 */
19 [2] = USB2_PORT_MID(OC1), /* USB 4 */
20 [3] = USB2_PORT_MID(OC1), /* USB 5 */
21 [4] = USB2_PORT_MID(OC2), /* USB 0 */
22 [5] = USB2_PORT_MID(OC2), /* USB 1 */
23 [8] = USB2_PORT_MID(OC3), /* USB 9 (3.0) */
24 [9] = USB2_PORT_MID(OC5), /* USB 8 (3.0) */
25 [10] = USB2_PORT_MID(OC4), /* USB 6 (3.0) */
26 [11] = USB2_PORT_MID(OC4), /* USB 7 (3.0) */
27 [12] = USB2_PORT_MID(OC3), /* USB 10 (3.0) */
28 [13] = USB2_PORT_MID(OC_SKIP), /* IPMI USB hub */
29 [14] = USB2_PORT_MID(OC0), /* Unknown */
30 [15] = USB2_PORT_MID(OC0), /* Unknown */
31 }"
32
33 register "usb3_ports" = "{
34 [0] = USB3_PORT_DEFAULT(OC5), /* USB 8 */
35 [1] = USB3_PORT_DEFAULT(OC4), /* USB 6 */
36 [2] = USB3_PORT_DEFAULT(OC4), /* USB 7 */
37 [3] = USB3_PORT_DEFAULT(OC3), /* USB 9 */
38 [4] = USB3_PORT_DEFAULT(OC3), /* USB 10 */
39 }"
40 end
Felix Singera03999b2023-10-23 09:01:05 +020041 device ref peg0 on end # unused
42 device ref peg1 on
43 # Slot JPCIE1
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010044 register "PcieRpEnable[0]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020045 smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "CPU SLOT6 PCI-E 3.0 X8" "SlotDataBusWidth4X"
46 end
Felix Singera03999b2023-10-23 09:01:05 +020047 device ref pcie_rp1 on
48 # Slot JPCIE1
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010049 register "PcieRpEnable[2]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020050 smbios_slot_desc "SlotTypePciExpressGen3X4" "SlotLengthLong" "PCH SLOT4 PCI-E 3.0 X2(IN X4)" "SlotDataBusWidth2X"
51 end
Felix Singera03999b2023-10-23 09:01:05 +020052 device ref pcie_rp3 on
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020053 device pci 00.0 on # Aspeed PCI Bridge
54 device pci 00.0 on end # Aspeed 2400 VGA
55 end
56 end
Felix Singera03999b2023-10-23 09:01:05 +020057 device ref pcie_rp5 on
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010058 register "PcieRpEnable[4]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020059 device pci 00.0 on end # 10GbE
60 device pci 00.1 on end # 10GbE
61 end
Felix Singera03999b2023-10-23 09:01:05 +020062 device ref pcie_rp9 on
Michael Niewöhnerddd44f42020-11-24 01:23:28 +010063 register "PcieRpEnable[8]" = "1"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020064 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2 2280" "SlotDataBusWidth4X"
65 end
Felix Singera03999b2023-10-23 09:01:05 +020066 device ref lpc_espi on
Felix Singerdcddc53f2024-06-23 03:39:24 +020067 register "gen1_dec" = "0x007c0a01" # Super IO SWC
68 register "gen2_dec" = "0x000c0ca1" # IPMI KCS
69
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020070 chip drivers/ipmi
Michael Niewöhner6c3ba502020-11-08 19:32:13 +010071 use pch_gpio as gpio_dev
72 register "post_complete_gpio" = "GPP_B20"
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020073 # On cold boot it takes a while for the BMC to start the IPMI service
74 register "wait_for_bmc" = "1"
75 register "bmc_boot_timeout" = "60"
76 device pnp ca2.0 on end # IPMI KCS
77 end
78 chip superio/common
79 device pnp 2e.0 on
80 chip superio/aspeed/ast2400
81 device pnp 2e.2 on # SUART1
82 io 0x60 = 0x3f8
83 irq 0x70 = 4
Michael Niewöhner1c8e4642020-02-23 22:51:05 +010084 drq 0xf0 = 0x00
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020085 end
86 device pnp 2e.3 on # SUART2
87 io 0x60 = 0x2f8
88 irq 0x70 = 3
Michael Niewöhner1c8e4642020-02-23 22:51:05 +010089 drq 0xf0 = 0x00
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020090 end
91 device pnp 2e.4 on # SWC
92 io 0x60 = 0xa00
93 io 0x62 = 0xa10
94 io 0x64 = 0xa20
95 io 0x66 = 0xa30
Michael Niewöhner2a28c812020-07-25 23:47:44 +020096 irq 0x70 = 0x00
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +020097 end
Patrick Rudolphbaa8c782019-10-15 14:52:29 +020098 device pnp 2e.5 off end # KBC
Michael Niewöhner2a28c812020-07-25 23:47:44 +020099 device pnp 2e.7 on # GPIO
100 irq 0x70 = 0x00
101 end
Michael Niewöhnerb1f1ee32020-02-10 20:58:50 +0100102 device pnp 2e.b off end # SUART3
103 device pnp 2e.c off end # SUART4
Michael Niewöhner2a28c812020-07-25 23:47:44 +0200104 device pnp 2e.d on # iLPC2AHB
105 irq 0x70 = 0x00
106 end
Michael Niewöhner0a6c62f2019-09-18 16:31:50 +0200107 device pnp 2e.e on # Mailbox
108 io 0x60 = 0xa40
109 irq 0x70 = 0x00
110 end
111 end
112 end
113 end
114 end
115 end
116end