Debian Codegraph @

src/mainboard/asrock/g41c-gs/variants/g41m-s3/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 subsystemid 0x1458 0x5000 inherit
8 device pci 0.0 on # Host Bridge
9 subsystemid 0x1849 0x2e30
10 end
11 device pci 1.0 on end # PEG
12
13 device pci 2.0 on # Integrated graphics controller
14 subsystemid 0x1849 0x2e32
15 end
16 chip southbridge/intel/i82801gx # Southbridge
17 register "pirqa_routing" = "0x0b"
18 register "pirqb_routing" = "0x0b"
19 register "pirqc_routing" = "0x0b"
20 register "pirqd_routing" = "0x0b"
21 register "pirqe_routing" = "0x80"
22 register "pirqf_routing" = "0x80"
23 register "pirqg_routing" = "0x80"
24 register "pirqh_routing" = "0x0b"
25
26 register "ide_enable_primary" = "true"
27 register "sata_ports_implemented" = "0x3"
28 register "gpe0_en" = "0x440"
29
30 register "gen1_dec" = "0x000c0291" # Superio HWM
31
32 device pci 1b.0 on # Audio
33 subsystemid 0x1849 0x3662
34 end
35 device pci 1c.0 on # PCIe 1
36 subsystemid 0x1849 0x27d0
37 end
38 device pci 1c.1 on # PCIe 2
39 subsystemid 0x1849 0x27d2
40 end
41 device pci 1c.2 off end # PCIe 3
42 device pci 1c.3 off end # PCIe 4
43 device pci 1d.0 on # USB
44 subsystemid 0x1849 0x27c8
45 end
46 device pci 1d.1 on # USB
47 subsystemid 0x1849 0x27c9
48 end
49 device pci 1d.2 on # USB
50 subsystemid 0x1849 0x27ca
51 end
52 device pci 1d.3 on # USB
53 subsystemid 0x1849 0x27cb
54 end
55 device pci 1d.7 on # USB
56 subsystemid 0x1849 0x27cc
57 end
58 device pci 1e.0 on end # PCI bridge
59 device pci 1e.2 off end # AC'97 Audio
60 device pci 1e.3 off end # AC'97 Modem
61 device pci 1f.0 on # LPC bridge
62 subsystemid 0x1849 0x27b8
63 chip superio/winbond/w83627dhg
64 device pnp 2e.0 on # Floppy
65 io 0x60 = 0x3f0
66 irq 0x70 = 6
67 drq 0x74 = 2
68 end
69 device pnp 2e.1 on # Parallel port
70 # global
71 irq 0x28 = 0x70
72 irq 0x2c = 0xd2
73 # parallel port
74 io 0x60 = 0x378
75 irq 0x70 = 7
76 drq 0x74 = 3
77 end
78 device pnp 2e.2 on # COM1
79 io 0x60 = 0x3f8
80 irq 0x70 = 4
81 end
82 device pnp 2e.3 off end # COM2
83 device pnp 2e.5 on # Keyboard & Mouse
84 io 0x60 = 0x60
85 io 0x62 = 0x64
86 irq 0x70 = 1
87 irq 0x72 = 0x0c
88 irq 0xf0 = 0x83
89 end
90 device pnp 2e.6 off end # SPI
91 device pnp 2e.7 off end # GPIO6
92 device pnp 2e.8 off end # WDT0#, PLED
93 device pnp 2e.9 on end # GPIO2
94 device pnp 2e.109 on # GPIO3
95 irq 0xfe = 0x07
96 end
97 device pnp 2e.209 on # GPIO4
98 irq 0xf4 = 0x74
99 end
100 device pnp 2e.309 off end # GPIO5
101 device pnp 2e.a on # ACPI
102 irq 0xe4 = 0x10 # Power dram during s3
103 end
104 device pnp 2e.b on # HWM, front panel LED
105 io 0x60 = 0x290
106 irq 0x70 = 0
107 end
108 device pnp 2e.c off end # PECI, SST
109 end
110 end
111 device pci 1f.1 on # PATA/IDE
112 subsystemid 0x1849 0x27df
113 end
114 device pci 1f.2 on # SATA
115 subsystemid 0x1849 0x27c0
116 end
117 device pci 1f.3 on # SMbus
118 subsystemid 0x1849 0x27da
119 end
120 end
121 end
122 end