Debian Codegraph @

src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/overridetree.cb

raw
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_B"
8 register "gpe0_dw1" = "GPP_D"
9 register "gpe0_dw2" = "GPP_E"
10
11 # FIXME: find out why FSP crashes without this
12 register "PchHdaVcType" = "Vc1"
13
14 device domain 0 on
15 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
41 device ref peg0 on end # unused
42 device ref peg1 on
43 # Slot JPCIE1
44 smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthShort" "CPU SLOT6 PCI-E 3.0 X8" "SlotDataBusWidth4X"
45 end
46 device ref pcie_rp1 on
47 # Slot JPCIE1
48 smbios_slot_desc "SlotTypePciExpressGen3X4" "SlotLengthLong" "PCH SLOT4 PCI-E 3.0 X2(IN X4)" "SlotDataBusWidth2X"
49 end
50 device ref pcie_rp3 on
51 device pci 00.0 on # Aspeed PCI Bridge
52 device pci 00.0 on end # Aspeed 2400 VGA
53 end
54 end
55 device ref pcie_rp5 on
56 device pci 00.0 on end # 10GbE
57 device pci 00.1 on end # 10GbE
58 end
59 device ref pcie_rp9 on
60 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2 2280" "SlotDataBusWidth4X"
61 end
62 device ref lpc_espi on
63 register "gen1_dec" = "0x007c0a01" # Super IO SWC
64 register "gen2_dec" = "0x000c0ca1" # IPMI KCS
65
66 chip drivers/ipmi
67 use pch_gpio as gpio_dev
68 register "post_complete_gpio" = "GPP_B20"
69 # On cold boot it takes a while for the BMC to start the IPMI service
70 register "wait_for_bmc" = "1"
71 register "bmc_boot_timeout" = "60"
72 device pnp ca2.0 on end # IPMI KCS
73 end
74 chip superio/common
75 device pnp 2e.0 on
76 chip superio/aspeed/ast2400
77 device pnp 2e.2 on # SUART1
78 io 0x60 = 0x3f8
79 irq 0x70 = 4
80 drq 0xf0 = 0x00
81 end
82 device pnp 2e.3 on # SUART2
83 io 0x60 = 0x2f8
84 irq 0x70 = 3
85 drq 0xf0 = 0x00
86 end
87 device pnp 2e.4 on # SWC
88 io 0x60 = 0xa00
89 io 0x62 = 0xa10
90 io 0x64 = 0xa20
91 io 0x66 = 0xa30
92 irq 0x70 = 0x00
93 end
94 device pnp 2e.5 off end # KBC
95 device pnp 2e.7 on # GPIO
96 irq 0x70 = 0x00
97 end
98 device pnp 2e.b off end # SUART3
99 device pnp 2e.c off end # SUART4
100 device pnp 2e.d on # iLPC2AHB
101 irq 0x70 = 0x00
102 end
103 device pnp 2e.e on # Mailbox
104 io 0x60 = 0xa40
105 irq 0x70 = 0x00
106 end
107 end
108 end
109 end
110 end
111 end
112 end