mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / roda / rv11 / variants / rw11 / devicetree.cb
blob5c3c72b517d644d45a35bc7772a4ce83dec10e09
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_overcurrent_mapping" = "0x00000c03"
62 register "xhci_switchable_ports" = "0x0f"
63 register "superspeed_capable_ports" = "0x0f"
64 register "usb_port_config" = "{
65 { 1, 1, 0 }, /* P00: 1st (left) USB3 (OC #0) */
66 { 1, 1, 0 }, /* P01: 2nd (left) USB3 (OC #0) */
67 { 1, 1, 1 }, /* P02: 1st Multibay USB3 (OC #1) */
68 { 1, 1, 1 }, /* P03: 2nd Multibay USB3 (OC #1) */
69 { 1, 0, 8 }, /* P04: MiniPCIe 1 USB2 (no OC) */
70 { 1, 0, 8 }, /* P05: MiniPCIe 2 USB2 (no OC) */
71 { 1, 0, 8 }, /* P06: USB Hub x4 USB2 (no OC) */
72 { 1, 0, 8 }, /* P07: MiniPCIe 4 USB2 (no OC) */
73 { 1, 1, 8 }, /* P08: SD card reader USB2 (no OC) */
74 { 1, 1, 4 }, /* P09: 3rd (right) USB2 (OC #4) */
75 { 1, 0, 5 }, /* P10: 4th (right) USB2 (OC #5) */
76 { 1, 0, 8 }, /* P11: 3rd Multibay USB2 (no OC) */
77 { 1, 1, 8 }, /* P12: misc internal USB2 (no OC) */
78 { 1, 1, 6 }, /* P13: misc internal USB2 (OC #6) */
81 register "spi_uvscc" = "0x2005"
82 register "spi_lvscc" = "0x2005"
84 device ref xhci on end # USB 3.0 Controller
85 device ref mei1 on end # Management Engine Interface 1
86 device ref mei2 off end # Management Engine Interface 2
87 device ref me_ide_r off end # Management Engine IDE-R
88 device ref me_kt off end # Management Engine KT
89 device ref gbe on end # Intel Gigabit Ethernet
90 device ref ehci2 on end # USB2 EHCI #2
91 device ref hda on # High Definition Audio
92 subsystemid 0x1a86 0x4352
93 end
95 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
96 device ref pcie_rp1 on end # PCIe Port #1
97 device ref pcie_rp2 on end # PCIe Port #2
98 device ref pcie_rp3 on end # PCIe Port #3
99 device ref pcie_rp4 on end # PCIe Port #4
100 device ref pcie_rp5 on end # PCIe Port #5
101 device ref pcie_rp6 on end # PCIe Port #6
102 device ref pcie_rp7 on end # PCIe Port #7
103 device ref pcie_rp8 on end # PCIe Port #8
105 device ref ehci1 on end # USB2 EHCI #1
106 device ref pci_bridge off end # PCI bridge
107 device ref lpc on # LPC bridge
108 chip ec/roda/it8518
109 register "cpuhot_limit" = "100"
110 # 60h/64h KBC
111 device pnp ff.0 on # dummy address
114 chip superio/ite/it8783ef
115 register "TMPIN1.mode" = "THERMAL_RESISTOR"
116 register "TMPIN2.mode" = "THERMAL_RESISTOR"
117 register "ec.vin_mask" = "VIN_ALL"
118 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
119 register "FAN1.smart.tmpin" = " 1"
120 register "FAN1.smart.tmp_off" = "60"
121 register "FAN1.smart.tmp_start" = "64"
122 register "FAN1.smart.tmp_delta" = " 2"
123 register "FAN1.smart.pwm_start" = "30"
124 register "FAN1.smart.slope" = "64"
125 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
126 register "FAN2.smart.tmpin" = " 1"
127 register "FAN2.smart.tmp_off" = "60"
128 register "FAN2.smart.tmp_start" = "64"
129 register "FAN2.smart.tmp_delta" = " 2"
130 register "FAN2.smart.pwm_start" = "30"
131 register "FAN2.smart.slope" = "64"
132 register "FAN3.mode" = "FAN_MODE_OFF"
133 device pnp 2e.0 off end # Floppy
134 device pnp 2e.1 on # COM 1
135 io 0x60 = 0x3f8
136 irq 0x70 = 4
138 device pnp 2e.2 on # COM 2
139 io 0x60 = 0x2f8
140 irq 0x70 = 3
142 device pnp 2e.3 on # Printer Port
143 io 0x60 = 0x378
144 io 0x62 = 0x000
145 irq 0x70 = 7
146 drq 0x74 = 4
147 irq 0xf0 = 0x00
149 device pnp 2e.4 on # Environment Controller
150 io 0x60 = 0xa30
151 io 0x62 = 0xa20
152 irq 0x70 = 0
153 irq 0xf0 = 0x80
155 device pnp 2e.5 off end # Keyboard
156 device pnp 2e.6 off end # Mouse
157 device pnp 2e.7 off end # GPIO
158 device pnp 2e.8 on # COM 3
159 io 0x60 = 0x3e8
160 irq 0x70 = 4
162 device pnp 2e.9 on # COM 4
163 io 0x60 = 0x2e8
164 irq 0x70 = 3
166 device pnp 2e.a off end # COM 5
167 device pnp 2e.b off end # COM 6
168 device pnp 2e.c off end # CIR
170 end # LPC bridge
171 device ref sata1 on end # SATA Controller 1
172 device ref smbus on end # SMBus
173 device ref sata2 off end # SATA Controller 2
174 device ref thermal off end # Thermal