mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / asrock / b75pro3-m / devicetree.cb
blob1cf501549e6434ff6aa9c10791324b74289ae3ad
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 chip northbridge/intel/sandybridge
4 register "gfx.use_spread_spectrum_clock" = "0"
5 register "gpu_cpu_backlight" = "0x00000000"
6 register "gpu_dp_b_hotplug" = "4"
7 register "gpu_dp_c_hotplug" = "4"
8 register "gpu_dp_d_hotplug" = "4"
9 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
10 register "gpu_panel_power_backlight_off_delay" = "0"
11 register "gpu_panel_power_backlight_on_delay" = "0"
12 register "gpu_panel_power_cycle_delay" = "4"
13 register "gpu_panel_power_down_delay" = "0"
14 register "gpu_panel_power_up_delay" = "0"
15 register "gpu_pch_backlight" = "0x00000000"
16 register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
18 device domain 0 on
19 device ref host_bridge on
20 subsystemid 0x1849 0x0150
21 end
22 device ref peg10 on
23 subsystemid 0x1849 0x0151
24 end
25 device ref igd on
26 subsystemid 0x1849 0x0152
27 end
28 chip southbridge/intel/bd82x6x
29 register "docking_supported" = "0"
30 register "gen1_dec" = "0x000c0291"
31 register "gen2_dec" = "0x000c0241"
32 register "gen3_dec" = "0x000c0251"
33 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
34 register "pcie_port_coalesce" = "false"
35 register "sata_interface_speed_support" = "0x3"
36 register "sata_port_map" = "0x3f"
37 register "superspeed_capable_ports" = "0x0000000f"
38 register "xhci_overcurrent_mapping" = "0x00000c03"
39 register "xhci_switchable_ports" = "0x0000000f"
40 register "spi_uvscc" = "0x2005"
41 register "spi_lvscc" = "0x2005"
42 register "usb_port_config" = "{
43 { 1, 0, 0 },
44 { 1, 0, 0 },
45 { 1, 1, 1 },
46 { 1, 1, 1 },
47 { 1, 1, 2 },
48 { 1, 1, 2 },
49 { 1, 0, 3 },
50 { 1, 0, 3 },
51 { 1, 0, 4 },
52 { 1, 0, 4 },
53 { 1, 0, 6 },
54 { 1, 1, 5 },
55 { 1, 1, 5 },
56 { 1, 0, 6 }
59 device ref xhci on # USB 3.0 Controller
60 subsystemid 0x1849 0x1e31
61 end
62 device ref mei1 on # Management Engine Interface 1
63 subsystemid 0x1849 0x1e3a
64 end
65 device ref mei2 off # Management Engine Interface 2
66 end
67 device ref me_ide_r off # Management Engine IDE-R
68 end
69 device ref me_kt off end # Management Engine KT
70 device ref gbe off # Intel Gigabit Ethernet
71 end
72 device ref ehci2 on # USB2 EHCI #2
73 subsystemid 0x1849 0x1e2d
74 end
75 device ref hda on # High Definition Audio controller
76 subsystemid 0x1849 0x8892
77 end
78 device ref pcie_rp1 on # PCIe Port #1
79 subsystemid 0x1849 0x1e10
80 end
81 device ref pcie_rp2 off # PCIe Port #2
82 end
83 device ref pcie_rp3 off # PCIe Port #3
84 end
85 device ref pcie_rp4 off # PCIe Port #4
86 end
87 device ref pcie_rp5 on # PCIe Port #5, ASMedia ASM1062 SATA Controller
88 subsystemid 0x1849 0x1e18
89 end
90 device ref pcie_rp6 on # PCIe Port #6, Realtek PCIe GbE Controller
91 subsystemid 0x1849 0x1e1a
92 device pci 00.0 on end
93 end
94 device ref pcie_rp7 off # PCIe Port #7
95 end
96 device ref pcie_rp8 off # PCIe Port #8
97 end
98 device ref ehci1 on # USB2 EHCI #1
99 subsystemid 0x1849 0x1e26
101 device ref pci_bridge on # PCI bridge
102 subsystemid 0x1849 0x244e
104 device ref lpc on # LPC bridge
105 subsystemid 0x1849 0x1e49
106 chip superio/nuvoton/nct6776
107 device pnp 2e.0 off end # Floppy
108 device pnp 2e.1 on # Parallel port
109 # global
110 irq 0x1c = 0x80
111 irq 0x27 = 0xc0
112 irq 0x2a = 0x62
113 # parallel port
114 io 0x60 = 0x378
115 irq 0x70 = 5
116 drq 0x74 = 3
118 device pnp 2e.2 on # COM1
119 io 0x60 = 0x3f8
120 irq 0x70 = 4
122 device pnp 2e.3 off end # COM2, IR
123 device pnp 2e.5 on # Keyboard
124 io 0x60 = 0x60
125 io 0x62 = 0x64
126 irq 0x70 = 1
127 irq 0x72 = 12
129 device pnp 2e.6 off end # CIR
130 device pnp 2e.7 off end # GPIO8
131 device pnp 2e.8 off end # WDT1
132 device pnp 2e.308 on # GPIO base
133 io 0x60 = 0x0
134 irq 0xf0 = 0x3e # + GPIO1 direction
135 irq 0xf1 = 0xde # + GPIO1 value
137 device pnp 2e.a on # ACPI
138 irq 0xe0 = 0x01
139 irq 0xe3 = 0x14
140 irq 0xe4 = 0x10 # + enable 3VSBSW#
141 irq 0xe6 = 0x4c
142 irq 0xe9 = 0x02
143 irq 0xf0 = 0x20 # + pin 70 = 3VSBSW
145 device pnp 2e.b on # HWM, front panel LED
146 irq 0x30 = 0xe1 # + Fan RPM sense pins
147 io 0x60 = 0x0290 # + HWM base address
148 io 0x62 = 0x0000
149 irq 0x70 = 0
151 device pnp 2e.d on end # VID
152 device pnp 2e.e off end # CIR WAKE-UP
153 device pnp 2e.f on end # GPIO Push-Pull or Open-drain
154 device pnp 2e.14 on end # SVID
155 device pnp 2e.16 on end # Deep Sleep
156 device pnp 2e.17 on end # GPIOA
159 device ref sata1 on # SATA Controller 1
160 subsystemid 0x1849 0x1e02
162 device ref smbus on # SMBus
163 subsystemid 0x1849 0x1e22
165 device ref sata2 off # SATA Controller 2
167 device ref thermal off # Thermal