Debian Codegraph @

src/mainboard/asus/h61-series/variants/p8h67-i_deluxe/overridetree.cb

raw
1 ## SPDX-License-Identifier: GPL-2.0-or-later
2
3 chip northbridge/intel/sandybridge
4 register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
5 device domain 0 on
6 subsystemid 0x1043 0x844d inherit
7
8 device ref peg10 on
9 smbios_slot_desc "SlotTypePciExpressGen2X16" "SlotLengthLong" "PCIEX16" "SlotDataBusWidth16X"
10 end
11 device ref igd on
12 register "gpu_dp_b_hotplug" = "4"
13 register "gpu_dp_d_hotplug" = "4"
14 end
15 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
16 register "pcie_port_coalesce" = "1"
17 register "usb_port_config" = "{
18 {1, 0xb57, 0}, /* USB3_12 (rear USB 3.0 ports) */
19 {1, 0xb57, 0}, /* USB3_12 (rear USB 3.0 ports) */
20 {1, 0xb57, 1}, /* USB12 (rear USB2 above eSATA, red) */
21 {1, 0xb57, 1}, /* USB12 (rear USB2 above eSATA, red) */
22 {1, 0x57, 2}, /* USB34 (rear USB2 under PS/2, black) */
23 {1, 0x57, 2}, /* USB34 (rear USB2 under PS/2, black) */
24 {1, 0xb57, 3}, /* USB3_34 header (front panel USB 3.0) */
25 {1, 0xb57, 3}, /* USB3_34 header (front panel USB 3.0) */
26 {1, 0x357, 4}, /* USB56 header (front panel USB 2.0) */
27 {1, 0x357, 4}, /* USB56 header (front panel USB 2.0) */
28 {0, 0xb57, 5}, /* unconnected */
29 {0, 0x343, 5}, /* unconnected */
30 {1, 0xb57, 6}, /* integrated Bluetooth */
31 {0, 0xb57, 6}, /* unconnected */
32 }"
33 device ref hda on # Realtek ALC892
34 subsystemid 0x1043 0x848d
35 end
36 device ref pcie_rp5 on
37 smbios_slot_desc "SlotTypePciExpressMini52pinWithoutBSKO" "SlotLengthShort" "WLAN"
38 end
39 device ref pcie_rp6 on end # uPD720200 for front panel USB3
40 device ref pcie_rp7 on # RTL8111E GbE NIC
41 chip drivers/net
42 register "customized_leds" = "0x0c40"
43 device pci 00.0 on end
44 end
45 end
46 device ref pcie_rp8 on end # uPD720200 for rear USB3 ports
47 device ref lpc on
48 register "gen1_dec" = "0x00fc0295"
49 register "gen2_dec" = "0x00fc0a01"
50 chip superio/nuvoton/nct6776
51 device pnp 2e.0 off end
52 device pnp 2e.1 off end
53 device pnp 2e.2 off end # COM1
54 device pnp 2e.3 off end # COM2, IR
55 device pnp 2e.5 on # KBC
56 io 0x60 = 0x60
57 io 0x62 = 0x64
58 irq 0x70 = 0x01
59 irq 0x72 = 0x0c
60 irq 0xf0 = 0x83
61 end
62 device pnp 2e.6 off end
63 device pnp 2e.7 off end
64 device pnp 2e.8 off end
65 device pnp 2e.9 on # GPIO2-5
66 irq 0x30 = 0x0e
67 irq 0xe0 = 0xef
68 irq 0xe1 = 0x10
69 irq 0xe4 = 0xf7
70 end
71 device pnp 2e.a on # ACPI
72 irq 0xe4 = 0x10
73 irq 0xe7 = 0x01
74 end
75 device pnp 2e.b on # HWM, front panel LED
76 irq 0x30 = 0x01
77 io 0x60 = 0x290
78 end
79 device pnp 2e.d off end
80 device pnp 2e.e off end
81 device pnp 2e.f on # GPIO push-pull/open drain
82 irq 0xf0 = 0x9d
83 end
84 device pnp 2e.14 off end
85 device pnp 2e.16 on end # Deep sleep
86 device pnp 2e.17 on # GPIOA
87 irq 0xe0 = 0xff
88 end
89 end
90 end
91 device ref sata1 on
92 register "sata_interface_speed_support" = "0x3"
93 register "sata_port_map" = "0x1f" # 0-3: internal SATA, 4: eSATA
94 end
95 end
96 end
97 end