1 chip soc
/intel
/cannonlake
2 register
"power_limits_config" = "{
3 .tdp_pl1_override = 15,
4 .tdp_pl2_override = 51,
7 register
"SerialIoDevMode" = "{
8 [PchSerialIoIndexI2C0] = PchSerialIoPci,
9 [PchSerialIoIndexI2C1] = PchSerialIoPci,
10 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
11 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
12 [PchSerialIoIndexI2C4] = PchSerialIoPci,
13 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
14 [PchSerialIoIndexSPI0] = PchSerialIoPci,
15 [PchSerialIoIndexSPI1] = PchSerialIoPci,
16 [PchSerialIoIndexSPI2] = PchSerialIoDisabled,
17 [PchSerialIoIndexUART0] = PchSerialIoSkipInit,
18 [PchSerialIoIndexUART1] = PchSerialIoDisabled,
19 [PchSerialIoIndexUART2] = PchSerialIoDisabled,
22 # VR Slew rate setting
23 register
"AcousticNoiseMitigation" = "1"
24 register
"SlowSlewRateForIa" = "2"
25 register
"SlowSlewRateForGt" = "2"
26 register
"FastPkgCRampDisableIa" = "1"
27 register
"FastPkgCRampDisableGt" = "1"
28 register
"FastPkgCRampDisableSa" = "1"
30 # Intel Common SoC Config
31 #
+-------------------+---------------------------+
33 #
+-------------------+---------------------------+
34 #| GSPI0 | cr50 TPM. Early init is |
35 #| | required
to set up a BAR |
36 #| |
for TPM communication |
37 #| | before memory is up |
40 #| I2C1 | Touch
screen |
42 #
+-------------------+---------------------------+
43 register
"common_soc_config" = "{
49 .speed = I2C_SPEED_FAST,
54 .speed = I2C_SPEED_FAST,
59 .speed = I2C_SPEED_FAST,
65 # GPIO
for SD card detect
66 register
"sdcard_cd_gpio" = "vSD3_CD_B"
69 register
"ScsEmmcHs400Enabled" = "1"
73 chip drivers
/gfx
/generic
74 register
"device_count" = "1"
75 register
"device[0].name" = ""LCD0
""
76 # Use ChromeOS privacy
screen HID
77 register
"device[0].hid" = ""GOOG0010
""
78 # Internal panel on the first port of the graphics chip
79 register
"device[0].type" = "panel"
80 register
"device[0].privacy.enabled" = "1"
81 register
"device[0].privacy.gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E0)"
82 device generic
0 alias eps on
end
84 chip drivers
/gfx
/generic
85 register
"device_count" = "1"
86 register
"device[0].name" = ""LCD0
""
87 # Internal panel on the first port of the graphics chip
88 register
"device[0].type" = "panel"
89 device generic
1 alias no_eps on
end
94 device ref xhci_root_hub on
96 # The
Linux Kernel does
not allow an inverted BOTH_EDGE irq
97 # So we need
to use GpioIO
() instead of GpioInt
()
98 # https
://www.kernel.org
/doc
/Documentation
/acpi
/gpio
-properties.txt
99 register
"privacy_gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_D4)"
100 device ref usb2_port7 on
end
105 device ref sdxc on
end
107 chip drivers
/i2c
/generic
108 register
"hid" = ""ELAN0000
""
109 register
"desc" = ""ELAN Touchpad
""
110 register
"irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_A21_IRQ)"
111 register
"wake" = "GPE0_DW0_21"
112 register
"detect" = "1"
118 register
"generic.hid" = ""GTCH7503
""
119 register
"generic.desc" = ""G2TOUCH Touchscreen
""
120 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D16_IRQ)"
121 register
"generic.detect" = "1"
122 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)"
123 register
"generic.reset_delay_ms" = "50"
124 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D9)"
125 register
"generic.enable_delay_ms" = "1"
126 register
"generic.has_power_resource" = "1"
127 register
"hid_desc_reg_offset" = "0x01"
130 chip drivers
/i2c
/generic
131 register
"hid" = ""ELAN0001
""
132 register
"desc" = ""ELAN Touchscreen
""
133 register
"irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D16_IRQ)"
134 register
"detect" = "1"
135 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)"
136 register
"reset_delay_ms" = "100"
137 register
"reset_off_delay_ms" = "5"
138 register
"has_power_resource" = "1"
139 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D9)"
140 register
"enable_delay_ms" = "10"
141 register
"enable_off_delay_ms" = "1"
145 register
"generic.hid" = ""GDIX0000
""
146 register
"generic.desc" = ""Goodix Touchscreen
""
147 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D16_IRQ)"
148 register
"generic.detect" = "1"
149 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)"
150 register
"generic.reset_delay_ms" = "120"
151 register
"generic.reset_off_delay_ms" = "3"
152 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D9)"
153 register
"generic.enable_delay_ms" = "10"
154 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C4)"
155 register
"generic.stop_off_delay_ms" = "20"
156 register
"generic.has_power_resource" = "1"
157 register
"hid_desc_reg_offset" = "0x01"
161 register
"generic.hid" = ""ELAN2513
""
162 register
"generic.desc" = ""ELAN Touchscreen
""
163 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D16_IRQ)"
164 register
"generic.detect" = "1"
165 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)"
166 register
"generic.reset_delay_ms" = "20"
167 register
"generic.reset_off_delay_ms" = "2"
168 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D9)"
169 register
"generic.enable_delay_ms" = "10"
170 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C4)"
171 register
"generic.stop_delay_ms" = "130"
172 register
"generic.has_power_resource" = "1"
173 register
"hid_desc_reg_offset" = "0x01"
178 chip drivers
/i2c
/generic
179 register
"hid" = ""10EC5682
""
180 register
"name" = ""RT58
""
181 register
"desc" = ""Realtek RT5682
""
182 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_H0)"
183 register
"property_count" = "1"
184 #
Set the jd_src
to RT5668_JD1
for jack detection
185 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
186 register
"property_list[0].name" = ""realtek
,jd
-src
""
187 register
"property_list[0].integer" = "1"
191 device ref emmc on
end
193 chip drivers
/spi
/acpi
194 register
"name" = ""CRFP
""
195 register
"hid" = "ACPI_DT_NAMESPACE_HID"
197 register
"compat_string" = ""google
,cros
-ec
-spi
""
198 register
"irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_A23_IRQ)"
199 register
"wake" = "GPE0_DW0_23"
200 device spi
1 hidden
end
204 chip drivers
/generic
/max98357a
205 register
"hid" = ""MX98357A
""
206 register
"sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H3)"
207 register
"sdmode_delay" = "5"
208 device generic
0 on
end
211 register
"spkr_tplg" = "max98357a"
212 register
"jack_tplg" = "rt5682"
213 register
"mic_tplg" = "_2ch_pdm0"
214 device generic
0 on
end