mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / asrock / b85m_pro4 / devicetree.cb
blob4cd3b3c3ed0149b2cb6eb270f9a5d6ebef6584eb
1 chip northbridge/intel/haswell
3 # This mainboard has VGA
4 register "gpu_ddi_e_connected" = "1"
6 register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
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 subsystemid 0x1849 0x0c00 inherit
15 device pci 00.0 on end # Host bridge
16 device pci 01.0 on end # PCIe graphics
17 device pci 02.0 on end # iGPU
18 device pci 03.0 on end # Mini-HD audio
20 chip southbridge/intel/lynxpoint
21 register "gen1_dec" = "0x000c0291" # Super I/O HWM
22 register "sata_port_map" = "0x3f"
24 device pci 14.0 on end # xHCI controller
25 device pci 16.0 on end # MEI #1
26 device pci 16.1 off end # MEI #2
27 device pci 16.2 off end # ME IDE-R
28 device pci 16.3 on end # ME KT
29 device pci 19.0 on end # Intel GbE through I217-V PHY
30 device pci 1a.0 on end # EHCI #2
31 device pci 1b.0 on end # HD Audio
32 device pci 1c.0 on end # RP #1: ASM1083 PCI bridge
33 device pci 1c.1 off end # RP #2
34 device pci 1c.2 off end # RP #3
35 device pci 1c.3 off end # RP #4
36 device pci 1c.4 on end # RP #5: PCIe x16 (electrical x4)
37 device pci 1d.0 on end # EHCI #1
38 device pci 1f.0 on # LPC bridge
40 chip superio/nuvoton/nct6776
41 device pnp 2e.0 off end # Floppy
42 device pnp 2e.1 on # Parallel
43 io 0x60 = 0x0378
44 irq 0x70 = 6
45 drq 0x74 = 2
46 irq 0xf0 = 0x3b # + ECP and EPP 1.9
47 end
48 device pnp 2e.2 on # UART A
49 io 0x60 = 0x03f8
50 irq 0x70 = 4
51 end
52 device pnp 2e.3 off end # UART B, IR
53 device pnp 2e.5 on # PS/2 Keyboard/Mouse
54 io 0x60 = 0x0060
55 io 0x62 = 0x0064
56 irq 0x70 = 1 # + Keyboard IRQ
57 irq 0x72 = 12 # + Mouse IRQ (unused)
58 end
59 device pnp 2e.6 off end # CIR
60 device pnp 2e.7 off end # GPIO8
61 device pnp 2e.107 off end # GPIO9
62 device pnp 2e.8 off end # WDT
63 device pnp 2e.108 on # GPIO0
64 irq 0xe0 = 0xf9 # + GPIO0 direction
65 irq 0xe1 = 0xfd # + GPIO0 value
66 end
67 device pnp 2e.208 off end # GPIOA
68 device pnp 2e.308 off end # GPIO base
69 device pnp 2e.109 on # GPIO1
70 irq 0xf0 = 0xf1 # + GPIO1 direction
71 irq 0xf1 = 0xf1 # + GPIO1 value
72 end
73 device pnp 2e.209 off end # GPIO2
74 device pnp 2e.309 off end # GPIO3
75 device pnp 2e.409 off end # GPIO4
76 device pnp 2e.509 off end # GPIO5
77 device pnp 2e.609 off end # GPIO6
78 device pnp 2e.709 on # GPIO7
79 irq 0xe0 = 0xff # + GPIO7 direction
80 end
81 device pnp 2e.a on # ACPI
82 irq 0xe4 = 0x10 # + Power RAM in S3
83 irq 0xf0 = 0x20
84 end
85 device pnp 2e.b on # HWM, LED
86 irq 0x30 = 0xe1 # + Fan RPM sense pins
87 io 0x60 = 0x0290 # + HWM base address
88 irq 0x70 = 0
89 end
90 device pnp 2e.d off end # VID
91 device pnp 2e.e off end # CIR wake-up
92 device pnp 2e.f off end # GPIO PP/OD
93 device pnp 2e.14 off end # SVID
94 device pnp 2e.16 off end # Deep sleep
95 device pnp 2e.17 off end # GPIOA
96 end
97 chip drivers/pc80/tpm
98 device pnp 4e.0 on end # TPM
99 end
101 device pci 1f.2 on end # SATA (AHCI)
102 device pci 1f.3 on end # SMBus
103 device pci 1f.5 off end # SATA (Legacy)
104 device pci 1f.6 off end # Thermal