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 = "nvm_00440302_i2s_eu.bin";
69 regulator-min-microvolt = <2800000>;
70 regulator-max-microvolt = <2800000>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&i2c2_pins>;
77 clock-frequency = <400000>;
78 vbus-supply = <&mt6358_vcamio_reg>;
81 compatible = "atmel,24c32";
84 vcc-supply = <&mt6358_vcama2_reg>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&i2c4_pins>;
92 clock-frequency = <400000>;
93 vbus-supply = <&mt6358_vcn18_reg>;
96 compatible = "atmel,24c32";
99 vcc-supply = <&mt6358_vcn18_reg>;
104 drive-strength-microamp = <5800>;
261 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
262 * call it BIOS_FLASH_WP_R_L.
307 ppvarp_lcd_en: ppvarp-lcd-en {
309 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
314 ppvarn_lcd_en: ppvarn-lcd-en {
316 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
321 pp1800_lcd_en: pp1800-lcd-en {
323 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
328 open_touch: open_touch {
330 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
336 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
339 * The pen driver doesn't currently support driving
340 * this reset line. By specifying output-high here
341 * we're relying on the fact that this pin has a default
342 * pulldown at boot (which makes sure the pen was in
343 * reset if it was powered) and then we set it high here
344 * to take it out of reset. Better would be if the pen
345 * driver could control this and we could remove
346 * "output-high" here.
352 pen_eject: peneject {
354 pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
356 /* External pull-up. */
364 compatible = "google,cros-cbas";
367 keyboard-controller {
368 compatible = "google,cros-ec-keyb-switches";
373 qcom,ath10k-calibration-variant = "GO_KAKADU";
378 /* compatible will be set in board dts */