mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / asrock / b75m-itx / devicetree.cb
blob8ecae251f6f30259f3fb7cb75039b2e35cde97ee
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 chip northbridge/intel/sandybridge
4 register "gpu_dp_b_hotplug" = "4"
5 register "gpu_dp_c_hotplug" = "4"
6 register "gpu_dp_d_hotplug" = "4"
7 register "spd_addresses" = "{0x50, 0, 0x52, 0}"
9 device domain 0 on
10 device ref host_bridge on
11 subsystemid 0x1849 0x0150
12 end
13 device ref peg10 on
14 subsystemid 0x1849 0x0151
15 end
16 device ref igd on
17 subsystemid 0x1849 0x0152
18 end
19 chip southbridge/intel/bd82x6x
20 register "gen1_dec" = "0x000c0291"
21 register "gen2_dec" = "0x000c0241"
22 register "gen3_dec" = "0x000c0251"
23 register "sata_interface_speed_support" = "0x3"
24 register "sata_port_map" = "0x3f"
25 register "superspeed_capable_ports" = "0x0000000f"
26 register "xhci_overcurrent_mapping" = "0x00000c03"
27 register "xhci_switchable_ports" = "0x0000000f"
28 register "spi_uvscc" = "0x2005"
29 register "spi_lvscc" = "0x2005"
30 register "usb_port_config" = "{
31 {1, 0, 0}, {1, 0, 0}, {1, 1, 1}, {1, 1, 1},
32 {1, 1, 2}, {1, 1, 2}, {1, 0, 3}, {1, 0, 3},
33 {1, 0, 4}, {1, 0, 4}, {1, 0, 6},
34 {1, 1, 5}, {1, 1, 5}, {1, 0, 6}
37 device ref xhci on
38 subsystemid 0x1849 0x1e31
39 end
40 device ref mei1 on
41 subsystemid 0x1849 0x1e3a
42 end
43 device ref mei2 off end
44 device ref me_ide_r off end
45 device ref me_kt off end
46 device ref gbe off end
47 device ref ehci2 on
48 subsystemid 0x1849 0x1e2d
49 end
50 device ref hda on
51 subsystemid 0x1849 0x8892
52 end
53 device ref pcie_rp1 on
54 subsystemid 0x1849 0x1e10
55 end
56 device ref pcie_rp2 off end
57 device ref pcie_rp3 off end
58 device ref pcie_rp4 on # Realtek PCIe GbE Controller
59 subsystemid 0x1849 0x1e16
60 device pci 00.0 on end # PCI 10ec:8168
61 end
62 device ref pcie_rp5 off end
63 device ref pcie_rp6 on
64 subsystemid 0x1849 0x1e1a
65 end
66 device ref pcie_rp7 off end
67 device ref pcie_rp8 off end
68 device ref ehci1 on
69 subsystemid 0x1849 0x1e26
70 end
71 device ref pci_bridge off end
72 device ref lpc on
73 subsystemid 0x1849 0x1e49
74 chip superio/nuvoton/nct6776
75 device pnp 2e.0 off end # Floppy
76 device pnp 2e.1 on # Parallel port
77 # global
78 irq 0x1c = 0x80
79 irq 0x27 = 0xc0
80 irq 0x2a = 0x62
81 # parallel port
82 io 0x60 = 0x378
83 irq 0x70 = 5
84 drq 0x74 = 3
85 end
86 device pnp 2e.2 on # COM1
87 io 0x60 = 0x3f8
88 irq 0x70 = 4
89 end
90 device pnp 2e.3 off end # COM2, IR
91 device pnp 2e.5 on # Keyboard
92 io 0x60 = 0x60
93 io 0x62 = 0x64
94 irq 0x70 = 1
95 irq 0x72 = 12
96 end
97 device pnp 2e.6 off end # CIR
98 device pnp 2e.7 off end # GPIO6-9
99 device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA
100 device pnp 2e.9 off end # GPIO2-5
101 device pnp 2e.a on # ACPI
102 irq 0xe0 = 0x01
103 irq 0xe3 = 0x14
104 irq 0xe4 = 0x10 # + enable 3VSBSW#
105 irq 0xe6 = 0x4c
106 irq 0xe9 = 0x02
107 irq 0xf0 = 0x20 # + pin 70 = 3VSBSW
109 device pnp 2e.b on # HWM, front panel LED
110 irq 0x30 = 0xe1 # + Fan RPM sense pins
111 io 0x60 = 0x0290 # + HWM base address
112 io 0x62 = 0x0000
113 irq 0x70 = 0
115 device pnp 2e.d on end # VID
116 device pnp 2e.e off end # CIR WAKE-UP
117 device pnp 2e.f on end # GPIO Push-Pull or Open-drain
118 device pnp 2e.14 on end # SVID
119 device pnp 2e.16 on end # Deep Sleep
120 device pnp 2e.17 on end # GPIOA
121 device pnp 2e.308 on # GPIO base
122 io 0x60 = 0x0
126 device ref sata1 on
127 subsystemid 0x1849 0x1e02
129 device ref smbus on
130 subsystemid 0x1849 0x1e22
132 device ref sata2 off end
133 device ref thermal off end