mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / google / zork / variants / dalboz / overridetree.cb
blobe3a1f51f77db9cdb86abf1b52c2483807a0805eb
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 chip soc/amd/picasso
4 # Start : OPN Performance Configuration
5 # See devhub #56670 Chapter 5 for documentation
6 # For the below fields, 0 indicates use SOC default
8 # System config index
9 register "system_config" = "1"
11 # Set STAPM confiuration. All of these fields must be set >0 to take affect
12 register "slow_ppt_limit_mW" = "6000"
13 register "fast_ppt_limit_mW" = "9000"
14 register "slow_ppt_time_constant_s" = "5"
15 register "stapm_time_constant_s" = "2500"
16 register "sustained_power_limit_mW" = "4800"
18 # End : OPN Performance Configuration
20 register "telemetry_vddcr_vdd_slope_mA" = "30231"
21 register "telemetry_vddcr_vdd_offset" = "0-1"
22 register "telemetry_vddcr_soc_slope_mA" = "22644"
23 register "telemetry_vddcr_soc_offset" = "68"
25 # I2C2 for touchscreen and trackpad
26 register "i2c[2]" = "{
27 .speed = I2C_SPEED_FAST,
28 .rise_time_ns = 18, /* 0 to 2.31 (3.3 * .7) */
29 .fall_time_ns = 57, /* 2.31 to 0 */
32 # I2C3 for H1
33 register "i2c[3]" = "{
34 .speed = I2C_SPEED_FAST,
35 .rise_time_ns = 184, /* 0 to 1.26v (1.8 * .7) */
36 .fall_time_ns = 42, /* 1.26v to 0 */
37 .early_init = true,
40 # See AMD 55570-B1 Table 13: PCI Device ID Assignments.
41 device domain 0 on
42 subsystemid 0x1022 0x1510 inherit
43 end # domain
45 device ref i2c_2 on
46 chip drivers/i2c/generic
47 register "hid" = ""RAYD0001""
48 register "desc" = ""Raydium Touchscreen""
49 register "detect" = "1"
50 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
51 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
52 # 32ms: Rise time of the reset line
53 # 20ms: Firmware ready time
54 register "reset_delay_ms" = "32 + 20"
55 register "has_power_resource" = "1"
56 device i2c 39 on end
57 end
58 chip drivers/i2c/generic
59 register "hid" = ""ELAN0001""
60 register "desc" = ""ELAN Touchscreen""
61 register "detect" = "1"
62 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
63 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
64 register "reset_delay_ms" = "20"
65 register "has_power_resource" = "1"
66 device i2c 10 on end
67 end
68 chip drivers/i2c/hid
69 register "generic.hid" = ""SYTS7817""
70 register "generic.desc" = ""Synaptics Touchscreen""
71 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_12)"
72 register "generic.detect" = "1"
73 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
74 register "generic.reset_delay_ms" = "45"
75 register "generic.has_power_resource" = "1"
76 register "hid_desc_reg_offset" = "0x20"
77 device i2c 20 on end
78 end
79 chip drivers/i2c/hid
80 register "generic.hid" = ""GDIX0000""
81 register "generic.desc" = ""Goodix Touchscreen""
82 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_12)"
83 register "generic.detect" = "1"
84 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
85 register "generic.reset_delay_ms" = "120"
86 register "generic.reset_off_delay_ms" = "1"
87 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_144)"
88 register "generic.stop_off_delay_ms" = "1"
89 register "generic.has_power_resource" = "1"
90 register "hid_desc_reg_offset" = "0x01"
91 device i2c 5d on end
92 end
93 chip drivers/i2c/generic
94 register "hid" = ""ELAN0000""
95 register "desc" = ""ELAN Touchpad""
96 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
97 register "wake" = "GEVENT_22"
98 register "detect" = "1"
99 device i2c 15 on end
101 chip drivers/i2c/hid
102 register "generic.hid" = ""SYNA0000""
103 register "generic.cid" = ""ACPI0C50""
104 register "generic.desc" = ""Synaptics Touchpad""
105 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
106 register "generic.wake" = "GEVENT_22"
107 register "generic.detect" = "1"
108 register "hid_desc_reg_offset" = "0x20"
109 device i2c 2c on end
113 chip drivers/generic/max98357a
114 register "hid" = ""MX98357A""
115 register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_91)"
116 register "sdmode_delay" = "5"
117 device generic 0.1 on end
119 end # chip soc/amd/picasso