1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright 2019 Google LLC
6 #include "mt8183-kukui.dtsi"
7 #include "mt8183-kukui-audio-max98357a.dtsi"
10 ppvarn_lcd: ppvarn-lcd {
11 compatible = "regulator-fixed";
12 regulator-name = "ppvarn_lcd";
13 pinctrl-names = "default";
14 pinctrl-0 = <&ppvarn_lcd_en>;
18 gpio = <&pio 66 GPIO_ACTIVE_HIGH>;
21 ppvarp_lcd: ppvarp-lcd {
22 compatible = "regulator-fixed";
23 regulator-name = "ppvarp_lcd";
24 pinctrl-names = "default";
25 pinctrl-0 = <&ppvarp_lcd_en>;
29 gpio = <&pio 166 GPIO_ACTIVE_HIGH>;
32 pp1800_lcd: pp1800-lcd {
33 compatible = "regulator-fixed";
34 regulator-name = "pp1800_lcd";
35 pinctrl-names = "default";
36 pinctrl-0 = <&pp1800_lcd_en>;
40 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
45 firmware-name = "/*(DEBLOBBED)*/";
51 touchscreen4: touchscreen@5d {
52 compatible = "hid-over-i2c";
54 pinctrl-names = "default";
55 pinctrl-0 = <&open_touch>;
57 interrupt-parent = <&pio>;
58 interrupts = <155 IRQ_TYPE_EDGE_FALLING>;
60 post-power-on-delay-ms = <10>;
61 hid-descr-addr = <0x0001>;
66 regulator-min-microvolt = <2800000>;
67 regulator-max-microvolt = <2800000>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&i2c2_pins>;
74 clock-frequency = <400000>;
75 vbus-supply = <&mt6358_vcamio_reg>;
78 compatible = "atmel,24c32";
81 vcc-supply = <&mt6358_vcama2_reg>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&i2c4_pins>;
89 clock-frequency = <400000>;
90 vbus-supply = <&mt6358_vcn18_reg>;
93 compatible = "atmel,24c32";
96 vcc-supply = <&mt6358_vcn18_reg>;
254 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
255 * call it BIOS_FLASH_WP_R_L.
300 ppvarp_lcd_en: ppvarp-lcd-en {
302 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
307 ppvarn_lcd_en: ppvarn-lcd-en {
309 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
314 pp1800_lcd_en: pp1800-lcd-en {
316 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
321 open_touch: open_touch {
323 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
329 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
332 * The pen driver doesn't currently support driving
333 * this reset line. By specifying output-high here
334 * we're relying on the fact that this pin has a default
335 * pulldown at boot (which makes sure the pen was in
336 * reset if it was powered) and then we set it high here
337 * to take it out of reset. Better would be if the pen
338 * driver could control this and we could remove
339 * "output-high" here.
347 keyboard-controller {
348 compatible = "google,cros-ec-keyb-switches";
353 qcom,ath10k-calibration-variant = "LE_Krane";
357 compatible = "mediatek,mt8183_mt6358_ts3a227_max98357";