mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / kontron / ktqm77 / devicetree.cb
blob6f21837d4e88ee2fc19e1d62cffae5ade63ae379
1 chip northbridge/intel/sandybridge
2 # IGD Displays
3 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
5 register "spd_addresses" = "{0x50, 0, 0x52, 0}"
6 register "max_mem_clock_mhz" = "800"
7 register "ec_present" = "1"
9 register "usb3.hs_port_switch_mask" = "0xf"
10 register "usb3.mode" = "3"
11 register "usb3.preboot_support" = "1"
12 register "usb3.xhci_streams" = "1"
14 chip cpu/intel/model_206ax
15 device cpu_cluster 0 on end
17 register "acpi_c2" = "CPU_ACPI_C6"
18 register "acpi_c3" = "CPU_ACPI_DISABLED"
19 end
21 device domain 0 on
22 device ref host_bridge on end # host bridge
23 device ref peg10 on end # PCIe Bridge x16
24 device ref igd on end # vga controller
26 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
27 # Enable all SATA ports 0-5
28 register "sata_port_map" = "0x3f"
29 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
30 register "sata_interface_speed_support" = "0x3"
32 # TODO: Enable generic LPC decodes...
33 register "gen1_dec" = "0x001c02e1"
34 #register "gen2_dec" = "0x00000000"
35 #register "gen3_dec" = "0x00000000"
36 #register "gen4_dec" = "0x00000000"
38 # Disable root port coalescing
39 register "pcie_port_coalesce" = "false"
41 register "xhci_switchable_ports" = "0x0f"
42 register "superspeed_capable_ports" = "0x0f"
43 register "usb_port_config" = "{
44 { 1, 0, 0 }, /* P0: lower left USB 3.0 (OC0) */
45 { 1, 0, 0 }, /* P1: upper left USB 3.0 (OC0) */
46 { 1, 0, 0 }, /* P2: lower right USB 3.0 (OC0) */
47 { 1, 0, 0 }, /* P3: upper right USB 3.0 (OC0) */
48 { 1, 0, 0 }, /* P4: lower USB 2.0 (OC0) */
49 { 1, 0, 0 }, /* P5: upper USB 2.0 (OC0) */
50 { 1, 0, 0 }, /* P6: front panel USB 2.0 (OC0) */
51 { 1, 0, 0 }, /* P7: front panel USB 2.0 (OC0) */
52 { 1, 0, 4 }, /* P8: internal USB 2.0 (OC4) */
53 { 1, 0, 4 }, /* P9: internal USB 2.0 (OC4) */
54 { 1, 0, 4 }, /* P10: internal USB 2.0 (OC4) */
55 { 1, 0, 4 }, /* P11: internal USB 2.0 (OC4) */
56 { 1, 0, 4 }, /* P12: internal USB 2.0 (OC4) */
57 { 1, 0, 4 }, /* P13: internal USB 2.0 (OC4) */
60 device ref xhci on end # USB 3.0 Controller
61 device ref mei1 on end # Management Engine Interface 1
62 device ref mei2 off end # Management Engine Interface 2
63 device ref me_ide_r off end # Management Engine IDE-R
64 device ref me_kt off end # Management Engine KT
65 device ref gbe on end # Intel Gigabit Ethernet
66 device ref ehci2 on end # USB2 EHCI #2
67 device ref hda on end # High Definition Audio
69 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
70 # There are two mini PCIe x1 sockets, so one PCIe port is unrouted
71 device ref pcie_rp1 on end # PCIe Port #1 mini PCIe x1?
72 device ref pcie_rp2 on end # PCIe Port #2 mini PCIe x1?
73 device ref pcie_rp3 on end # PCIe Port #3 second Ethernet NIC
74 device ref pcie_rp4 on end # PCIe Port #4 third Ethernet NIC
75 device ref pcie_rp5 on end # PCIe Port #5 first Ethernet PHY
76 device ref pcie_rp6 on end # PCIe Port #6 FireWire
77 device ref pcie_rp7 on end # PCIe Port #7 PCIe x1
78 device ref pcie_rp8 on end # PCIe Port #8 mini PCIe x1?
80 device ref ehci1 on end # USB2 EHCI #1
81 device ref pci_bridge off end # PCI bridge
82 device ref lpc on #LPC bridge
83 chip superio/winbond/w83627dhg
84 device pnp 2e.0 off # Floppy
85 end
86 device pnp 2e.1 off # Parallel Port
87 end
88 device pnp 2e.2 on # Com1
89 io 0x60 = 0x3f8
90 irq 0x70 = 4
91 end
92 device pnp 2e.3 on # Com2
93 io 0x60 = 0x2f8
94 irq 0x70 = 3
95 end
96 device pnp 2e.5 off # Keyboard
97 end
98 device pnp 2e.6 off # SPI
99 end
100 device pnp 2e.307 off # GPIO 1
102 device pnp 2e.8 off # WDTO#, PLED
104 device pnp 2e.009 on # GPIO2 -- original firmware sets this on
106 device pnp 2e.109 on # GPIO3 -- original firmware sets this on
108 device pnp 2e.209 off # GPIO4
110 device pnp 2e.309 off # GPIO5
112 device pnp 2e.a off # ACPI
114 device pnp 2e.b off # HWM
116 device pnp 2e.c off # PECI, SST
118 end #superio/winbond/w83627dhg
119 chip ec/kontron/it8516e
120 # Set CPU Fan to 50°C, System Fan to 75%
121 register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }"
122 register "default_fan_target" = "{ 50, 75 }"
124 # TODO: Check status when Linux runs
125 device pnp 20e.1 on # Com3
126 io 0x60 = 0x03e8
127 irq 0x70 = 4
129 device pnp 20e.2 on # Com4
130 io 0x60 = 0x02e8
131 irq 0x70 = 3
133 device pnp 20e.4 off # System Wakeup
135 device pnp 20e.5 on # Mouse
136 irq 0x70 = 12
138 device pnp 20e.6 on # Keyboard
139 io 0x60 = 0x0060
140 io 0x62 = 0x0064
141 irq 0x70 = 1
143 device pnp 20e.f off # Shared Memory
145 device pnp 20e.10 off # BRAM / RTC
147 device pnp 20e.11 on # PM channel 1
148 io 0x60 = 0x0062
149 io 0x62 = 0x0066
150 irq 0x70 = 0
152 device pnp 20e.12 on # PM channel 2
153 io 0x60 = 0x020c
154 io 0x62 = 0x020d
155 irq 0x70 = 0
157 device pnp 20e.17 off # PM channel 3
159 end #ec/kontron/it8516e
160 # TODO: TPM on 4e
161 end # LPC bridge
162 device ref sata1 on end # SATA Controller 1
163 device ref smbus on end # SMBus
164 device ref sata2 off end # SATA Controller 2
165 device ref thermal off end # Thermal