Debian Codegraph @

src/mainboard/asrock/z87_extreme3/devicetree.cb

raw
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 chip northbridge/intel/haswell
4 register "gpu_ddi_e_connected" = "1"
5 register "gpu_dp_b_hotplug" = "4"
6 register "gpu_dp_d_hotplug" = "4"
7 register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
8 chip cpu/intel/haswell
9 device cpu_cluster 0 on
10 ops haswell_cpu_bus_ops
11 end
12 end
13 device domain 0 on
14 ops haswell_pci_domain_ops
15 device pci 00.0 on # Desktop Host bridge
16 subsystemid 0x1849 0x0c00
17 end
18 device pci 01.0 on # PCIE2
19 end
20 device pci 01.1 on # PCIE3
21 end
22 device pci 02.0 on # iGPU
23 subsystemid 0x1849 0x0412
24 end
25 device pci 03.0 on # Mini-HD audio
26 subsystemid 0x1849 0x0c0c
27 end
28 chip southbridge/intel/lynxpoint # Intel Series 8 Lynx Point PCH
29 register "gen1_dec" = "0x000c0291"
30 register "gen2_dec" = "0x000c0241"
31 register "gen3_dec" = "0x000c0251"
32 register "gpe0_en_1" = "0x246"
33 register "sata_port0_gen3_dtle" = "0x2"
34 register "sata_port1_gen3_dtle" = "0x2"
35 register "sata_port_map" = "0x3f"
36 device pci 14.0 on # xHCI Controller
37 subsystemid 0x1849 0x8c31
38 end
39 device pci 16.0 on # MEI #1
40 subsystemid 0x1849 0x8c3a
41 end
42 device pci 16.1 off # MEI #2
43 end
44 device pci 19.0 on # Intel Gigabit Ethernet
45 subsystemid 0x1849 0x153b
46 end
47 device pci 1a.0 on # USB2 EHCI #2
48 subsystemid 0x1849 0x8c2d
49 end
50 device pci 1b.0 on # High Definition Audio
51 subsystemid 0x1849 0xc892
52 end
53 device pci 1c.0 off end # RP #1
54 device pci 1c.1 off end # RP #2
55 device pci 1c.2 off end # RP #3
56 device pci 1c.3 off end # RP #4
57 device pci 1c.4 off end # RP #5
58 device pci 1c.5 on # RP #6: PCIE1 x1 slot
59 subsystemid 0x1849 0x8c1a
60 end
61 device pci 1c.6 on # RP #7: ASM1083/1085 PCIe to PCI Bridge
62 subsystemid 0x1849 0x244e
63 end
64 device pci 1c.7 off end # RP #8
65 device pci 1d.0 on # USB2 EHCI #1
66 subsystemid 0x1849 0x8c26
67 end
68 device pci 1f.0 on # LPC bridge
69 subsystemid 0x1849 0x8c44
70 chip superio/nuvoton/nct6776
71 device pnp 2e.0 off end # Floppy
72 device pnp 2e.1 on # Parallel
73 io 0x60 = 0x0378
74 irq 0x70 = 6
75 drq 0x74 = 2
76 irq 0xf0 = 0x3b # + ECP and EPP 1.9
77 end
78 device pnp 2e.2 on # UART A
79 io 0x60 = 0x03f8
80 irq 0x70 = 4
81 end
82 device pnp 2e.3 off end # UART B, IR
83 device pnp 2e.5 on # PS/2 Keyboard/Mouse
84 io 0x60 = 0x0060
85 io 0x62 = 0x0064
86 irq 0x70 = 1 # + Keyboard IRQ
87 irq 0x72 = 12 # + Mouse IRQ (unused)
88 end
89 device pnp 2e.6 off end # CIR
90 device pnp 2e.7 off end # GPIO8
91 device pnp 2e.107 off end # GPIO9
92 device pnp 2e.8 off end # WDT
93 device pnp 2e.108 on # GPIO0
94 irq 0xe0 = 0xf9 # + GPIO0 direction
95 irq 0xe1 = 0xfd # + GPIO0 value
96 end
97 device pnp 2e.208 off end # GPIOA
98 device pnp 2e.308 off end # GPIO base
99 device pnp 2e.109 on # GPIO1
100 irq 0xf0 = 0xf1 # + GPIO1 direction
101 irq 0xf1 = 0xf1 # + GPIO1 value
102 end
103 device pnp 2e.209 off end # GPIO2
104 device pnp 2e.309 off end # GPIO3
105 device pnp 2e.409 off end # GPIO4
106 device pnp 2e.509 off end # GPIO5
107 device pnp 2e.609 off end # GPIO6
108 device pnp 2e.709 on # GPIO7
109 irq 0xe0 = 0xff # + GPIO7 direction
110 end
111 device pnp 2e.a on # ACPI
112 irq 0xe4 = 0x10 # + Power RAM in S3
113 irq 0xf0 = 0x20
114 end
115 device pnp 2e.b on # HWM, LED
116 irq 0x30 = 0xe1 # + Fan RPM sense pins
117 io 0x60 = 0x0290 # + HWM base address
118 irq 0x70 = 0
119 end
120 device pnp 2e.d off end # VID
121 device pnp 2e.e off end # CIR wake-up
122 device pnp 2e.f off end # GPIO PP/OD
123 device pnp 2e.14 off end # SVID
124 device pnp 2e.16 off end # Deep sleep
125 device pnp 2e.17 off end # GPIOA
126 end
127 end
128 device pci 1f.2 on # SATA Controller (AHCI)
129 subsystemid 0x1849 0x8c02
130 end
131 device pci 1f.3 on # SMBus
132 subsystemid 0x1849 0x8c22
133 end
134 device pci 1f.5 off # SATA Controller (Legacy)
135 end
136 device pci 1f.6 off # Thermal
137 end
138 end
139 end
140 end