Debian Codegraph @

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