mb/starlabs/starbook/mtl: Correct USB Port Configuration
[coreboot2.git] / src / mainboard / google / kahlee / variants / aleena / overridetree.cb
blob3e5554ca488af5394295edc9b11df341fb0c4e0e
1 # SPDX-License-Identifier: GPL-2.0-only
3 chip soc/amd/stoneyridge
4 register "stapm_percent" = "80"
5 register "stapm_time_ms" = "2500000"
6 register "stapm_power_mw" = "7800"
8 # Enable I2C0 for audio, USB3 hub at 400kHz
9 register "i2c[0]" = "{
10 .speed = I2C_SPEED_FAST,
11 .rise_time_ns = 95,
12 .fall_time_ns = 3,
15 # Enable I2C1 for H1 at 400kHz
16 register "i2c[1]" = "{
17 .early_init = 1,
18 .speed = I2C_SPEED_FAST,
19 .rise_time_ns = 45,
20 .fall_time_ns = 4,
23 # Enable I2C2 for trackpad, pen at 400kHz
24 register "i2c[2]" = "{
25 .speed = I2C_SPEED_FAST,
26 .rise_time_ns = 26,
27 .fall_time_ns = 11,
30 # Enable I2C3 for touchscreen at 400kHz
31 register "i2c[3]" = "{
32 .speed = I2C_SPEED_FAST,
33 .rise_time_ns = 20,
34 .fall_time_ns = 19,
37 device ref i2c_2 on
38 chip drivers/i2c/hid
39 register "generic.hid" = ""SYNA0000""
40 register "generic.cid" = ""ACPI0C50""
41 register "generic.desc" = ""Synaptics Touchpad""
42 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_5)"
43 register "generic.wake" = "7"
44 register "generic.detect" = "1"
45 register "hid_desc_reg_offset" = "0x20"
46 device i2c 2c on end
47 end
48 end
49 device ref i2c_3 on
50 chip drivers/i2c/generic
51 register "hid" = ""RAYD0001""
52 register "desc" = ""Raydium Touchscreen""
53 register "detect" = "1"
54 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_11)"
55 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_85)"
56 register "reset_delay_ms" = "20"
57 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_76)"
58 register "enable_delay_ms" = "1"
59 register "has_power_resource" = "true"
60 device i2c 39 on end
61 end
62 end
63 end #chip soc/amd/stoneyridge