Debian Codegraph @

src/mainboard/hp/prodesk_600_g1_sff/devicetree.cb

raw
1 chip northbridge/intel/haswell
2 register "gpu_ddi_e_connected" = "1"
3 register "spd_addresses" = "{0x53, 0x52, 0x51, 0x50}"
4 chip cpu/intel/haswell
5 device cpu_cluster 0 on ops haswell_cpu_bus_ops end
6 end
7 device domain 0 on
8 ops haswell_pci_domain_ops
9 subsystemid 0x103c 0x18e7 inherit
10 device pci 00.0 on end # Host bridge
11 device pci 01.0 on end # X16PCIEXP1
12 device pci 02.0 on end # Internal graphics VGA controller
13 device pci 03.0 on end # Mini-HD audio
14 chip southbridge/intel/lynxpoint # Intel Series 8 Lynx Point PCH
15 register "gen1_dec" = "0x00fc0a01"
16 register "gen2_dec" = "0x00fc0801"
17 register "gpe0_en_1" = "0x0146"
18 register "sata_port0_gen3_dtle" = "0x5"
19 register "sata_port1_gen3_dtle" = "0x5"
20 register "sata_port_map" = "0x3f"
21 device pci 14.0 on end # xHCI Controller
22 device pci 16.0 on end # Management Engine Interface 1
23 device pci 16.1 off end # Management Engine Interface 2
24 device pci 16.2 off end # Management Engine IDE-R
25 device pci 16.3 on end # Management Engine KT
26 device pci 19.0 on end # Intel Gigabit Ethernet I217-LM
27 device pci 1a.0 on end # USB2 EHCI #2
28 device pci 1b.0 on end # High Definition Audio
29 device pci 1c.0 on end # PCIe Port #1
30 device pci 1c.1 on end # X1PCIEXP2
31 device pci 1c.2 off end # PCIe Port #3
32 device pci 1c.3 on end # X1PCIEXP1
33 device pci 1c.4 on end # X1PCIEXP3
34 device pci 1c.5 off end # PCIe Port #6
35 device pci 1c.6 off end # PCIe Port #7
36 device pci 1c.7 off end # PCIe Port #8
37 device pci 1d.0 on end # USB2 EHCI #1
38 device pci 1f.0 on # LPC bridge
39 chip superio/common
40 device pnp 2e.ff on # passes SIO base addr to SSDT gen
41 chip superio/nuvoton/npcd378
42 device pnp 2e.0 off end # Floppy
43 device pnp 2e.1 on # Parallel port
44 # global
45
46 # serialice: Vendor writes:
47 irq 0x14 = 0x9c
48 irq 0x1c = 0xa8
49 irq 0x1d = 0x08
50 irq 0x22 = 0x3f
51 irq 0x1a = 0xb0
52 # dumped from superiotool:
53 irq 0x1b = 0x1e
54 irq 0x27 = 0x08
55 irq 0x2a = 0x20
56 irq 0x2d = 0x01
57 # parallel port
58 io 0x60 = 0x378
59 irq 0x70 = 0x07
60 drq 0x74 = 0x04
61 end
62 device pnp 2e.2 off # COM1
63 io 0x60 = 0x2f8
64 irq 0x70 = 3
65 end
66 device pnp 2e.3 on # COM2, IR
67 io 0x60 = 0x3f8
68 irq 0x70 = 4
69 end
70 device pnp 2e.4 on # LED control
71 io 0x60 = 0x0a00
72 # IOBASE[0h] = bit0 LED red / green
73 # IOBASE[0h] = bit1-4 LED PWM duty cycle
74 # IOBASE[1h] = bit6 SWCC
75
76 io 0x62 = 0x0a10
77 # IOBASE [0h] = GPES
78 # IOBASE [1h] = GPEE
79 # IOBASE [4h:7h] = 32bit upcounter at 1Mhz
80 # IOBASE [8h:bh] = GPS
81 # IOBASE [ch:fh] = GPE
82 end
83 device pnp 2e.5 on # Mouse
84 irq 0x70 = 0xc
85 end
86 device pnp 2e.6 on # Keyboard
87 io 0x60 = 0x0060
88 io 0x62 = 0x0064
89 irq 0x70 = 0x01
90 # serialice: Vendor writes:
91 drq 0xf0 = 0x40
92 end
93 device pnp 2e.7 on # WDT ?
94 io 0x60 = 0x0a20
95 end
96 device pnp 2e.8 off # HWM
97 io 0x60 = 0x800
98 # IOBASE[0h:feh] HWM page
99 # IOBASE[ffh] bit0-bit3 page selector
100
101 drq 0xf0 = 0x20
102 drq 0xf1 = 0x01
103 drq 0xf2 = 0x40
104 drq 0xf3 = 0x01
105
106 drq 0xf4 = 0x66
107 drq 0xf5 = 0x67
108 drq 0xf6 = 0x66
109 drq 0xf7 = 0x01
110 end
111 device pnp 2e.f on # GPIO OD ?
112 drq 0xf1 = 0x97
113 drq 0xf2 = 0x01
114 drq 0xf5 = 0x08
115 drq 0xfe = 0x80
116 end
117 device pnp 2e.15 on # BUS ?
118 io 0x60 = 0x0a80
119 io 0x62 = 0x0a90
120 end
121 device pnp 2e.1c on # Suspend Control ?
122 io 0x60 = 0x0a40
123 # writing to IOBASE[5h]
124 # 0x0: Power off
125 # 0x9: Power off and bricked until CMOS battery removed
126 end
127 device pnp 2e.1e on # GPIO ?
128 io 0x60 = 0x0a60
129 drq 0xf4 = 0x01
130 # skip the following, as it
131 # looks like remapped registers
132 #drq 0xf5 = 0x06
133 #drq 0xf6 = 0x60
134 #drq 0xfe = 0x03
135 end
136 end
137 end
138 end
139 chip drivers/pc80/tpm
140 device pnp 4e.0 on end # TPM module
141 end
142 end
143 device pci 1f.2 on end # SATA Controller (AHCI)
144 device pci 1f.3 on end # SMBus
145 device pci 1f.5 off end # SATA Controller (Legacy)
146 device pci 1f.6 off end # Thermal
147 end
148 end
149 end