Debian Codegraph @

src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/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 "gpe0_en" = "0x440"
30
31 register "gen1_dec" = "0x000c0291" # Superio HWM
32
33 device pci 1b.0 on # Audio
34 subsystemid 0x1849 0x3662
35 end
36 device pci 1c.0 on end # PCIe 1
37 device pci 1c.1 on end # PCIe 2 (ethernet)
38 device pci 1c.2 off end # PCIe 3
39 device pci 1c.3 off end # PCIe 4
40 device pci 1d.0 on # USB
41 subsystemid 0x1849 0x27c8
42 end
43 device pci 1d.1 on # USB
44 subsystemid 0x1849 0x27c9
45 end
46 device pci 1d.2 on # USB
47 subsystemid 0x1849 0x27ca
48 end
49 device pci 1d.3 on # USB
50 subsystemid 0x1849 0x27cb
51 end
52 device pci 1d.7 on # USB
53 subsystemid 0x1849 0x27cc
54 end
55 device pci 1e.0 on end # PCI bridge
56 device pci 1e.2 off end # AC'97 Audio
57 device pci 1e.3 off end # AC'97 Modem
58 device pci 1f.0 on # ISA bridge
59 subsystemid 0x1849 0x27b8
60 chip superio/winbond/w83627dhg
61 device pnp 2e.0 off end # Floppy
62 device pnp 2e.1 on # Parallel port
63 # global
64 irq 0x28 = 0x70
65 irq 0x2c = 0xd2
66 # parallel port
67 io 0x60 = 0x378
68 irq 0x70 = 7
69 drq 0x74 = 3
70 end
71 device pnp 2e.2 on # COM1
72 io 0x60 = 0x3f8
73 irq 0x70 = 4
74 end
75 device pnp 2e.3 off end # COM2
76 device pnp 2e.5 on # Keyboard & MOUSE
77 io 0x60 = 0x60
78 io 0x62 = 0x64
79 irq 0x70 = 1
80 irq 0x72 = 0x0C
81 end
82 device pnp 2e.6 off end # SPI
83 device pnp 2e.7 off end # GPIO6
84 device pnp 2e.8 off end # WDT0#, PLED
85 device pnp 2e.9 on end # GPIO2
86 device pnp 2e.109 off end # GPIO3
87 device pnp 2e.209 on # GPIO4
88 irq 0xf4 = 0xb3
89 end
90 device pnp 2e.309 off end # GPIO5
91 device pnp 2e.a on # ACPI
92 irq 0xe4 = 0x10 # Power dram during s3
93 end
94 device pnp 2e.b on # HWM, front panel LED
95 io 0x60 = 0x290
96 irq 0x70 = 0
97 end
98 device pnp 2e.c off end # PECI, SST
99 end
100 end
101 device pci 1f.1 on # PATA/IDE
102 subsystemid 0x1849 0x27df
103 end
104 device pci 1f.2 on # SATA
105 subsystemid 0x1849 0x27c0
106 end
107 device pci 1f.3 on # SMbus
108 subsystemid 0x1849 0x27da
109 chip drivers/i2c/ck505 # W83115RG-965
110 # set SATA to fixed 100Mhz refclk
111 register "mask" = "{ 0x02 }"
112 register "regs" = "{ 0x02 }"
113 device i2c 69 on end
114 end
115 end
116 end
117 end
118 end