mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / kahlee / variants / grunt / overridetree.cb
blob0b155c5a7b72941272ecd1a74c5c05d7e7aff13a
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 = 62,
20 .fall_time_ns = 2,
23 # Enable I2C2 for trackpad, pen at 400kHz
24 register "i2c[2]" = "{
25 .speed = I2C_SPEED_FAST,
26 .rise_time_ns = 170,
27 .fall_time_ns = 91,
30 # Enable I2C3 for touchscreen at 400kHz
31 register "i2c[3]" = "{
32 .speed = I2C_SPEED_FAST,
33 .rise_time_ns = 84,
34 .fall_time_ns = 50,
37 device ref i2c_3 on
38 chip drivers/i2c/generic
39 register "hid" = ""RAYD0001""
40 register "desc" = ""Raydium Touchscreen""
41 register "detect" = "1"
42 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_11)"
43 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_85)"
44 register "reset_delay_ms" = "20"
45 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_76)"
46 register "enable_delay_ms" = "1"
47 register "has_power_resource" = "1"
48 device i2c 39 on end
49 end
50 end
51 end #chip soc/amd/stoneyridge