mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / supermicro / x9scl / devicetree.cb
blob7240d6dbd43584fcfedd40a3aa0ba5bf029dc2f4
1 chip northbridge/intel/sandybridge
2 register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
3 device domain 0 on
4 subsystemid 0x15d9 0x0624 inherit
5 device ref host_bridge on end # Host bridge
6 device ref peg10 on end # PEG
7 device ref peg11 on end # PEG
8 device ref igd off end # iGPU
9 device ref peg60 on end # PEG
10 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
11 register "gen1_dec" = "0x00fc0a01" # NCT6776 SuperIO (0x0a00-0aff)
12 register "gen2_dec" = "0x00fc1641" # WPCM450 SuperIO (0x1600-16ff)
13 register "gen3_dec" = "0x00040ca1" # IPMI KCS (0x0ca0-0ca3)
14 register "gen4_dec" = "0x001c03e1" # 3rd UART (0x03e0-03ff)
15 register "pcie_port_coalesce" = "true"
16 register "sata_interface_speed_support" = "0x3"
17 register "sata_port_map" = "0x3f"
18 register "spi_lvscc" = "0x2005"
19 register "spi_uvscc" = "0x2005"
21 register "usb_port_config" = "{
22 { 1, 0, 0 }, /* ? USB0 1d.0 port 1 */
23 { 1, 0, 0 }, /* ? USB1 1d.0 port 2 */
24 { 1, 0, 1 }, /* ? USB2 1d.0 port 3 */
25 { 1, 0, 1 }, /* ? USB3 1d.0 port 4 */
26 { 1, 0, 2 }, /* ? USB4 1d.0 port 5 */
27 { 1, 0, 2 }, /* ? USB5 1d.0 port 6 */
28 { 1, 0, 3 }, /* ? ??? 1a.0 port 1 */
29 { 1, 0, 3 }, /* ? BMC 1a.0 port 2 */
30 { 1, 0, 4 }, /* ? ??? 1a.0 port 3 */
31 { 1, 0, 4 }, /* ? USB11 1a.0 port 4 */
32 { 1, 0, 6 }, /* ? USB12 1a.0 port 5 */
33 { 1, 0, 5 }, /* ? USB13 1a.0 port 6 */
34 { 1, 0, 5 },
35 { 1, 0, 6 }
38 device ref mei1 off end # Management Engine Interface 1
39 device ref mei2 off end # Management Engine Interface 2
40 device ref me_ide_r off end # Management Engine IDE-R
41 device ref me_kt off end # Management Engine KT
42 device ref gbe on # Intel Gigabit Ethernet (not for X9SCL+-F)
43 subsystemid 0x15d9 0x1502
44 end
45 device ref ehci2 on end # USB2 EHCI #2
46 device ref hda off end # High Definition Audio
47 device ref pcie_rp1 on end # PCIe Port #1
48 device ref pcie_rp2 off end # PCIe Port #2
49 device ref pcie_rp3 off end # PCIe Port #3
50 device ref pcie_rp4 off end # PCIe Port #4
51 device ref pcie_rp5 on # PCIe Port #5
52 device pci 00.0 on end # primary 574 GigE
53 end
54 device ref pcie_rp6 off end # PCIe Port #6
55 device ref pcie_rp7 on # PCIe Port #7
56 device pci 00.0 on end # secondary 574 GigE on X9SCL+-F
57 end
58 device ref pcie_rp8 off end # PCIe Port #8
59 device ref ehci1 on end # USB2 EHCI #1
60 device ref pci_bridge on # PCI bridge
61 device pci 03.0 on end # Matrox G200e in BMC
62 end
63 device ref lpc on # LPC bridge
64 chip superio/nuvoton/nct6776
65 device pnp 2e.0 off end # Floppy
66 device pnp 2e.1 off end # Parallel port
67 device pnp 2e.2 on # COM1
68 io 0x60 = 0x3f8
69 irq 0x70 = 4
70 end
71 device pnp 2e.3 on # COM2, IR
72 io 0x60 = 0x2f8
73 irq 0x70 = 3
74 end
75 device pnp 2e.5 on # Keyboard
76 io 0x60 = 0x060
77 io 0x62 = 0x064
78 irq 0x70 = 1
79 irq 0x72 = 12
80 end
81 device pnp 2e.6 off end # CIR
82 device pnp 2e.7 off end # GPIO6
83 device pnp 2e.107 off end # GPIO7
84 device pnp 2e.207 off end # GPIO8
85 device pnp 2e.307 off end # GPIO9
86 device pnp 2e.8 off end # WDT
87 device pnp 2e.108 on end # GPIO0
88 device pnp 2e.208 off end # GPIOA
89 device pnp 2e.308 on # GPIOBASE
90 io 0x60 = 0xa80
91 end
92 device pnp 2e.109 off end # GPIO1
93 device pnp 2e.209 on # GPIO2
94 end
95 device pnp 2e.309 on # GPIO3
96 end
97 device pnp 2e.409 off end # GPIO4
98 device pnp 2e.509 off end # GPIO5
99 device pnp 2e.609 off end # GPIO6
100 device pnp 2e.709 off end # GPIO7
101 device pnp 2e.a off end # ACPI
102 device pnp 2e.b on # HWM, front panel LED
103 io 0x60 = 0xa30
104 io 0x62 = 0
106 device pnp 2e.d off end # VID
107 device pnp 2e.e off end # CIR WAKE-UP
108 device pnp 2e.f off end # GPIO
109 device pnp 2e.14 off end # SVID
110 device pnp 2e.16 off end # Deep sleep
111 device pnp 2e.17 off end # GPIOA
113 chip drivers/ipmi
114 register "wait_for_bmc" = "1"
115 register "bmc_boot_timeout" = "60"
116 device pnp ca2.0 off end # IPMI KCS
118 chip superio/nuvoton/wpcm450
119 device pnp 164e.2 on
120 io 0x60 = 0x03e8
121 irq 0x70 = 10
123 device pnp 164e.3 off end
124 device pnp 164e.6 off end
127 device ref sata1 on end # SATA Controller 1
128 device ref smbus on end # SMBus
129 device ref sata2 off end # SATA Controller 2
130 device ref thermal off end # Thermal