mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / google / zork / variants / trembyle / overridetree.cb
blob843c8fbcbb8f5b4cbb57bb3219963158b70d76bd
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 fw_config
4 field USB_DAUGHTERBOARD
5 option TREMBYLE_DB_PICASSO 0
6 option TREMBYLE_DB_DALI 1
7 option TREMBYLE_DB_DALI_HDMI 2
8 end
9 end
11 chip soc/amd/picasso
13 # Start : OPN Performance Configuration
14 # See devhub #55593 Chapter 3.2 for documentation
15 # For the below fields, 0 indicates use SOC default
17 # System config index
18 register "system_config" = "2"
20 # Set STAPM confiuration. All of these fields must be set >0 to take affect
21 register "slow_ppt_limit_mW" = "25000"
22 register "fast_ppt_limit_mW" = "30000"
23 register "slow_ppt_time_constant_s" = "5"
24 register "stapm_time_constant_s" = "200"
25 register "sustained_power_limit_mW" = "15000"
27 register "telemetry_vddcr_vdd_slope_mA" = "71222"
28 register "telemetry_vddcr_vdd_offset" = "0"
29 register "telemetry_vddcr_soc_slope_mA" = "28977"
30 register "telemetry_vddcr_soc_offset" = "0"
32 # End : OPN Performance Configuration
34 # USB OC pin mapping: existing trembyle boards are based on old schematics version
35 register "usb_port_overcurrent_pin[1]" = "USB_OC_PIN_2" # USB A0
36 register "usb_port_overcurrent_pin[2]" = "USB_OC_PIN_4" # USB A1
38 # Enable I2C2 for trackpad, touchscreen, pen at 400kHz
39 register "i2c[2]" = "{
40 .speed = I2C_SPEED_FAST,
41 .rise_time_ns = 21, /* 0 to 2.31 (3.3 * .7) */
42 .fall_time_ns = 76, /* 2.31 to 0 */
45 # Enable I2C3 for H1 400kHz
46 register "i2c[3]" = "{
47 .speed = I2C_SPEED_FAST,
48 .rise_time_ns = 125, /* 0 to 1.26v (1.8 * .7) */
49 .fall_time_ns = 37, /* 1.26v to 0 */
50 .early_init = true,
53 # See AMD 55570-B1 Table 13: PCI Device ID Assignments.
54 device domain 0 on
55 subsystemid 0x1022 0x1510 inherit
57 device ref lpc_bridge on
58 chip ec/google/chromeec
59 device ref cros_ec on
60 chip ec/google/chromeec/i2c_tunnel
61 device ref cros_ec_i2c_9 on
62 chip drivers/i2c/generic
63 device ref db_mst on
64 probe USB_DAUGHTERBOARD TREMBYLE_DB_DALI_HDMI
65 end
66 end
67 end
68 end
69 end
70 end
71 end
72 end # domain
74 device ref i2c_2 on
75 chip drivers/i2c/generic
76 register "hid" = ""ELAN0000""
77 register "desc" = ""ELAN Touchpad""
78 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
79 register "wake" = "GEVENT_22"
80 register "detect" = "1"
81 device i2c 15 on end
82 end
83 chip drivers/i2c/hid
84 register "generic.hid" = ""SYNA0000""
85 register "generic.cid" = ""ACPI0C50""
86 register "generic.desc" = ""Synaptics Touchpad""
87 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
88 register "generic.wake" = "GEVENT_22"
89 register "generic.detect" = "1"
90 register "hid_desc_reg_offset" = "0x20"
91 device i2c 2c on end
92 end
93 chip drivers/i2c/generic
94 register "hid" = ""RAYD0001""
95 register "desc" = ""Raydium Touchscreen""
96 register "detect" = "1"
97 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
98 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
99 # 32ms: Rise time of the reset line
100 # 20ms: Firmware ready time
101 register "reset_delay_ms" = "32 + 20"
102 register "stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_144)"
103 register "stop_off_delay_ms" = "1"
104 register "has_power_resource" = "1"
105 device i2c 39 on end
107 chip drivers/i2c/generic
108 register "hid" = ""ELAN0001""
109 register "desc" = ""ELAN Touchscreen""
110 register "detect" = "1"
111 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
112 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
113 register "reset_delay_ms" = "20"
114 register "has_power_resource" = "1"
115 device i2c 10 on end
119 device ref uart_1 on
120 chip drivers/uart/acpi
121 register "name" = ""CRFP""
122 register "desc" = ""Fingerprint Reader""
123 register "hid" = "ACPI_DT_NAMESPACE_HID"
124 register "compat_string" = ""google,cros-ec-uart""
125 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_6)"
126 register "wake" = "GEVENT_10"
127 register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
128 device generic 0 on end
132 end # chip soc/amd/picasso