1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright 2021 Google LLC
7 #include "mt8183-kukui.dtsi"
8 #include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi"
11 ppvarn_lcd: ppvarn-lcd {
12 compatible = "regulator-fixed";
13 regulator-name = "ppvarn_lcd";
14 pinctrl-names = "default";
15 pinctrl-0 = <&ppvarn_lcd_en>;
19 gpio = <&pio 66 GPIO_ACTIVE_HIGH>;
22 ppvarp_lcd: ppvarp-lcd {
23 compatible = "regulator-fixed";
24 regulator-name = "ppvarp_lcd";
25 pinctrl-names = "default";
26 pinctrl-0 = <&ppvarp_lcd_en>;
30 gpio = <&pio 166 GPIO_ACTIVE_HIGH>;
33 pp1800_lcd: pp1800-lcd {
34 compatible = "regulator-fixed";
35 regulator-name = "pp1800_lcd";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pp1800_lcd_en>;
41 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
48 touchscreen: touchscreen@10 {
49 compatible = "hid-over-i2c";
51 interrupt-parent = <&pio>;
52 interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
53 pinctrl-names = "default";
54 pinctrl-0 = <&touch_default>;
56 post-power-on-delay-ms = <10>;
57 hid-descr-addr = <0x0001>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&i2c2_pins>;
65 clock-frequency = <400000>;
66 vbus-supply = <&mt6358_vcamio_reg>;
69 compatible = "atmel,24c64";
72 vcc-supply = <&mt6358_vcamio_reg>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&i2c4_pins>;
80 clock-frequency = <400000>;
81 vbus-supply = <&mt6358_vcn18_reg>;
84 compatible = "atmel,24c64";
87 vcc-supply = <&mt6358_vcn18_reg>;
92 regulator-min-microvolt = <2800000>;
93 regulator-max-microvolt = <2800000>;
250 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
251 * call it BIOS_FLASH_WP_R_L.
296 ppvarp_lcd_en: ppvarp-lcd-en {
298 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
303 ppvarn_lcd_en: ppvarn-lcd-en {
305 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
310 pp1800_lcd_en: pp1800-lcd-en {
312 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
317 touch_default: touchdefault {
319 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
324 touch_pin_reset: pin_reset {
325 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
328 * The touchscreen driver doesn't currently support driving
329 * this reset line. By specifying output-high here
330 * we're relying on the fact that this pin has a default
331 * pulldown at boot (which makes sure the controller was in
332 * reset if it was powered) and then we set it high here
333 * to take it out of reset. Better would be if the touchscreen
334 * driver could control this and we could remove
335 * "output-high" here.
343 keyboard-controller {
344 compatible = "google,cros-ec-keyb-switches";
349 qcom,ath10k-calibration-variant = "GO_KODAMA";
353 google,remote-bus = <2>;