Debian Codegraph @

src/mainboard/asus/p5qc/variants/p5ql_pro/devicetree.cb

raw
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 chip northbridge/intel/x4x # Northbridge
4 device cpu_cluster 0 on ops x4x_cpu_bus_ops end # APIC cluster
5 device domain 0 on
6 ops x4x_pci_domain_ops # PCI domain
7 device pci 0.0 on end # Host Bridge
8 device pci 1.0 on end # PEG
9 device pci 2.0 off end # Integrated graphics controller
10 device pci 2.1 off end # Integrated graphics controller 2
11 device pci 3.0 off end # ME
12 device pci 3.1 off end # ME
13 device pci 3.2 off end # ME
14 device pci 3.3 off end # ME
15 device pci 6.0 off end # PEG 2
16 chip southbridge/intel/i82801jx # Southbridge
17 register "gpe0_en" = "0x40"
18
19 register "sata_port_map" = "0x3f"
20
21 # Enable PCIe ports 0,2,3 as slots.
22 register "pcie_slot_implemented" = "0x31"
23
24 register "gen1_dec" = "0x00000295"
25 register "gen2_dec" = "0x001c4701"
26
27 device pci 19.0 off end # GBE
28 device pci 1a.0 on end # USB
29 device pci 1a.1 on end # USB
30 device pci 1a.2 on end # USB
31 device pci 1a.7 on end # USB
32 device pci 1b.0 on end # Audio
33 device pci 1c.0 on end # PCIe 1 PCIe x1 Slot #1
34 device pci 1c.1 on end # PCIe 2 PCIe x1 Slot #2
35 device pci 1c.2 off end # PCIe 3
36 device pci 1c.3 off end # PCIe 4
37 device pci 1c.4 on end # PCIe 5 Marvell IDE
38 device pci 1c.5 on end # PCIe 6 Atheros LAN
39 device pci 1d.0 on end # USB
40 device pci 1d.1 on end # USB
41 device pci 1d.2 on end # USB
42 device pci 1d.7 on end # USB
43 device pci 1e.0 on end # PCI bridge
44 device pci 1f.0 on # LPC bridge
45 chip superio/winbond/w83667hg-a # Super I/O
46 device pnp 2e.0 on # FDC
47 # Global registers
48 irq 0x2a = 0x30
49 irq 0x2c = 0x22
50 irq 0x2d = 0x00
51 io 0x60 = 0x3f0
52 irq 0x70 = 0x06
53 end
54 device pnp 2e.1 off end # LPT1
55 device pnp 2e.2 on # COM1
56 io 0x60 = 0x3f8
57 irq 0x70 = 4
58 end
59 device pnp 2e.3 off end # COM2
60 device pnp 2e.5 on # PS/2 keyboard & mouse
61 io 0x60 = 0x60
62 io 0x62 = 0x64
63 irq 0x70 = 1
64 irq 0x72 = 12
65 end
66 device pnp 2e.106 off end # SPI1
67 device pnp 2e.107 off end # GPIO6
68 device pnp 2e.207 off end # GPIO7
69 device pnp 2e.307 on # GPIO8
70 irq 0xe4 = 0xfb
71 irq 0xe5 = 0x82
72 end
73 device pnp 2e.407 off end # GPIO9
74 device pnp 2e.8 off end # WDT
75 device pnp 2e.108 off end # GPIO1
76 device pnp 2e.9 off end # GPIO2
77 device pnp 2e.109 on end # GPIO3
78 device pnp 2e.209 on # GPIO4
79 irq 0xf0 = 0xff
80 irq 0xfe = 0x07
81 end
82 device pnp 2e.309 on end # GPIO5
83 device pnp 2e.a on # ACPI
84 irq 0xe4 = 0x10 # 3VSBSW# enable
85 irq 0xe5 = 0x02
86 irq 0xf2 = 0xfc
87 end
88 device pnp 2e.b on # HW Monitor
89 io 0x60 = 0x290
90 irq 0x70 = 0x0
91 # IRQ purposefully not assigned to prevent lockups
92 end
93 device pnp 2e.c on end # PECI
94 device pnp 2e.d on end # VID_BUSSEL
95 device pnp 2e.f on end # GPIO_PP_OD
96 end
97 end
98 device pci 1f.1 off end # PATA/IDE
99 device pci 1f.2 on end # SATA
100 device pci 1f.3 on end # SMbus
101 device pci 1f.4 off end
102 device pci 1f.5 off end # IDE
103 device pci 1f.6 on end # Thermal
104 end
105 end
106 end