Debian Codegraph @

src/mainboard/asrock/b75m-itx/devicetree.cb

raw
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 chip northbridge/intel/sandybridge
4 register "gpu_dp_b_hotplug" = "4"
5 register "gpu_dp_c_hotplug" = "4"
6 register "gpu_dp_d_hotplug" = "4"
7 register "spd_addresses" = "{0x50, 0, 0x52, 0}"
8
9 device domain 0 on
10 device ref host_bridge on
11 subsystemid 0x1849 0x0150
12 end
13 device ref peg10 on
14 subsystemid 0x1849 0x0151
15 end
16 device ref igd on
17 subsystemid 0x1849 0x0152
18 end
19 chip southbridge/intel/bd82x6x
20 register "gen1_dec" = "0x000c0291"
21 register "gen2_dec" = "0x000c0241"
22 register "gen3_dec" = "0x000c0251"
23 register "sata_interface_speed_support" = "0x3"
24 register "sata_port_map" = "0x3f"
25 register "superspeed_capable_ports" = "0x0000000f"
26 register "xhci_switchable_ports" = "0x0000000f"
27 register "spi_uvscc" = "0x2005"
28 register "spi_lvscc" = "0x2005"
29 register "usb_port_config" = "{
30 {1, 0, 0}, {1, 0, 0}, {1, 1, 1}, {1, 1, 1},
31 {1, 1, 2}, {1, 1, 2}, {1, 0, 3}, {1, 0, 3},
32 {1, 0, 4}, {1, 0, 4}, {1, 0, 6},
33 {1, 1, 5}, {1, 1, 5}, {1, 0, 6}
34 }"
35
36 device ref xhci on
37 subsystemid 0x1849 0x1e31
38 end
39 device ref mei1 on
40 subsystemid 0x1849 0x1e3a
41 end
42 device ref mei2 off end
43 device ref me_ide_r off end
44 device ref me_kt off end
45 device ref gbe off end
46 device ref ehci2 on
47 subsystemid 0x1849 0x1e2d
48 end
49 device ref hda on
50 subsystemid 0x1849 0x8892
51 end
52 device ref pcie_rp1 on
53 subsystemid 0x1849 0x1e10
54 end
55 device ref pcie_rp2 off end
56 device ref pcie_rp3 off end
57 device ref pcie_rp4 on # Realtek PCIe GbE Controller
58 subsystemid 0x1849 0x1e16
59 device pci 00.0 on end # PCI 10ec:8168
60 end
61 device ref pcie_rp5 off end
62 device ref pcie_rp6 on
63 subsystemid 0x1849 0x1e1a
64 end
65 device ref pcie_rp7 off end
66 device ref pcie_rp8 off end
67 device ref ehci1 on
68 subsystemid 0x1849 0x1e26
69 end
70 device ref pci_bridge off end
71 device ref lpc on
72 subsystemid 0x1849 0x1e49
73 chip superio/nuvoton/nct6776
74 device pnp 2e.0 off end # Floppy
75 device pnp 2e.1 on # Parallel port
76 # global
77 irq 0x1c = 0x80
78 irq 0x27 = 0xc0
79 irq 0x2a = 0x62
80 # parallel port
81 io 0x60 = 0x378
82 irq 0x70 = 5
83 drq 0x74 = 3
84 end
85 device pnp 2e.2 on # COM1
86 io 0x60 = 0x3f8
87 irq 0x70 = 4
88 end
89 device pnp 2e.3 off end # COM2, IR
90 device pnp 2e.5 on # Keyboard
91 io 0x60 = 0x60
92 io 0x62 = 0x64
93 irq 0x70 = 1
94 irq 0x72 = 12
95 end
96 device pnp 2e.6 off end # CIR
97 device pnp 2e.7 off end # GPIO6-9
98 device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA
99 device pnp 2e.9 off end # GPIO2-5
100 device pnp 2e.a on # ACPI
101 irq 0xe0 = 0x01
102 irq 0xe3 = 0x14
103 irq 0xe4 = 0x10 # + enable 3VSBSW#
104 irq 0xe6 = 0x4c
105 irq 0xe9 = 0x02
106 irq 0xf0 = 0x20 # + pin 70 = 3VSBSW
107 end
108 device pnp 2e.b on # HWM, front panel LED
109 irq 0x30 = 0xe1 # + Fan RPM sense pins
110 io 0x60 = 0x0290 # + HWM base address
111 io 0x62 = 0x0000
112 irq 0x70 = 0
113 end
114 device pnp 2e.d on end # VID
115 device pnp 2e.e off end # CIR WAKE-UP
116 device pnp 2e.f on end # GPIO Push-Pull or Open-drain
117 device pnp 2e.14 on end # SVID
118 device pnp 2e.16 on end # Deep Sleep
119 device pnp 2e.17 on end # GPIOA
120 device pnp 2e.308 on # GPIO base
121 io 0x60 = 0x0
122 end
123 end
124 end
125 device ref sata1 on
126 subsystemid 0x1849 0x1e02
127 end
128 device ref smbus on
129 subsystemid 0x1849 0x1e22
130 end
131 device ref sata2 off end
132 device ref thermal off end
133 end
134 end
135 end