1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright 2020 Google LLC
6 #include "mt8183-kukui.dtsi"
7 #include <dt-bindings/input/gpio-keys.h>
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>;
44 compatible = "gpio-keys";
45 pinctrl-names = "default";
46 pinctrl-0 = <&pen_eject>;
50 /* Insert = low, eject = high */
51 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
52 linux,code = <SW_PEN_INSERTED>;
53 linux,input-type = <EV_SW>;
54 wakeup-event-action = <EV_ACT_DEASSERTED>;
61 firmware-name = "/*(DEBLOBBED)*/";
67 touchscreen: touchscreen@10 {
68 compatible = "hid-over-i2c";
70 pinctrl-names = "default";
71 pinctrl-0 = <&open_touch>;
73 interrupt-parent = <&pio>;
74 interrupts = <155 IRQ_TYPE_EDGE_FALLING>;
76 post-power-on-delay-ms = <10>;
77 hid-descr-addr = <0x0001>;
82 regulator-min-microvolt = <2800000>;
83 regulator-max-microvolt = <2800000>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&i2c2_pins>;
90 clock-frequency = <400000>;
91 vbus-supply = <&mt6358_vcamio_reg>;
94 compatible = "atmel,24c32";
97 vcc-supply = <&mt6358_vcama2_reg>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&i2c4_pins>;
105 clock-frequency = <400000>;
106 vbus-supply = <&mt6358_vcn18_reg>;
109 compatible = "atmel,24c32";
112 vcc-supply = <&mt6358_vcn18_reg>;
117 drive-strength-microamp = <5800>;
274 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
275 * call it BIOS_FLASH_WP_R_L.
320 ppvarp_lcd_en: ppvarp-lcd-en {
322 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
327 ppvarn_lcd_en: ppvarn-lcd-en {
329 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
334 pp1800_lcd_en: pp1800-lcd-en {
336 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
341 open_touch: open_touch {
343 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
349 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
352 * The pen driver doesn't currently support driving
353 * this reset line. By specifying output-high here
354 * we're relying on the fact that this pin has a default
355 * pulldown at boot (which makes sure the pen was in
356 * reset if it was powered) and then we set it high here
357 * to take it out of reset. Better would be if the pen
358 * driver could control this and we could remove
359 * "output-high" here.
365 pen_eject: peneject {
367 pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
369 /* External pull-up. */
376 keyboard-controller {
377 compatible = "google,cros-ec-keyb-switches";
382 qcom,ath10k-calibration-variant = "GO_KAKADU";
387 compatible = "boe,tv105wum-nw0";