mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / asrock / z97_extreme6 / devicetree.cb
blobdcb8123790f7981387d347aea9f3d00d15c04873
1 ## SPDX-License-Identifier: GPL-2.0-or-later
3 chip northbridge/intel/haswell
5 # This mainboard has DVI-I
6 register "gpu_ddi_e_connected" = "1"
8 # This mainboard has a DP output
9 register "gpu_dp_c_hotplug" = "7"
11 register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
12 chip cpu/intel/haswell
13 device cpu_cluster 0 on ops haswell_cpu_bus_ops end
14 end
16 device domain 0 on
17 ops haswell_pci_domain_ops
18 subsystemid 0x1849 0x0c00 inherit
20 device pci 00.0 on end # Host bridge
21 device pci 01.0 on end # Bifurcated PEG: PCIE2 slot
22 device pci 01.1 on end # Bifurcated PEG: PCIE4 slot
23 device pci 01.2 on end # Bifurcated PEG: M2_1 slot
24 device pci 02.0 on end # iGPU
25 device pci 03.0 on end # Mini-HD
27 chip southbridge/intel/lynxpoint
28 register "gen1_dec" = "0x000c0291" # Super I/O HWM
29 register "sata_port_map" = "0x3f"
31 device pci 14.0 on end # xHCI controller
32 device pci 16.0 on end # MEI #1
33 device pci 16.1 off end # MEI #2
34 device pci 19.0 on end # Intel GbE through I218-V PHY
35 device pci 1a.0 on end # EHCI #2
36 device pci 1b.0 on end # HD Audio
37 device pci 1c.0 on end # RP #1: muxed M2_2 slot, SATA Express
38 device pci 1c.1 off end # RP #2
39 device pci 1c.2 on # RP #3: Realtek RTL8111E GbE NIC
40 device pci 00.0 on end
41 end
42 device pci 1c.3 on end # RP #4: ASM1184E 4-Port PCIe switch
43 device pci 1c.4 on end # RP #5: PCIE5 slot
44 device pci 1c.5 off end # RP #6
45 device pci 1c.6 on end # RP #7: ASM1042A USB 3.0
46 device pci 1c.7 off end # RP #8
47 device pci 1d.0 on end # EHCI #1
48 device pci 1f.0 on # LPC bridge
49 chip superio/common
50 device pnp 2e.0 on
51 chip superio/nuvoton/nct6791d
52 device pnp 2e.1 off end # Parallel
53 device pnp 2e.2 on # UART A
54 io 0x60 = 0x03f8
55 irq 0x70 = 4
56 end
57 device pnp 2e.3 off end # IR
58 device pnp 2e.5 on # PS/2 Keyboard/Mouse
59 io 0x60 = 0x0060
60 io 0x62 = 0x0064
61 irq 0x70 = 1 # + Keyboard IRQ
62 irq 0x72 = 12 # + Mouse IRQ
63 end
64 device pnp 2e.6 off end # CIR
65 device pnp 2e.7 off end # GPIO6
66 device pnp 2e.107 on # GPIO7
67 irq 0xe0 = 0x6f
68 irq 0xe1 = 0x10
69 end
70 device pnp 2e.207 off end # GPIO8
71 device pnp 2e.8 off end # WDT
72 device pnp 2e.108 off end # GPIO0
73 device pnp 2e.308 off end # GPIO base
74 device pnp 2e.408 off end # WDTMEM
75 device pnp 2e.708 on # GPIO1
76 irq 0xf0 = 0xbe
77 irq 0xf1 = 0x01
78 end
79 device pnp 2e.9 on # GPIO2
80 irq 0xe0 = 0xff
81 irq 0xe1 = 0x00
82 end
83 device pnp 2e.109 on # GPIO3
84 irq 0xe4 = 0x6f
85 irq 0xe5 = 0x72
86 end
87 device pnp 2e.209 on # GPIO4
88 irq 0xf0 = 0x0f
89 irq 0xf1 = 0x00
90 end
91 device pnp 2e.309 on # GPIO5
92 irq 0xf4 = 0xdf
93 irq 0xf5 = 0x00
94 end
95 device pnp 2e.a on # ACPI
96 # Power RAM in S3
97 irq 0xe4 = 0x10
98 irq 0xe5 = 0x12
99 irq 0xed = 0x01
100 irq 0xf0 = 0x30
102 device pnp 2e.b on # HWM, LED
103 irq 0x30 = 0xe1 # + Fan RPM sense pins
104 io 0x60 = 0x0290 # + HWM base address
105 io 0x62 = 0
106 irq 0x70 = 0
108 device pnp 2e.d off end # BCLK, WDT2, WDT_MEM
109 device pnp 2e.e off end # CIR wake-up
110 device pnp 2e.f off end # GPIO PP/OD
111 device pnp 2e.14 off end # SVID, Port 80 UART
112 device pnp 2e.16 off end # DS5
113 device pnp 2e.116 off end # DS3
114 device pnp 2e.316 off end # PCHDSW
115 device pnp 2e.416 off end # DSWWOPT
116 device pnp 2e.516 on end # DS3OPT
117 device pnp 2e.616 off end # DSDSS
118 device pnp 2e.716 off end # DSPU
122 chip drivers/pc80/tpm
123 device pnp 0c31.0 on end # TPM
126 device pci 1f.2 on end # SATA (AHCI)
127 device pci 1f.3 on end # SMBus
128 device pci 1f.5 off end # SATA (Legacy)