mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / kahlee / variants / careena / overridetree.cb
blob666373f1bcb3be0f4a192bb8bb5ff06b70e2524a
1 # SPDX-License-Identifier: GPL-2.0-only
3 chip soc/amd/stoneyridge
4 register "stapm_percent" = "68"
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 = 58,
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 = 25,
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 = 22,
34 .fall_time_ns = 19,
37 device ref i2c_0 on
38 chip drivers/generic/adau7002
39 register "wakeup_delay" = "20"
40 device generic 0.0 on end
41 end
42 chip drivers/i2c/generic
43 register "hid" = ""10EC5682""
44 register "name" = ""RT58""
45 register "uid" = "1"
46 register "desc" = ""Realtek RT5682""
47 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPIO_14)"
48 register "property_count" = "2"
49 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
50 register "property_list[0].name" = ""realtek,jd-src""
51 register "property_list[0].integer" = "1"
52 register "property_list[1].type" = "ACPI_DP_TYPE_STRING"
53 register "property_list[1].name" = ""realtek,mclk-name""
54 register "property_list[1].string" = ""oscout1""
55 device i2c 1a on end
56 end
57 end
58 device ref i2c_3 on
59 chip drivers/i2c/generic
60 register "hid" = ""RAYD0001""
61 register "desc" = ""Raydium Touchscreen""
62 register "detect" = "1"
63 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_11)"
64 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_85)"
65 register "reset_delay_ms" = "20"
66 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_76)"
67 register "enable_delay_ms" = "1"
68 register "has_power_resource" = "1"
69 device i2c 39 on end
70 end
71 chip drivers/i2c/hid
72 register "generic.hid" = ""GTCH7503""
73 register "generic.desc" = ""G2TOUCH Touchscreen""
74 register "generic.detect" = "1"
75 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_11)"
76 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_85)"
77 register "generic.reset_delay_ms" = "50"
78 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_76)"
79 register "generic.enable_delay_ms" = "1"
80 register "generic.has_power_resource" = "1"
81 register "hid_desc_reg_offset" = "0x01"
82 device i2c 40 on end
83 end
84 end
85 end #chip soc/amd/stoneyridge