blob: 98bfb04fb3c05c6ea6cc487920e87de27e621c64 [file] [log] [blame]
Bill XIE14ee0f92020-09-03 17:58:44 +08001chip 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
13
14 # Additional FSP Configuration
15 # This board has an IGD with no output.
16 register "PrimaryDisplay" = "Display_Auto"
17
Felix Singer9a1b47e2023-10-23 17:37:21 +020018 register "usb2_ports" = "{
19 [0] = USB2_PORT_MID(OC0), /* USB 2 */
20 [1] = USB2_PORT_MID(OC0), /* USB 3 */
21 [2] = USB2_PORT_MID(OC1), /* USB 4 */
22 [3] = USB2_PORT_MID(OC1), /* USB 5 */
23 [4] = USB2_PORT_MID(OC2), /* USB 0 */
24 [5] = USB2_PORT_MID(OC2), /* USB 1 */
25 [8] = USB2_PORT_MID(OC3), /* USB 9 (3.0) */
26 [9] = USB2_PORT_MID(OC5), /* USB 8 (3.0) */
27 [10] = USB2_PORT_MID(OC4), /* USB 6 (3.0) */
28 [11] = USB2_PORT_MID(OC4), /* USB 7 (3.0) */
29 [12] = USB2_PORT_MID(OC3), /* USB 10 (3.0) */
30 [13] = USB2_PORT_MID(OC_SKIP), /* IPMI USB hub */
31 [14] = USB2_PORT_MID(OC0), /* Unknown */
32 [15] = USB2_PORT_MID(OC0), /* Unknown */
33 }"
Bill XIE14ee0f92020-09-03 17:58:44 +080034
Felix Singer9a1b47e2023-10-23 17:37:21 +020035 register "usb3_ports" = "{
36 [0] = USB3_PORT_DEFAULT(OC5), /* USB 8 */
37 [1] = USB3_PORT_DEFAULT(OC4), /* USB 6 */
38 [2] = USB3_PORT_DEFAULT(OC4), /* USB 7 */
39 [3] = USB3_PORT_DEFAULT(OC3), /* USB 9 */
40 [4] = USB3_PORT_DEFAULT(OC3), /* USB 10 */
41 }"
Bill XIE14ee0f92020-09-03 17:58:44 +080042
43 device domain 0 on
Felix Singera03999b2023-10-23 09:01:05 +020044 device ref peg0 on
45 # Slot JPCIE3
Bill XIE14ee0f92020-09-03 17:58:44 +080046 smbios_slot_desc "SlotTypePciExpressGen3X16" "SlotLengthShort" "CPU SLOT6 PCI-E 3.0 X8(IN X16)" "SlotDataBusWidth8X"
Felix Singera03999b2023-10-23 09:01:05 +020047 end
48 device ref peg1 on
49 # Slot JPCIE2
Bill XIE14ee0f92020-09-03 17:58:44 +080050 smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "CPU SLOT6 PCI-E 3.0 X8" "SlotDataBusWidth8X"
51 end
Felix Singera03999b2023-10-23 09:01:05 +020052 device ref igpu on end
53 device ref pcie_rp1 on
Bill XIE14ee0f92020-09-03 17:58:44 +080054 register "PcieRpEnable[0]" = "1"
55 device pci 00.0 on end # GbE
56 end
Felix Singera03999b2023-10-23 09:01:05 +020057 device ref pcie_rp2 on
Bill XIE14ee0f92020-09-03 17:58:44 +080058 register "PcieRpEnable[1]" = "1"
59 device pci 00.0 on end # GbE
60 end
Felix Singera03999b2023-10-23 09:01:05 +020061 device ref pcie_rp3 on
Alexander Couzens1295fa22021-02-27 23:58:56 +010062 register "PcieRpEnable[2]" = "1"
63 device pci 00.0 on end # GbE
64 end
Felix Singera03999b2023-10-23 09:01:05 +020065 device ref pcie_rp4 on
Alexander Couzens1295fa22021-02-27 23:58:56 +010066 register "PcieRpEnable[3]" = "1"
67 device pci 00.0 on end # GbE
68 end
Felix Singera03999b2023-10-23 09:01:05 +020069 device ref pcie_rp5 on
Bill XIE14ee0f92020-09-03 17:58:44 +080070 register "PcieRpEnable[4]" = "1"
71 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2 2280" "SlotDataBusWidth2X"
72 end
Felix Singera03999b2023-10-23 09:01:05 +020073 device ref pcie_rp7 on
Bill XIE14ee0f92020-09-03 17:58:44 +080074 register "PcieRpEnable[6]" = "1"
75 device pci 00.0 on # Aspeed PCI Bridge
76 device pci 00.0 on end # Aspeed 2400 VGA
77 end
78 end
Felix Singera03999b2023-10-23 09:01:05 +020079 device ref pcie_rp9 on
80 # Slot JPCIE1
Bill XIE14ee0f92020-09-03 17:58:44 +080081 register "PcieRpEnable[8]" = "1"
82 smbios_slot_desc "SlotTypePciExpressGen3X4" "SlotLengthLong" "PCH SLOT4 PCI-E 3.0 X4(IN X8)" "SlotDataBusWidth4X"
83 end
Felix Singera03999b2023-10-23 09:01:05 +020084 device ref lpc_espi on
Bill XIE14ee0f92020-09-03 17:58:44 +080085 chip drivers/ipmi
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
95 io 0x60 = 0x3f8
96 irq 0x70 = 4
97 drq 0xf0 = 0x00
98 end
99 device pnp 2e.3 on # SUART2
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
129end