mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / hp / elitebook_820_g2 / devicetree.cb
blobd6cb2ed0161e01454be4be2ef602249735737102
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 chip soc/intel/broadwell
4 chip cpu/intel/haswell
5 device cpu_cluster 0 on ops broadwell_cpu_bus_ops end
6 end
7 device domain 0 on
8 ops broadwell_pci_domain_ops
9 subsystemid 0x103c 0x225a inherit
11 device pci 00.0 on end # Broadwell Host bridge
12 device pci 02.0 on # Internal graphics VGA controller
13 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
14 register "gpu_dp_b_hotplug" = "4"
15 register "gpu_dp_c_hotplug" = "4"
16 register "panel_cfg" = "{
17 .up_delay_ms = 200,
18 .down_delay_ms = 50,
19 .cycle_delay_ms = 500,
20 .backlight_on_delay_ms = 1,
21 .backlight_off_delay_ms = 1,
22 .backlight_pwm_hz = 200,
24 end
25 device pci 03.0 on end # Mini-HD audio
27 chip soc/intel/broadwell/pch # Wildcat Point PCH
28 device pci 13.0 off end # Smart Sound Audio DSP
29 device pci 14.0 on end # xHCI Controller
30 device pci 15.0 off end # Serial I/O DMA
31 device pci 15.1 off end # I2C0
32 device pci 15.2 off end # I2C1
33 device pci 15.3 off end # GSPI0
34 device pci 15.4 off end # GSPI1
35 device pci 15.5 off end # UART0
36 device pci 15.6 off end # UART1
37 device pci 16.0 on end # Management Engine Interface 1
38 device pci 16.1 off end # Management Engine Interface 2
39 device pci 16.2 off end # Management Engine IDE-R
40 device pci 16.3 off end # Management Engine KT
41 device pci 17.0 off end # SDIO
42 device pci 19.0 on end # Intel Gigabit Ethernet
43 device pci 1b.0 on end # High Definition Audio
44 device pci 1c.0 on end # PCIe Port #1
45 device pci 1c.1 on end # PCIe Port #2, Card Reader
46 device pci 1c.2 off end # PCIe Port #3
47 device pci 1c.3 on # PCIe Port #4, WLAN
48 smbios_slot_desc "SlotTypeM2Socket1_SD" "SlotLengthOther"
49 "M.2/E 2230" "SlotDataBusWidth1X"
50 end
51 device pci 1c.4 off end # PCIe Port #5
52 device pci 1c.5 on # PCIe Port #6, PCIe SSD
53 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther"
54 "M.2/M 2242/2260" "SlotDataBusWidth2X"
55 end
56 device pci 1d.0 on end # USB2 EHCI #1
57 device pci 1f.0 on # LPC bridge
58 register "gen1_dec" = "0x007c0201"
59 register "gen2_dec" = "0x000c0101"
60 register "gen4_dec" = "0x000402e9"
61 register "gpe0_en_1" = "0x40"
62 register "gpe0_en_2" = "0x600"
63 register "gpe0_en_4" = "0x46"
64 chip drivers/pc80/tpm
65 device pnp 0c31.0 on end
66 end
67 # This laptop uses MEC1324, but it has the same interface
68 # as the KBC1126 laptops
69 chip ec/hp/kbc1126
70 register "ec_data_port" = "0x62"
71 register "ec_cmd_port" = "0x66"
72 register "ec_ctrl_reg" = "0x81"
73 register "ec_fan_ctrl_value" = "0x6b"
74 device pnp ff.1 off end
75 end
76 end
77 device pci 1f.2 on # SATA Controller (AHCI)
78 register "sata_port1_gen3_dtle" = "0x2"
79 register "sata_port1_gen3_tx" = "0x80"
80 register "sata_port3_gen3_dtle" = "0x4"
81 register "sata_port3_gen3_tx" = "0x80"
82 # SATA (1), M.2 (3)
83 register "sata_port_map" = "0xa"
84 end
85 device pci 1f.3 on end # SMBus
86 device pci 1f.6 off end # Thermal
87 end
88 end
89 end