Debian Codegraph @

src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 chip northbridge/intel/sandybridge
4 device domain 0 on
5 subsystemid 0x1043 0x84ca inherit
6 device ref peg11 hidden end # These don't exist on this board
7 chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
8 register "gen1_dec" = "0x000c0291"
9 register "usb_port_config" = "{
10 {1, 8, 0}, /* Port 0: USB3 front internal header, top */
11 {1, 8, 0}, /* Port 1: USB3 front internal header, bottom */
12 {1, 2, 1}, /* Port 2: USB3 rear, top */
13 {1, 2, 1}, /* Port 3: USB3 rear, bottom */
14 {1, 2, 2}, /* Port 4: USB2 rear PS2, top */
15 {1, 2, 2}, /* Port 5: USB2 rear PS2, bottom */
16 {1, 2, 3}, /* Port 6: USB2 rear LAN, top */
17 {1, 2, 3}, /* Port 7: USB2 rear LAN, bottom */
18 {1, 9, 4}, /* Port 8: USB2 internal header USB910, top */
19 {1, 9, 4}, /* Port 9: USB2 internal header USB910, bottom */
20 {1, 2, 6}, /* Port 10: USB2 internal header USB1112, top */
21 {1, 2, 5}, /* Port 11: USB2 internal header USB1112, bottom */
22 {1, 2, 5}, /* Port 12: USB2 internal header USB1314, top */
23 {1, 2, 6} /* Port 13: USB2 internal header USB1314, bottom */
24 }"
25
26 device ref pcie_rp1 on end # PCIe x4 slot
27 device ref pcie_rp5 on end # PCIe x1 slot
28 device ref pcie_rp6 on # RTL8111F GbE NIC
29 subsystemid 0x1849 0x1e1a
30 device pci 00.0 on end # make onboard
31 end
32 device ref pcie_rp7 on end # PCI slot via ASM1083
33 device ref lpc on
34 chip superio/nuvoton/nct6779d
35 device pnp 2e.1 off end # Parallel
36 device pnp 2e.2 on # UART A
37 io 0x60 = 0x3f8 # COM1 address
38 irq 0x70 = 4
39 # Below are global config settings to replicate OEM
40 drq 0x1a = 0x02
41 drq 0x1b = 0x60
42 drq 0x2c = 0x00 # PECI
43 end
44 device pnp 2e.3 off end # UART B, IR
45 device pnp 2e.5 on # PS2 KBC
46 io 0x60 = 0x0060 # KBC1 base
47 io 0x62 = 0x0064 # KBC2 base
48 irq 0x70 = 1 # Keyboard IRQ
49 irq 0x72 = 12 # Mouse IRQ
50 drq 0xf0 = 0x82 # KBC 12Mhz/A20 speed/sw KBRST
51 drq 0x2a = 0x48 # UART A, PS/2 mouse, PS/2 keyboard
52 drq 0x22 = 0xd7 # Power down UART B and LPT
53 end
54 device pnp 2e.6 off end # CIR
55 device pnp 2e.8 off end # WDT1
56 device pnp 2e.108 on # GPIO 0
57 drq 0xe1 = 0x80 # GP07 high turns DRAM_LED off
58 end
59 device pnp 2e.a on end # ACPI
60 device pnp 2e.b on # HWM, front panel LED
61 io 0x60 = 0x290 # HWM address
62 io 0x62 = 0 # SB-TSI address (not used)
63 drq 0xe4 = 0xf9 # GP50, GP52, PWROK#
64 drq 0xf0 = 0x3e # Enable all fan input debouncers
65 irq 0x70 = 0
66 end
67 device pnp 2e.e off end # CIR wake-up
68 device pnp 2e.f on # GPIO PP/OD select
69 drq 0xe4 = 0xfc # GP50,GP51 PP
70 drq 0xe6 = 0x7f # GP7x OD
71 end
72 device pnp 2e.9 off end # GPIO 8
73 device pnp 2e.109 on end # GPIO 1
74 device pnp 2e.209 on # GPIO 2
75 drq 0xe0 = 0xbf # GP26 output
76 drq 0xe1 = 0xc0 # GP26 high
77 end
78 device pnp 2e.309 off end # GPIO 3
79 device pnp 2e.409 off end # GPIO 4
80 device pnp 2e.509 on # GPIO 5
81 drq 0xf4 = 0xfc # GP50,GP51 output
82 drq 0xf5 = 0xc4 # GP50,GP51 low
83 end
84 device pnp 2e.609 off end # GPIO 6
85 device pnp 2e.709 off end # GPIO 7
86 device pnp 2e.14 on end # Port 80 UART
87 device pnp 2e.16 off end # Deep sleep
88 end
89 chip drivers/pc80/tpm
90 device pnp 4e.0 on end # TPM
91 end
92 end
93 end
94 end
95 end