mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / zork / variants / ezkinil / overridetree.cb
blob493b97ff232e17caf603c1ba6a9fed5b53d84382
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 chip soc/amd/picasso
4 # Start : OPN Performance Configuration
5 # See devhub #55593 Chapter 3.2 for documentation
6 # For the below fields, 0 indicates use SOC default
8 # System config index
9 register "system_config" = "2"
11 # Set STAPM confiuration. All of these fields must be set >0 to take affect
12 register "slow_ppt_limit_mW" = "20000"
13 register "fast_ppt_limit_mW" = "24000"
14 register "slow_ppt_time_constant_s" = "5"
15 register "stapm_time_constant_s" = "200"
16 register "sustained_power_limit_mW" = "12000"
18 register "telemetry_vddcr_vdd_slope_mA" = "62413"
19 register "telemetry_vddcr_vdd_offset" = "0"
20 register "telemetry_vddcr_soc_slope_mA" = "28977"
21 register "telemetry_vddcr_soc_offset" = "0"
23 # End : OPN Performance Configuration
25 register "usb3_port_force_gen1" = "{
26 .ports.xhci0_port0 = 1,
27 .ports.xhci0_port1 = 1,
28 .ports.xhci0_port2 = 1,
29 .ports.xhci0_port3 = 1,
32 #USB 2.0 strength
33 register "usb_2_port_tune_params[2]" = "{
34 .com_pds_tune = 0x05,
35 .sq_rx_tune = 0x3,
36 .tx_fsls_tune = 0x3,
37 .tx_pre_emp_amp_tune = 0x03,
38 .tx_pre_emp_pulse_tune = 0x0,
39 .tx_rise_tune = 0x1,
40 .tx_vref_tune = 0x9,
41 .tx_hsxv_tune = 0x3,
42 .tx_res_tune = 0x01,
45 register "usb_2_port_tune_params[3]" = "{
46 .com_pds_tune = 0x05,
47 .sq_rx_tune = 0x3,
48 .tx_fsls_tune = 0x3,
49 .tx_pre_emp_amp_tune = 0x03,
50 .tx_pre_emp_pulse_tune = 0x0,
51 .tx_rise_tune = 0x1,
52 .tx_vref_tune = 0x9,
53 .tx_hsxv_tune = 0x3,
54 .tx_res_tune = 0x01,
57 # Enable I2C2 for trackpad, touchscreen, pen at 400kHz
58 register "i2c[2]" = "{
59 .speed = I2C_SPEED_FAST,
60 .rise_time_ns = 3,
61 .fall_time_ns = 2,
64 # Enable I2C3 for H1 400kHz
65 register "i2c[3]" = "{
66 .speed = I2C_SPEED_FAST,
67 .rise_time_ns = 16,
68 .fall_time_ns = 8,
69 .early_init = true,
72 register "emmc_config" = "{
73 .timing = SD_EMMC_EMMC_HS400,
74 .sdr104_hs400_driver_strength = SD_EMMC_DRIVE_STRENGTH_A,
75 .init_khz_preset = 400,
78 # See AMD 55570-B1 Table 13: PCI Device ID Assignments.
79 device domain 0 on
80 subsystemid 0x1022 0x1510 inherit
81 end # domain
83 device ref i2c_2 on
84 chip drivers/i2c/generic
85 register "hid" = ""ELAN0000""
86 register "desc" = ""ELAN Touchpad""
87 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
88 register "wake" = "GEVENT_22"
89 register "detect" = "1"
90 device i2c 15 on end
91 end
92 chip drivers/i2c/hid
93 register "generic.hid" = ""SYNA0000""
94 register "generic.cid" = ""ACPI0C50""
95 register "generic.desc" = ""Synaptics Touchpad""
96 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
97 register "generic.wake" = "GEVENT_22"
98 register "generic.detect" = "1"
99 register "hid_desc_reg_offset" = "0x20"
100 device i2c 2c on end
102 chip drivers/i2c/generic
103 register "hid" = ""RAYD0001""
104 register "desc" = ""Raydium Touchscreen""
105 register "detect" = "1"
106 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
107 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
108 register "enable_delay_ms" = "1"
109 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
110 # 32ms: Rise time of the reset line
111 # 20ms: Firmware ready time
112 register "reset_delay_ms" = "32 + 20"
113 register "has_power_resource" = "1"
114 device i2c 39 on end
116 chip drivers/i2c/hid
117 register "generic.hid" = ""ELAN9004""
118 register "generic.desc" = ""ELAN Touchscreen""
119 register "generic.detect" = "1"
120 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_12)"
121 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
122 register "generic.enable_delay_ms" = "1"
123 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
124 register "generic.reset_delay_ms" = "20"
125 register "generic.reset_off_delay_ms" = "5"
126 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_144)"
127 register "generic.stop_off_delay_ms" = "10"
128 register "generic.stop_delay_ms" = "300"
129 register "generic.has_power_resource" = "1"
130 register "hid_desc_reg_offset" = "0x01"
131 device i2c 10 on end
134 end # chip soc/amd/picasso