mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / asrock / h81m-hds / devicetree.cb
blobb4fe3439b31781fb19b38c5441fda415ef1cb26a
1 ## SPDX-License-Identifier: GPL-2.0-or-later
3 chip northbridge/intel/haswell
4 register "gpu_ddi_e_connected" = "1"
5 register "spd_addresses" = "{0x50, 0, 0x52, 0}"
7 chip cpu/intel/haswell
8 device cpu_cluster 0 on ops haswell_cpu_bus_ops end
9 end
11 device domain 0 on
12 ops haswell_pci_domain_ops
13 device pci 00.0 on # Host bridge
14 subsystemid 0x1849 0x0c00
15 end
17 device pci 01.0 on # PCIe graphics
18 subsystemid 0x1849 0x0c01
19 end
21 device pci 02.0 on # VGA controller
22 subsystemid 0x1849 0x0402
23 end
25 device pci 03.0 on # Mini-HD audio
26 subsystemid 0x1849 0x0c0c
27 end
29 chip southbridge/intel/lynxpoint
30 register "sata_port_map" = "0x33"
32 register "gen1_dec" = "0x00000295" # Super I/O HWM
34 device pci 14.0 on # xHCI controller
35 subsystemid 0x1849 0x8c31
36 end
37 device pci 16.0 on # Management Engine interface 1
38 subsystemid 0x1849 0x8c3a
39 end
40 device pci 16.1 off end # Management Engine interface 2
41 device pci 16.2 off end # Management Engine IDE-R
42 device pci 16.3 off end # Management Engine KT
43 device pci 19.0 off end # Intel Gigabit Ethernet
44 device pci 1a.0 on # EHCI controller #2
45 subsystemid 0x1849 0x8c2d
46 end
47 device pci 1b.0 on # HD audio controller
48 subsystemid 0x1849 0x7662
49 end
50 device pci 1c.0 on # PCIe port #1
51 subsystemid 0x1849 0x8c10
52 end
53 device pci 1c.1 off end # PCIe port #2
54 device pci 1c.2 off end # PCIe port #3
55 device pci 1c.3 on # Realtek Gigabit Ethernet
56 subsystemid 0x1849 0x8c16
57 chip drivers/net
58 register "customized_leds" = "0x0824"
59 device pci 00.0 on
60 subsystemid 0x1849 0x8168
61 end
62 end
63 end
64 device pci 1c.4 on # ASMedia USB controller
65 subsystemid 0x1849 0x8c18
66 device pci 00.0 on
67 subsystemid 0x1849 0x1042
68 end
69 end
70 device pci 1c.5 on # PCIe 1x slot
71 subsystemid 0x1849 0x8c1a
72 end
73 device pci 1d.0 on # EHCI controller #1
74 subsystemid 0x1849 0x8c26
75 end
76 device pci 1f.0 on # LPC bridge
77 subsystemid 0x1849 0x8c5c
79 chip superio/nuvoton/nct6776
80 device pnp 2e.0 off end # Floppy
81 device pnp 2e.1 on # Parallel
82 io 0x60 = 0x0378
83 irq 0x70 = 7
84 drq 0x74 = 4 # No DMA
85 irq 0xf0 = 0x3c # Printer mode
86 end
87 device pnp 2e.2 on # UART A
88 io 0x60 = 0x03f8
89 irq 0x70 = 4
90 end
91 device pnp 2e.3 on # IR
92 io 0x60 = 0x02f8
93 irq 0x70 = 3
94 end
95 device pnp 2e.5 on # PS/2 KBC
96 io 0x60 = 0x0060
97 io 0x62 = 0x0064
98 irq 0x70 = 1 # Keyboard
99 irq 0x72 = 12 # Mouse
101 device pnp 2e.6 off end # CIR
102 device pnp 2e.7 off end # GPIO8
103 device pnp 2e.107 off end # GPIO9
104 device pnp 2e.8 off end # WDT
105 device pnp 2e.108 off end # GPIO0
106 device pnp 2e.208 off end # GPIOA
107 device pnp 2e.308 off end # GPIO base
108 device pnp 2e.109 off end # GPIO1
109 device pnp 2e.209 off end # GPIO2
110 device pnp 2e.309 off end # GPIO3
111 device pnp 2e.409 off end # GPIO4
112 device pnp 2e.509 off end # GPIO5
113 device pnp 2e.609 off end # GPIO6
114 device pnp 2e.709 off end # GPIO7
115 device pnp 2e.a off end # ACPI
116 device pnp 2e.b on # HWM, LED
117 io 0x60 = 0x0290
118 io 0x62 = 0
119 irq 0x70 = 0
121 device pnp 2e.d off end # VID
122 device pnp 2e.e off end # CIR wake-up
123 device pnp 2e.f off end # GPIO PP/OD
124 device pnp 2e.14 off end # SVID
125 device pnp 2e.16 off end # Deep sleep
126 device pnp 2e.17 off end # GPIOA
129 device pci 1f.2 on # SATA controller 1
130 subsystemid 0x1849 0x8c02
132 device pci 1f.3 on # SMBus
133 subsystemid 0x1849 0x8c22
135 device pci 1f.5 off end # SATA controller 2
136 device pci 1f.6 off end # Thermal