Debian Codegraph @

src/mainboard/asus/p8x7x-series/variants/p8z77-v_le_plus/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 on # PCIEX_16_2
7 smbios_slot_desc "SlotTypePciExpressGen3X8" "SlotLengthLong" "PCIEX16_2" "SlotDataBusWidth8X"
8 end
9 chip southbridge/intel/bd82x6x
10 register "usb_port_config" = "{
11 { 1, 2, 0 },
12 { 1, 8, 0 },
13 { 1, 8, 1 },
14 { 1, 8, 1 },
15 { 1, 9, 2 },
16 { 1, 9, 2 },
17 { 1, 0xa53, 3 },
18 { 1, 0xa53, 3 },
19 { 1, 0xa53, 4 },
20 { 1, 0xa53, 4 },
21 { 1, 0xa53, 6 },
22 { 1, 0xa53, 5 },
23 { 1, 0xa53, 5 },
24 { 1, 0xa53, 6 }
25 }"
26 register "gen1_dec" = "0x000c0291" # NCT6779 HWM
27 register "gen4_dec" = "0x0000ff29" # Could be for KB3722 EC
28
29 device ref pcie_rp1 on # PCIEX_16_3 (electrical x2 or x4)
30 smbios_slot_desc "SlotTypePciExpressGen2X4" "SlotLengthLong" "PCIEX16_3" "SlotDataBusWidth4X"
31 end
32 device ref pcie_rp3 on
33 smbios_slot_desc "SlotTypePciExpressGen2X1" "SlotLengthShort" "PCIEX1_1" "SlotDataBusWidth1X"
34 end
35 device ref pcie_rp4 on
36 smbios_slot_desc "SlotTypePciExpressGen2X1" "SlotLengthShort" "PCIEX1_2" "SlotDataBusWidth1X"
37 end
38 device ref pcie_rp5 on # RTL8111F LAN
39 chip drivers/net
40 register "customized_leds" = "0x482"
41 device pci 00.0 on
42 subsystemid 0x1043 0x8505
43 end
44 end
45 end
46 device ref pcie_rp6 on # ASM1083 PCI bridge
47 subsystemid 0x1043 0x8489
48 smbios_slot_desc "SlotTypePci" "SlotLengthLong" "PCI1" "SlotDataBusWidth32Bit"
49 end
50 device ref pcie_rp7 on # Marvell 88SE9120 ESATA6G
51 subsystemid 0x1043 0x83ba
52 end
53 device ref pcie_rp8 on # ASM1042 USB3
54 subsystemid 0x1043 0x8488
55 end
56 device ref hda on
57 subsystemid 0x1043 0x841a
58 end
59 device ref lpc on
60 chip superio/nuvoton/nct6779d
61 device pnp 2e.1 off end # Parallel
62 device pnp 2e.2 on # UART A
63 io 0x60 = 0x3f8
64 irq 0x70 = 4
65 end
66 device pnp 2e.3 off end # UART B, IR
67 device pnp 2e.5 on # PS2 KBC
68 io 0x60 = 0x0060 # KBC1 base
69 io 0x62 = 0x0064 # KBC2 base
70 irq 0x70 = 1 # Keyboard IRQ
71 irq 0x72 = 12 # Mouse IRQ
72 # KBC 12Mhz/A20 speed/sw KBRST
73 drq 0xf0 = 0x82
74 end
75 device pnp 2e.6 off end # CIR
76 device pnp 2e.7 off end # GPIOs 6-8
77 device pnp 2e.8 off end # WDT1 GPIO 0-1
78 device pnp 2e.108 on end # GPIO0
79 device pnp 2e.109 on end # GPIO1
80 device pnp 2e.509 on end # GPIO5 all in
81 device pnp 2e.a on # ACPI
82 drq 0xe7 = 0x11
83 drq 0xf2 = 0x5d # Enable PME
84 end
85 device pnp 2e.b on # H/W Monitor, FP LED
86 io 0x60 = 0x290
87 io 0x62 = 0
88 irq 0x70 = 0
89 drq 0xe4 = 0xf9 # Use GP50/52/55
90 end
91 device pnp 2e.d off end # WDT1
92 device pnp 2e.e off end # CIR wake-up
93 device pnp 2e.f off end
94 device pnp 2e.14 on end # Port 80 UART
95 device pnp 2e.16 off end # Deep sleep
96 end
97 end
98 end
99 end
100 end