payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / t410 / devicetree.cb
blobe3456f2bdffa90ca9b5f63e455370394e2015e5f
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/ironlake
4 # IGD Displays
5 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
7 # Enable DisplayPort Hotplug with 6ms pulse
8 register "gpu_dp_d_hotplug" = "0x06"
10 # Enable Panel as LVDS and configure power delays
11 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
12 register "gpu_panel_power_cycle_delay" = "1"
13 register "gpu_panel_power_up_delay" = "1"
14 register "gpu_panel_power_down_delay" = "600"
15 register "gpu_panel_power_backlight_on_delay" = "0"
16 register "gpu_panel_power_backlight_off_delay" = "0"
17 register "gpu_cpu_backlight" = "0x58d"
18 register "gpu_pch_backlight" = "0x061a061a"
20 device cpu_cluster 0 on
21 chip cpu/intel/model_2065x
22 device lapic 0 on end
23 end
24 end
26 device domain 0 on
27 device pci 00.0 on # Host bridge
28 subsystemid 0x17aa 0x2193
29 end
30 device pci 01.0 on end # PEG
31 device pci 02.0 on # VGA controller
32 subsystemid 0x17aa 0x215a
33 end
34 chip southbridge/intel/ibexpeak
35 # GPI routing
36 # 0 No effect (default)
37 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
38 # 2 SCI (if corresponding GPIO_EN bit is also set)
39 register "gpi1_routing" = "2"
40 register "gpi13_routing" = "2"
42 # 0:HDD Bay 1:ODD Bay 4:eSATA Combo Connector
43 register "sata_port_map" = "0x13"
45 register "gpe0_en" = "0x20022046"
46 register "alt_gp_smi_en" = "0x0000"
47 register "gen1_dec" = "0x7c1601" # EC
48 register "gen2_dec" = "0x0c15e1" # PMH7
49 register "gen3_dec" = "0x1c1681" # EC ?
50 register "gen4_dec" = "0x040069" # ?
52 register "docking_supported" = "1"
54 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
56 device pci 16.0 off end # MEI
57 device pci 16.2 on # IDE/SATA
58 subsystemid 0x17aa 0x2161
59 end
61 device pci 19.0 on # Ethernet
62 subsystemid 0x17aa 0x2153
63 end
65 device pci 1a.0 on # USB2 EHCI
66 subsystemid 0x17aa 0x2163
67 end
69 device pci 1b.0 on # Audio Controller
70 subsystemid 0x17aa 0x215e
71 end
73 device pci 1c.0 on end # PCIe Port #1: WWAN mPCIe slot
74 device pci 1c.1 on end # PCIe Port #2: WLAN mPCIe slot
75 device pci 1c.2 on end # PCIe Port #3: WUSB mPCIe slot
76 device pci 1c.3 on end # PCIe Port #4: ExpressCard
77 device pci 1c.4 on # PCIe Port #5: Ricoh SD & FireWire
78 subsystemid 0x17aa 0x2133
79 chip drivers/ricoh/rce822
80 register "sdwppol" = "1"
81 register "disable_mask" = "0x87"
82 device pci 00.0 on
83 subsystemid 0x17aa 0x2134
84 end
85 end
86 end
87 device pci 1c.5 off end # PCIe Port #6: Intel GbE PHY (not PCIe)
88 device pci 1c.6 off end # PCIe Port #7
89 device pci 1c.7 off end # PCIe Port #8
91 device pci 1d.0 on # USB2 EHCI
92 subsystemid 0x17aa 0x2163
93 end
94 device pci 1f.0 on # PCI-LPC bridge
95 subsystemid 0x17aa 0x2166
96 chip drivers/pc80/tpm
97 device pnp 0c31.0 on end
98 end
99 chip ec/lenovo/pmh7
100 device pnp ff.1 on end # dummy
101 register "backlight_enable" = "0x01"
102 register "dock_event_enable" = "0x01"
104 chip ec/lenovo/h8
105 device pnp ff.2 on # dummy
106 io 0x60 = 0x62
107 io 0x62 = 0x66
108 io 0x64 = 0x1600
109 io 0x66 = 0x1604
112 register "config0" = "0xa6"
113 register "config1" = "0x05"
114 register "config2" = "0xa0"
115 register "config3" = "0xe0"
117 register "beepmask0" = "0xfe"
118 register "beepmask1" = "0x96"
119 register "has_power_management_beeps" = "1"
121 register "event2_enable" = "0xff"
122 register "event3_enable" = "0xff"
123 register "event4_enable" = "0xf4"
124 register "event5_enable" = "0x3c"
125 register "event6_enable" = "0x87"
126 register "event7_enable" = "0x89"
127 register "event8_enable" = "0x7b"
128 register "event9_enable" = "0xff"
129 register "eventa_enable" = "0x83"
130 register "eventb_enable" = "0x00"
131 register "eventc_enable" = "0xff"
132 register "eventd_enable" = "0xff"
133 register "evente_enable" = "0x2d"
135 chip drivers/lenovo/hybrid_graphics
136 device pnp ff.f on end # dummy
138 register "detect_gpio" = "21"
140 register "has_panel_hybrid_gpio" = "1"
141 register "panel_hybrid_gpio" = "52"
142 register "panel_integrated_lvl" = "1"
144 register "has_backlight_gpio" = "1"
145 register "backlight_gpio" = "50"
146 register "backlight_integrated_lvl" = "0"
148 register "has_dgpu_power_gpio" = "1"
149 register "dgpu_power_gpio" = "49"
150 register "dgpu_power_off_lvl" = "0"
152 register "has_thinker1" = "1"
155 device pci 1f.2 on # IDE/SATA
156 subsystemid 0x17aa 0x2168
158 device pci 1f.3 on # SMBUS
159 subsystemid 0x17aa 0x2167
160 # eeprom, 8 virtual devices, same chip
161 chip drivers/i2c/at24rf08c
162 device i2c 54 on end
163 device i2c 55 on end
164 device i2c 56 on end
165 device i2c 57 on end
166 device i2c 5c on end
167 device i2c 5d on end
168 device i2c 5e on end
169 device i2c 5f on end
172 device pci 1f.6 on # Thermal Subsystem
173 subsystemid 0x17aa 0x2190