payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / t430s / devicetree.cb
blob942f0299896da76ae738e714c3278a7c91a4b9af
1 chip northbridge/intel/sandybridge
2 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
4 # Enable DisplayPort Hotplug with 6ms pulse
5 register "gpu_dp_d_hotplug" = "0x06"
7 # Enable Panel as LVDS and configure power delays
8 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
9 register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms
10 register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms
11 register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms
12 register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms
13 register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms
14 register "gpu_cpu_backlight" = "0x1155"
15 register "gpu_pch_backlight" = "0x11551155"
17 device cpu_cluster 0 on
18 chip cpu/intel/model_206ax
19 # Magic APIC ID to locate this chip
20 device lapic 0 on end
21 device lapic 0xacac off end
23 register "acpi_c1" = "1" # ACPI(C1) = MWAIT(C1)
24 register "acpi_c2" = "3" # ACPI(C2) = MWAIT(C3)
25 register "acpi_c3" = "5" # ACPI(C3) = MWAIT(C7)
26 end
27 end
29 device domain 0 on
30 subsystemid 0x17aa 0x21fb inherit
32 device pci 00.0 on end # host bridge
33 device pci 01.0 on end # PCIe Bridge for discrete graphics
34 device pci 02.0 on end # Integrated Graphics Controller
36 chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
37 # GPI routing
38 # 0 No effect (default)
39 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
40 # 2 SCI (if corresponding GPIO_EN bit is also set)
41 register "alt_gp_smi_en" = "0x0000"
42 register "gpi1_routing" = "2"
43 register "gpi13_routing" = "2"
45 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 4 (dock)
46 register "sata_port_map" = "0x17"
47 # Set max SATA speed to 6.0 Gb/s
48 register "sata_interface_speed_support" = "0x3"
50 register "gen1_dec" = "0x7c1601"
51 register "gen2_dec" = "0x0c15e1"
52 register "gen4_dec" = "0x0c06a1"
54 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
55 # Wire port 4 (wwan usb) to ehci for it lacks superspeed components
56 register "xhci_switchable_ports" = "0x7"
57 register "superspeed_capable_ports" = "0xf"
58 register "xhci_overcurrent_mapping" = "0x4000201"
60 # Enable zero-based linear PCIe root port functions
61 register "pcie_port_coalesce" = "true"
62 register "docking_supported" = "1"
64 register "spi_uvscc" = "0x2005"
65 register "spi_lvscc" = "0x2005"
67 device pci 14.0 on end # USB 3.0 Controller
68 device pci 16.0 off end # Management Engine Interface 1
69 device pci 16.1 off end # Management Engine Interface 2
70 device pci 16.2 off end # Management Engine IDE-R
71 device pci 16.3 off end # Management Engine KT
72 device pci 19.0 on
73 subsystemid 0x17aa 0x21f3
74 end # Intel Gigabit Ethernet
75 device pci 1a.0 on end # USB Enhanced Host Controller #2
76 device pci 1b.0 on end # High Definition Audio Controller
77 device pci 1c.0 off end # PCIe Port #1
78 device pci 1c.1 on end # PCIe Port #2 Integrated Wireless LAN
79 device pci 1c.2 on
80 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
81 end # PCIe Port #3 ExpressCard
82 device pci 1c.3 off end # PCIe Port #4
83 device pci 1c.4 off end # PCIe Port #5
84 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
85 device pci 1c.6 off end # PCIe Port #7
86 device pci 1c.7 off end # PCIe Port #8
87 device pci 1d.0 on end # USB Enhanced Host Controller #1
88 device pci 1e.0 off end # PCI bridge
89 device pci 1f.0 on
90 chip ec/lenovo/pmh7
91 device pnp ff.1 on end # dummy
92 register "backlight_enable" = "0x01"
93 register "dock_event_enable" = "0x01"
94 end
96 chip drivers/pc80/tpm
97 device pnp 0c31.0 on end
98 end
100 chip ec/lenovo/h8
101 device pnp ff.2 on # dummy
102 io 0x60 = 0x62
103 io 0x62 = 0x66
104 io 0x64 = 0x1600
105 io 0x66 = 0x1604
108 register "config0" = "0xa7"
109 register "config1" = "0x05"
110 register "config2" = "0xa0"
111 register "config3" = "0xe2"
113 register "has_keyboard_backlight" = "1"
115 register "beepmask0" = "0x00"
116 register "beepmask1" = "0x86"
117 register "has_power_management_beeps" = "0"
118 register "event2_enable" = "0xff"
119 register "event3_enable" = "0xff"
120 register "event4_enable" = "0xd0"
121 register "event5_enable" = "0x3c"
122 register "event6_enable" = "0x00"
123 register "event7_enable" = "0x01"
124 register "event8_enable" = "0x7b"
125 register "event9_enable" = "0xff"
126 register "eventa_enable" = "0x00"
127 register "eventb_enable" = "0x00"
128 register "eventc_enable" = "0xff"
129 register "eventd_enable" = "0xff"
130 register "evente_enable" = "0x0d"
132 end # LPC Controller
133 device pci 1f.2 on end # 6 port SATA AHCI Controller
134 device pci 1f.3 on
135 # eeprom, 8 virtual devices, same chip
136 chip drivers/i2c/at24rf08c
137 device i2c 54 on end
138 device i2c 55 on end
139 device i2c 56 on end
140 device i2c 57 on end
141 device i2c 5c on end
142 device i2c 5d on end
143 device i2c 5e on end
144 device i2c 5f on end
146 end # SMBus Controller
147 device pci 1f.5 off end # SATA Controller 2
148 device pci 1f.6 on end # Thermal