| 1 |
chip 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_G" |
| 8 |
register "gpe0_dw1" = "GPP_D" |
| 9 |
register "gpe0_dw2" = "GPP_E" |
| 10 |
|
| 11 |
device domain 0 on |
| 12 |
subsystemid 0x15d9 0x0896 inherit |
| 13 |
device ref south_xhci on |
| 14 |
register "usb2_ports" = "{ |
| 15 |
[0] = USB2_PORT_MID(OC3), /* USB 9 (3.0) */ |
| 16 |
[1] = USB2_PORT_MID(OC3), /* USB 8 (3.0) */ |
| 17 |
[2] = USB2_PORT_MID(OC1), /* USB 3 */ |
| 18 |
[3] = USB2_PORT_MID(OC1), /* USB 2 */ |
| 19 |
[4] = USB2_PORT_MID(OC2), /* USB 1 */ |
| 20 |
[5] = USB2_PORT_MID(OC2), /* USB 0 */ |
| 21 |
[6] = USB2_PORT_MID(OC0), /* USB 5 */ |
| 22 |
[7] = USB2_PORT_MID(OC0), /* USB 4 */ |
| 23 |
[8] = USB2_PORT_MID(OC_SKIP), /* IPMI USB HUB */ |
| 24 |
[9] = USB2_PORT_MID(OC5), /* USB 10 (3.0) */ |
| 25 |
[10] = USB2_PORT_MID(OC4), /* USB 7 (3.0) */ |
| 26 |
[11] = USB2_PORT_MID(OC4), /* USB 6 (3.0) */ |
| 27 |
}" |
| 28 |
|
| 29 |
register "usb3_ports" = "{ |
| 30 |
[0] = USB3_PORT_DEFAULT(OC4), /* USB 7 */ |
| 31 |
[1] = USB3_PORT_DEFAULT(OC4), /* USB 6 */ |
| 32 |
[2] = USB3_PORT_DEFAULT(OC5), /* USB 10 */ |
| 33 |
[3] = USB3_PORT_DEFAULT(OC3), /* USB 9 */ |
| 34 |
[4] = USB3_PORT_DEFAULT(OC3), /* USB 8 */ |
| 35 |
}" |
| 36 |
end |
| 37 |
device ref peg0 on |
| 38 |
# Slot JPCIE6 |
| 39 |
smbios_slot_desc "SlotTypePciExpressGen3X16" "SlotLengthLong" "CPU SLOT6 PCI-E 3.0 X8(IN X16)" "SlotDataBusWidth8X" |
| 40 |
end |
| 41 |
device ref peg1 on |
| 42 |
# Slot JPCIE7 |
| 43 |
smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "CPU SLOT7 PCI-E 3.0 X8" "SlotDataBusWidth8X" |
| 44 |
end |
| 45 |
device ref pcie_rp1 on |
| 46 |
# Slot JPCIE4 |
| 47 |
register "PcieRpLtrEnable[0]" = "true" |
| 48 |
register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 49 |
smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "PCH SLOT4 PCI-E 3.0 X4(IN X8)" "SlotDataBusWidth4X" |
| 50 |
end |
| 51 |
device ref pcie_rp5 on |
| 52 |
# Slot JPCIE5 |
| 53 |
register "PcieRpLtrEnable[4]" = "true" |
| 54 |
register "PcieRpAdvancedErrorReporting[4]" = "1" |
| 55 |
smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "PCH SLOT5 PCI-E 3.0 X4(IN X8)" "SlotDataBusWidth4X" |
| 56 |
end |
| 57 |
device ref pcie_rp9 on |
| 58 |
register "PcieRpLtrEnable[8]" = "true" |
| 59 |
register "PcieRpAdvancedErrorReporting[8]" = "1" |
| 60 |
device pci 00.0 on # GbE 1 |
| 61 |
subsystemid 0x15d9 0x1533 |
| 62 |
end |
| 63 |
end |
| 64 |
device ref pcie_rp10 on |
| 65 |
register "PcieRpLtrEnable[9]" = "true" |
| 66 |
register "PcieRpAdvancedErrorReporting[9]" = "1" |
| 67 |
device pci 00.0 on # GbE 2 |
| 68 |
subsystemid 0x15d9 0x1533 |
| 69 |
end |
| 70 |
end |
| 71 |
device ref pcie_rp11 on |
| 72 |
register "PcieRpLtrEnable[10]" = "true" |
| 73 |
register "PcieRpAdvancedErrorReporting[10]" = "1" |
| 74 |
device pci 00.0 on # Aspeed PCI Bridge |
| 75 |
device pci 00.0 on end # Aspeed 2400 VGA |
| 76 |
end |
| 77 |
end |
| 78 |
device ref lpc_espi on |
| 79 |
register "gen1_dec" = "0x007c0a01" # Super IO SWC |
| 80 |
register "gen2_dec" = "0x000c0ca1" # IPMI KCS |
| 81 |
|
| 82 |
chip drivers/ipmi |
| 83 |
use pch_gpio as gpio_dev |
| 84 |
register "bmc_jumper_gpio" = "GPP_D22" # JPB1 |
| 85 |
register "post_complete_gpio" = "GPP_B20" |
| 86 |
# On cold boot it takes a while for the BMC to start the IPMI service |
| 87 |
register "wait_for_bmc" = "1" |
| 88 |
register "bmc_boot_timeout" = "60" |
| 89 |
device pnp ca2.0 on end # IPMI KCS |
| 90 |
end |
| 91 |
chip superio/common |
| 92 |
device pnp 2e.0 on |
| 93 |
chip superio/aspeed/ast2400 |
| 94 |
device pnp 2e.2 on # SUART1 / COM1 (ext) |
| 95 |
io 0x60 = 0x3f8 |
| 96 |
irq 0x70 = 4 |
| 97 |
drq 0xf0 = 0x00 |
| 98 |
end |
| 99 |
device pnp 2e.3 on # SUART2 / COM2 (int) |
| 100 |
io 0x60 = 0x2f8 |
| 101 |
irq 0x70 = 3 |
| 102 |
drq 0xf0 = 0x00 |
| 103 |
end |
| 104 |
device pnp 2e.4 on # SWC |
| 105 |
io 0x60 = 0xa00 |
| 106 |
io 0x62 = 0xa10 |
| 107 |
io 0x64 = 0xa20 |
| 108 |
io 0x66 = 0xa30 |
| 109 |
irq 0x70 = 0x00 |
| 110 |
end |
| 111 |
device pnp 2e.5 off end # KBC |
| 112 |
device pnp 2e.7 on # GPIO |
| 113 |
irq 0x70 = 0x00 |
| 114 |
end |
| 115 |
device pnp 2e.b off end # SUART3 |
| 116 |
device pnp 2e.c off end # SUART4 |
| 117 |
device pnp 2e.d on # iLPC2AHB |
| 118 |
irq 0x70 = 0x00 |
| 119 |
end |
| 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 |
| 129 |
end |