libpayload: configs: Add new config.featuretest to broaden CI
[coreboot.git] / src / mainboard / lenovo / t520 / devicetree.cb
blobc404df2d2dc4044f6230b81d27323f1a9983dc2c
1 chip northbridge/intel/sandybridge
2 # IGD Displays
3 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
5 # Enable DisplayPort Hotplug with 6ms pulse
6 register "gpu_dp_d_hotplug" = "0x06"
8 # Enable Panel as LVDS and configure power delays
9 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
10 register "gpu_panel_power_cycle_delay" = "5"
11 register "gpu_panel_power_up_delay" = "300" # T1+T2: 30ms
12 register "gpu_panel_power_down_delay" = "300" # T5+T6: 30ms
13 register "gpu_panel_power_backlight_on_delay" = "2000" # T3: 200ms
14 register "gpu_panel_power_backlight_off_delay" = "2000" # T4: 200ms
15 register "gpu_cpu_backlight" = "0x1155"
16 register "gpu_pch_backlight" = "0x06100610"
18 chip cpu/intel/model_206ax
19 # Values obtained from vendor BIOS
20 register "pp0_psi[VR12_PSI2]" = "{VR12_ALL_PHASES, 5}"
21 register "pp0_psi[VR12_PSI3]" = "{VR12_ALL_PHASES, 1}"
22 register "pp1_psi[VR12_PSI2]" = "{VR12_ALL_PHASES, 5}"
23 register "pp1_psi[VR12_PSI3]" = "{VR12_ALL_PHASES, 1}"
24 device cpu_cluster 0 on end
25 end
26 device domain 0 on
27 subsystemid 0x17aa 0x21cf inherit
29 device ref host_bridge on end
30 device ref peg10 on end # NVIDIA Copcie_rporation GF119M [NVS 4200M]
31 device ref igd on
32 subsystemid 0x17aa 0x21d1
33 end
35 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
36 # GPI routing
37 # 0 No effect (default)
38 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
39 # 2 SCI (if corresponding GPIO_EN bit is also set)
40 register "alt_gp_smi_en" = "0x0000"
41 register "gpi1_routing" = "2"
42 register "gpi13_routing" = "2"
44 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 3 (eSATA) & 4 (dock)
45 register "sata_port_map" = "0x1f"
46 # Set max SATA speed to 6.0 Gb/s
47 register "sata_interface_speed_support" = "0x3"
49 register "gen1_dec" = "0x7c1601"
50 register "gen2_dec" = "0x0c15e1"
51 register "gen4_dec" = "0x0c06a1"
53 # Enable zero-based linear PCIe root port functions
54 register "pcie_port_coalesce" = "true"
56 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
58 register "spi_uvscc" = "0x2005"
59 register "spi_lvscc" = "0x2005"
61 # OC3 set in BIOS to port 2-7, OC7 set in BIOS to port 10-13
62 register "usb_port_config" = "{
63 {1, 1, 0}, /* P0: system port 4, OC0 */
64 {1, 1, 1}, /* P1: system port 2 (EHCI debug), OC 1 */
65 {1, 1, -1}, /* P2: HALF MINICARD (WLAN) no oc */
66 {1, 0, -1}, /* P3: WWAN, no OC */
67 {1, 0, -1}, /* P4: smartcard, no OC */
68 {1, 1, -1}, /* P5: ExpressCard, no OC */
69 {0, 0, -1}, /* P6: empty */
70 {0, 0, -1}, /* P7: empty */
71 {1, 1, 4}, /* P8: system port 3, OC4*/
72 {1, 1, 5}, /* P9: system port 1 (EHCI debug), OC 5 */
73 {1, 0, -1}, /* P10: fingerprint reader, no OC */
74 {1, 0, -1}, /* P11: bluetooth, no OC. */
75 {1, 1, -1}, /* P12: docking, no OC */
76 {1, 1, -1} /* P13: camera (LCD), no OC */
79 device ref mei1 on end
80 device ref mei2 off end
81 device ref me_ide_r off end
82 device ref me_kt off end
83 device ref gbe on
84 subsystemid 0x17aa 0x21ce
85 end
86 device ref ehci2 on end
87 device ref hda on end
88 device ref pcie_rp1 off end
89 device ref pcie_rp2 on end # Integrated Wireless LAN
90 device ref pcie_rp3 off end
91 device ref pcie_rp4 on
92 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
93 end
94 device ref pcie_rp5 on end # MMC/SDXC + IEEE1394
95 device ref pcie_rp6 off end # Intel Ethernet PHY
96 device ref pcie_rp7 off end
97 device ref pcie_rp8 off end
98 device ref ehci1 on end
99 device ref lpc on
100 chip ec/lenovo/pmh7
101 device pnp ff.1 on end # dummy
102 register "backlight_enable" = "true"
103 register "dock_event_enable" = "true"
106 chip drivers/pc80/tpm
107 device pnp 0c31.0 on end
110 chip ec/lenovo/h8
111 device pnp ff.2 on # dummy
112 io 0x60 = 0x62
113 io 0x62 = 0x66
114 io 0x64 = 0x1600
115 io 0x66 = 0x1604
118 register "config0" = "0xa7"
119 register "config1" = "0x09"
120 register "config2" = "0xa0"
121 register "config3" = "0xc2"
123 register "beepmask0" = "0x00"
124 register "beepmask1" = "0x86"
125 register "has_power_management_beeps" = "0"
126 register "event2_enable" = "0xff"
127 register "event3_enable" = "0xff"
128 register "event4_enable" = "0xd0"
129 register "event5_enable" = "0xfc"
130 register "event6_enable" = "0x00"
131 register "event7_enable" = "0x01"
132 register "event8_enable" = "0x7b"
133 register "event9_enable" = "0xff"
134 register "eventa_enable" = "0x01"
135 register "eventb_enable" = "0x00"
136 register "eventc_enable" = "0xff"
137 register "eventd_enable" = "0xff"
138 register "evente_enable" = "0x0d"
140 register "has_bdc_detection" = "1"
141 register "bdc_gpio_num" = "54"
142 register "bdc_gpio_lvl" = "0"
144 chip drivers/lenovo/hybrid_graphics
145 device pnp ff.f on end # dummy
147 register "detect_gpio" = "21"
149 register "has_panel_hybrid_gpio" = "1"
150 register "panel_hybrid_gpio" = "52"
151 register "panel_integrated_lvl" = "1"
153 register "has_backlight_gpio" = "0"
154 register "has_dgpu_power_gpio" = "0"
156 register "has_thinker1" = "1"
159 device ref sata1 on end
160 device ref smbus on
161 # eeprom, 8 virtual devices, same chip
162 chip drivers/i2c/at24rf08c
163 device i2c 54 on end
164 device i2c 55 on end
165 device i2c 56 on end
166 device i2c 57 on end
167 device i2c 5c on end
168 device i2c 5d on end
169 device i2c 5e on end
170 device i2c 5f on end
173 device ref sata2 off end
174 device ref thermal off end