mb/starlabs/{lite_adl,byte_adl}: Don't select MAINBOARD_HAS_TPM2
[coreboot2.git] / src / mainboard / lenovo / x200 / devicetree.cb
blob7871cfd00d09ed546d7fcc5903ae05e2c348b3dd
1 chip northbridge/intel/gm45
2 # IGD Displays
3 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
5 register "gpu_panel_power_up_delay" = "250" # T1+T2: 25ms
6 register "gpu_panel_power_down_delay" = "250" # T3: 25ms
7 register "gpu_panel_power_backlight_on_delay" = "2500" # T5: 250ms
8 register "gpu_panel_power_backlight_off_delay" = "2500" # Tx: 250ms
9 register "gpu_panel_power_cycle_delay" = "3" # T4: 200ms
11 register "slfm" = "1"
13 device cpu_cluster 0 on ops gm45_cpu_bus_ops end
15 register "pci_mmio_size" = "2048"
17 device domain 0 on
18 ops gm45_pci_domain_ops
19 device pci 00.0 on
20 subsystemid 0x17aa 0x20e0
21 end # host bridge
22 device pci 02.0 on # VGA
23 subsystemid 0x17aa 0x20e4
24 end
25 device pci 02.1 on
26 subsystemid 0x17aa 0x20e4
27 end # Display
28 device pci 03.0 on
29 subsystemid 0x17aa 0x20e6
30 end # ME
31 device pci 03.1 off end # ME
32 device pci 03.2 off end # ME
33 device pci 03.3 off end # ME
34 chip southbridge/intel/i82801ix
35 register "pirqa_routing" = "0x0b"
36 register "pirqb_routing" = "0x0b"
37 register "pirqc_routing" = "0x0b"
38 register "pirqd_routing" = "0x0b"
39 register "pirqe_routing" = "0x80"
40 register "pirqf_routing" = "0x80"
41 register "pirqg_routing" = "0x80"
42 register "pirqh_routing" = "0x80"
44 register "gpi8_routing" = "2"
45 register "gpe0_en" = "0x01000000"
46 register "gpi1_routing" = "2"
48 # Set AHCI mode, enable ports 1 and 2.
49 register "sata_port_map" = "0x03"
50 register "sata_clock_request" = "0"
51 register "sata_traffic_monitor" = "0"
53 # Set c-state support
54 register "c4onc3_enable" = "1"
55 register "c5_enable" = "1"
56 register "c6_enable" = "1"
58 # Set thermal throttling to 75%.
59 register "throttle_duty" = "THTL_75_0"
61 register "gen1_dec" = "0x007c1601"
62 register "gen2_dec" = "0x000c15e1"
63 register "gen3_dec" = "0x001c1681"
65 device pci 19.0 on end # LAN
66 device pci 1a.0 on # UHCI
67 subsystemid 0x17aa 0x20f0
68 end
69 device pci 1a.1 on # UHCI
70 subsystemid 0x17aa 0x20f0
71 end
72 device pci 1a.2 on # UHCI
73 subsystemid 0x17aa 0x20f0
74 end
75 device pci 1a.7 on # EHCI
76 subsystemid 0x17aa 0x20f1
77 end
78 device pci 1b.0 on # HD Audio
79 subsystemid 0x17aa 0x20f2
80 end
81 device pci 1c.0 on # PCIe Port #1
82 subsystemid 0x17aa 0x20f3 # WWAN
83 end
84 device pci 1c.1 on
85 subsystemid 0x17aa 0x20f3 # WLAN
86 end # PCIe Port #2
87 device pci 1c.2 on
88 subsystemid 0x17aa 0x20f3 # UWB
89 end # PCIe Port #3
90 device pci 1c.3 off end # PCIe Port #4
91 device pci 1c.4 off end # PCIe Port #5
92 device pci 1c.5 off end # PCIe Port #6
93 device pci 1d.0 on # UHCI
94 subsystemid 0x17aa 0x20f0
95 end
96 device pci 1d.1 on # UHCI
97 subsystemid 0x17aa 0x20f0
98 end
99 device pci 1d.2 on # UHCI
100 subsystemid 0x17aa 0x20f0
102 device pci 1d.7 on # EHCI
103 subsystemid 0x17aa 0x20f1
105 device pci 1e.0 on # PCI
106 subsystemid 0x17aa 0x20f4
108 device pci 1f.0 on # LPC bridge
109 subsystemid 0x17aa 0x20f5
111 chip ec/lenovo/pmh7
112 device pnp ff.1 on end # dummy
113 register "backlight_enable" = "true"
116 chip ec/lenovo/h8
117 device pnp ff.2 on # dummy
118 io 0x60 = 0x62
119 io 0x62 = 0x66
120 io 0x64 = 0x1600
121 io 0x66 = 0x1604
124 register "config0" = "0xa6"
125 register "config1" = "0x04"
126 register "config2" = "0xa0"
127 register "config3" = "0x01"
129 register "beepmask0" = "0xfe"
130 register "beepmask1" = "0x96"
131 register "has_power_management_beeps" = "1"
132 register "has_uwb" = "1"
134 register "event2_enable" = "0xff"
135 register "event3_enable" = "0xff"
136 register "event4_enable" = "0xf4"
137 register "event5_enable" = "0x3c"
138 register "event6_enable" = "0x80"
139 register "event7_enable" = "0x01"
140 register "event8_enable" = "0x01"
141 register "event9_enable" = "0xff"
142 register "eventa_enable" = "0xff"
143 register "eventb_enable" = "0xff"
144 register "eventc_enable" = "0xff"
145 register "eventd_enable" = "0xff"
147 register "has_bdc_detection" = "1"
148 register "bdc_gpio_num" = "7"
149 register "bdc_gpio_lvl" = "0"
152 device pci 1f.2 on # SATA/IDE 1
153 subsystemid 0x17aa 0x20f8
155 device pci 1f.3 on # SMBus
156 subsystemid 0x17aa 0x20f9
157 # eeprom, 8 virtual devices, same chip
158 chip drivers/i2c/at24rf08c
159 device i2c 54 on end
160 device i2c 55 on end
161 device i2c 56 on end
162 device i2c 57 on end
163 device i2c 5c on end
164 device i2c 5d on end
165 device i2c 5e on end
166 device i2c 5f on end
169 device pci 1f.5 off end # SATA/IDE 2
170 device pci 1f.6 off end # Thermal