soc/intel/denverton_ns: Remove unused memcpy_s function
[coreboot2.git] / src / mainboard / roda / rv11 / variants / rw11 / devicetree.cb
blobdadde9fc7c2d3b30ffc4088103b4006b0a919cff
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/sandybridge
4 # IGD Displays
5 register "gfx.ndid" = "4"
6 register "gfx.did" = "{ 0x80000400, 0x80000300, 0x80000301, 0x80000100, }"
8 # Enable Panel as eDP and configure power delays
9 register "gpu_panel_port_select" = "PANEL_PORT_DP_A"
10 register "gpu_panel_power_cycle_delay" = "6" # 500ms
11 register "gpu_panel_power_up_delay" = "2000" # 200ms
12 register "gpu_panel_power_down_delay" = "500" # 50ms
13 register "gpu_panel_power_backlight_on_delay" = "1" # 100us as recommended by PRM
14 register "gpu_panel_power_backlight_off_delay" = "2000" # 200ms
16 # Set backlight PWM values for eDP
17 register "gpu_cpu_backlight" = "0x00000ac8"
18 register "gpu_pch_backlight" = "0x13120000"
20 register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}"
21 register "ec_present" = "1"
22 register "max_mem_clock_mhz" = "800"
24 register "usb3.mode" = "3"
25 register "usb3.hs_port_switch_mask" = "0xf"
26 register "usb3.preboot_support" = "1"
27 register "usb3.xhci_streams" = "1"
29 chip cpu/intel/model_206ax
30 device cpu_cluster 0 on end
32 register "acpi_c2" = "CPU_ACPI_C6"
33 register "acpi_c3" = "CPU_ACPI_DISABLED"
34 end
36 device domain 0 on
37 device ref host_bridge on end # host bridge
38 device ref igd on end # vga controller
40 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
41 # LPC i/o generic decodes
42 register "gen1_dec" = "0x003c0a01" # ITE environment controller
43 register "gen2_dec" = "0x000403e9" # additional com port
44 register "gen3_dec" = "0x000402e9" # additional com port
46 # Enable both SATA ports 0, 1
47 register "sata_port_map" = "0x03"
48 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
49 register "sata_interface_speed_support" = "0x3"
51 # Route GPI7 (EC SCI) as SCI
52 register "gpi7_routing" = "2"
54 # Enable GPE17 (GPI7) and TCO SCI
55 register "gpe0_en" = "0x00800040"
57 # Disable root port coalescing
58 register "pcie_port_coalesce" = "false"
59 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 1, 1 }"
61 register "xhci_switchable_ports" = "0x0f"
62 register "superspeed_capable_ports" = "0x0f"
63 register "usb_port_config" = "{
64 { 1, 1, 0 }, /* P00: 1st (left) USB3 (OC #0) */
65 { 1, 1, 0 }, /* P01: 2nd (left) USB3 (OC #0) */
66 { 1, 1, 1 }, /* P02: 1st Multibay USB3 (OC #1) */
67 { 1, 1, 1 }, /* P03: 2nd Multibay USB3 (OC #1) */
68 { 1, 0, 8 }, /* P04: MiniPCIe 1 USB2 (no OC) */
69 { 1, 0, 8 }, /* P05: MiniPCIe 2 USB2 (no OC) */
70 { 1, 0, 8 }, /* P06: USB Hub x4 USB2 (no OC) */
71 { 1, 0, 8 }, /* P07: MiniPCIe 4 USB2 (no OC) */
72 { 1, 1, 8 }, /* P08: SD card reader USB2 (no OC) */
73 { 1, 1, 4 }, /* P09: 3rd (right) USB2 (OC #4) */
74 { 1, 0, 5 }, /* P10: 4th (right) USB2 (OC #5) */
75 { 1, 0, 8 }, /* P11: 3rd Multibay USB2 (no OC) */
76 { 1, 1, 8 }, /* P12: misc internal USB2 (no OC) */
77 { 1, 1, 6 }, /* P13: misc internal USB2 (OC #6) */
80 register "spi_uvscc" = "0x2005"
81 register "spi_lvscc" = "0x2005"
83 device ref xhci on end # USB 3.0 Controller
84 device ref mei1 on end # Management Engine Interface 1
85 device ref mei2 off end # Management Engine Interface 2
86 device ref me_ide_r off end # Management Engine IDE-R
87 device ref me_kt off end # Management Engine KT
88 device ref gbe on end # Intel Gigabit Ethernet
89 device ref ehci2 on end # USB2 EHCI #2
90 device ref hda on # High Definition Audio
91 subsystemid 0x1a86 0x4352
92 end
94 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
95 device ref pcie_rp1 on end # PCIe Port #1
96 device ref pcie_rp2 on end # PCIe Port #2
97 device ref pcie_rp3 on end # PCIe Port #3
98 device ref pcie_rp4 on end # PCIe Port #4
99 device ref pcie_rp5 on end # PCIe Port #5
100 device ref pcie_rp6 on end # PCIe Port #6
101 device ref pcie_rp7 on end # PCIe Port #7
102 device ref pcie_rp8 on end # PCIe Port #8
104 device ref ehci1 on end # USB2 EHCI #1
105 device ref pci_bridge off end # PCI bridge
106 device ref lpc on # LPC bridge
107 chip ec/roda/it8518
108 register "cpuhot_limit" = "100"
109 # 60h/64h KBC
110 device pnp ff.0 on # dummy address
113 chip superio/ite/it8783ef
114 register "TMPIN1.mode" = "THERMAL_RESISTOR"
115 register "TMPIN2.mode" = "THERMAL_RESISTOR"
116 register "ec.vin_mask" = "VIN_ALL"
117 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
118 register "FAN1.smart.tmpin" = " 1"
119 register "FAN1.smart.tmp_off" = "60"
120 register "FAN1.smart.tmp_start" = "64"
121 register "FAN1.smart.tmp_delta" = " 2"
122 register "FAN1.smart.pwm_start" = "30"
123 register "FAN1.smart.slope" = "64"
124 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
125 register "FAN2.smart.tmpin" = " 1"
126 register "FAN2.smart.tmp_off" = "60"
127 register "FAN2.smart.tmp_start" = "64"
128 register "FAN2.smart.tmp_delta" = " 2"
129 register "FAN2.smart.pwm_start" = "30"
130 register "FAN2.smart.slope" = "64"
131 register "FAN3.mode" = "FAN_MODE_OFF"
132 device pnp 2e.0 off end # Floppy
133 device pnp 2e.1 on # COM 1
134 io 0x60 = 0x3f8
135 irq 0x70 = 4
137 device pnp 2e.2 on # COM 2
138 io 0x60 = 0x2f8
139 irq 0x70 = 3
141 device pnp 2e.3 on # Printer Port
142 io 0x60 = 0x378
143 io 0x62 = 0x000
144 irq 0x70 = 7
145 drq 0x74 = 4
146 irq 0xf0 = 0x00
148 device pnp 2e.4 on # Environment Controller
149 io 0x60 = 0xa30
150 io 0x62 = 0xa20
151 irq 0x70 = 0
152 irq 0xf0 = 0x80
154 device pnp 2e.5 off end # Keyboard
155 device pnp 2e.6 off end # Mouse
156 device pnp 2e.7 off end # GPIO
157 device pnp 2e.8 on # COM 3
158 io 0x60 = 0x3e8
159 irq 0x70 = 4
161 device pnp 2e.9 on # COM 4
162 io 0x60 = 0x2e8
163 irq 0x70 = 3
165 device pnp 2e.a off end # COM 5
166 device pnp 2e.b off end # COM 6
167 device pnp 2e.c off end # CIR
169 end # LPC bridge
170 device ref sata1 on end # SATA Controller 1
171 device ref smbus on end # SMBus
172 device ref sata2 off end # SATA Controller 2
173 device ref thermal off end # Thermal