cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / lenovo / x201 / devicetree.cb
blob6c27f53d7786ab018cfb5baacd32d850aa423274
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/ironlake
4 # IGD Displays
5 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
8 # Enable DisplayPort Hotplug with 6ms pulse
9 register "gpu_dp_d_hotplug" = "0x06"
11 # Enable Panel as LVDS and configure power delays
12 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
13 register "gpu_panel_power_cycle_delay" = "3"
14 register "gpu_panel_power_up_delay" = "250"
15 register "gpu_panel_power_down_delay" = "250"
16 register "gpu_panel_power_backlight_on_delay" = "2500"
17 register "gpu_panel_power_backlight_off_delay" = "2500"
18 register "gpu_cpu_backlight" = "0x58d"
19 register "gpu_pch_backlight" = "0x061a061a"
21 chip cpu/intel/model_2065x
22 device cpu_cluster 0 on ops ironlake_cpu_bus_ops end
23 end
25 device domain 0 on
26 ops ironlake_pci_domain_ops
27 device pci 00.0 on # Host bridge
28 subsystemid 0x17aa 0x2193
29 end
30 device pci 01.0 off 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 register "sata_port_map" = "0x03"
44 register "gpe0_en" = "0x20022046"
45 register "alt_gp_smi_en" = "0x0000"
46 register "gen1_dec" = "0x7c1601"
47 register "gen2_dec" = "0x0c15e1"
48 register "gen3_dec" = "0x1c1681"
49 register "gen4_dec" = "0x040069"
51 register "docking_supported" = "1"
53 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
55 device pci 16.0 on end # Management Engine Interface 1
56 device pci 16.1 off end # Management Engine Interface 2
57 device pci 16.2 off end # Management Engine IDE-R, only management boot
58 device pci 16.3 off end # Management Engine KT
60 device pci 19.0 on # Ethernet
61 subsystemid 0x17aa 0x2153
62 end
64 device pci 1a.0 on # USB2 EHCI
65 subsystemid 0x17aa 0x2163
66 end
68 device pci 1b.0 on # Audio Controller
69 subsystemid 0x17aa 0x215e
70 end
72 device pci 1c.0 on end # PCIe Port #1
73 device pci 1c.1 on end # PCIe Port #2 (wwan)
74 device pci 1c.2 off end
75 device pci 1c.3 on
76 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
77 end # PCIe Port #4 (Expresscard)
78 device pci 1c.4 on end # PCIe Port #5 (wlan)
79 device pci 1c.5 off end
80 device pci 1c.6 off end
81 device pci 1c.7 off end
83 device pci 1d.0 on # USB2 EHCI
84 subsystemid 0x17aa 0x2163
85 end
86 device pci 1e.0 on end # PCI 2 PCI bridge
87 device pci 1f.0 on # PCI-LPC bridge
88 subsystemid 0x17aa 0x2166
89 chip superio/nsc/pc87382
90 device pnp 164e.3 on # Digitizer
91 io 0x60 = 0x200
92 irq 0x29 = 0xb0
93 irq 0x70 = 0x5
94 irq 0xf0 = 0x82
95 end
96 # IR, not connected
97 device pnp 164e.2 off end
98 # GPIO, not connected
99 device pnp 164e.7 off end
100 # DLPC, not connected
101 device pnp 164e.19 off end
103 chip drivers/pc80/tpm
104 device pnp 0c31.0 on end
107 chip ec/lenovo/pmh7
108 device pnp ff.1 on end # dummy
109 register "backlight_enable" = "true"
110 register "dock_event_enable" = "true"
113 chip ec/lenovo/h8
114 device pnp ff.2 on # dummy
115 io 0x60 = 0x62
116 io 0x62 = 0x66
117 io 0x64 = 0x1600
118 io 0x66 = 0x1604
121 register "config0" = "0xa6"
122 register "config1" = "0x05"
123 register "config2" = "0xa0"
124 register "config3" = "0x01"
126 register "beepmask0" = "0xfe"
127 register "beepmask1" = "0x96"
128 register "has_power_management_beeps" = "1"
130 register "event2_enable" = "0xff"
131 register "event3_enable" = "0xff"
132 register "event4_enable" = "0xf4"
133 register "event5_enable" = "0x3c"
134 register "event6_enable" = "0x80"
135 register "event7_enable" = "0x01"
136 register "event8_enable" = "0x01"
137 register "event9_enable" = "0xff"
138 register "eventa_enable" = "0xff"
139 register "eventb_enable" = "0xff"
140 register "eventc_enable" = "0xff"
141 register "eventd_enable" = "0xff"
143 register "has_bdc_detection" = "1"
144 register "bdc_gpio_num" = "48"
145 register "bdc_gpio_lvl" = "0"
148 device pci 1f.2 on # IDE/SATA
149 subsystemid 0x17aa 0x2168
151 device pci 1f.3 on # SMBUS
152 subsystemid 0x17aa 0x2167
153 # eeprom, 8 virtual devices, same chip
154 chip drivers/i2c/at24rf08c
155 device i2c 54 on end
156 device i2c 55 on end
157 device i2c 56 on end
158 device i2c 57 on end
159 device i2c 5c on end
160 device i2c 5d on end
161 device i2c 5e on end
162 device i2c 5f on end
165 device pci 1f.4 off end
166 device pci 1f.5 off end
167 device pci 1f.6 on end