1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright 2021 Google LLC
6 #include "mt8183-kukui.dtsi"
7 /* Must come after mt8183-kukui.dtsi to modify cros_ec */
8 #include <arm/cros-ec-keyboard.dtsi>
11 pp1200_mipibrdg: pp1200-mipibrdg {
12 compatible = "regulator-fixed";
13 regulator-name = "pp1200_mipibrdg";
14 pinctrl-names = "default";
15 pinctrl-0 = <&pp1200_mipibrdg_en>;
20 gpio = <&pio 54 GPIO_ACTIVE_HIGH>;
23 pp1800_mipibrdg: pp1800-mipibrdg {
24 compatible = "regulator-fixed";
25 regulator-name = "pp1800_mipibrdg";
26 pinctrl-names = "default";
27 pinctrl-0 = <&pp1800_lcd_en>;
32 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
35 pp3300_panel: pp3300-panel {
36 compatible = "regulator-fixed";
37 regulator-name = "pp3300_panel";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&pp3300_panel_pins>;
46 gpio = <&pio 35 GPIO_ACTIVE_HIGH>;
49 vddio_mipibrdg: vddio-mipibrdg {
50 compatible = "regulator-fixed";
51 regulator-name = "vddio_mipibrdg";
52 pinctrl-names = "default";
53 pinctrl-0 = <&vddio_mipibrdg_en>;
58 gpio = <&pio 37 GPIO_ACTIVE_HIGH>;
61 volume_buttons: volume-buttons {
62 compatible = "gpio-keys";
63 pinctrl-names = "default";
64 pinctrl-0 = <&volume_button_pins>;
67 label = "Volume Down";
68 linux,code = <KEY_VOLUMEDOWN>;
69 debounce-interval = <100>;
71 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_VOLUMEUP>;
77 debounce-interval = <100>;
79 gpios = <&pio 5 GPIO_ACTIVE_LOW>;
86 compatible = "google,cros-ec-pwm";
94 /delete-property/#size-cells;
95 /delete-property/#address-cells;
100 remote-endpoint = <&anx7625_in>;
109 touchscreen: touchscreen@10 {
110 compatible = "elan,ekth3500";
113 pinctrl-names = "default";
114 pinctrl-0 = <&touchscreen_pins>;
116 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
118 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&i2c2_pins>;
126 clock-frequency = <400000>;
129 compatible = "elan,ekth3000";
132 pinctrl-names = "default";
133 pinctrl-0 = <&trackpad_pins>;
135 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&i2c4_pins>;
145 clock-frequency = <100000>;
147 anx_bridge: anx7625@58 {
148 compatible = "analogix,anx7625";
150 pinctrl-names = "default";
151 pinctrl-0 = <&anx7625_pins>;
153 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
154 reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
155 vdd10-supply = <&pp1200_mipibrdg>;
156 vdd18-supply = <&pp1800_mipibrdg>;
157 vdd33-supply = <&vddio_mipibrdg>;
159 #address-cells = <1>;
164 anx7625_in: endpoint {
165 remote-endpoint = <&dsi_out>;
172 anx7625_out: endpoint {
173 remote-endpoint = <&panel_in>;
179 compatible = "edp-panel";
180 power-supply = <&pp3300_panel>;
181 backlight = <&backlight_lcd0>;
185 remote-endpoint = <&anx7625_out>;
194 google,remote-bus = <2>;
351 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
352 * call it BIOS_FLASH_WP_R_L.
397 pp1200_mipibrdg_en: pp1200-mipibrdg-en {
399 pinmux = <PINMUX_GPIO54__FUNC_GPIO54>;
404 pp1800_lcd_en: pp1800-lcd-en {
406 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
411 pp3300_panel_pins: pp3300-panel-pins {
412 panel_3v3_enable: panel-3v3-enable {
413 pinmux = <PINMUX_GPIO35__FUNC_GPIO35>;
418 ppvarp_lcd_en: ppvarp-lcd-en {
420 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
425 ppvarn_lcd_en: ppvarn-lcd-en {
427 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
432 anx7625_pins: anx7625-pins {
434 pinmux = <PINMUX_GPIO45__FUNC_GPIO45>,
435 <PINMUX_GPIO73__FUNC_GPIO73>;
439 pinmux = <PINMUX_GPIO4__FUNC_GPIO4>;
445 touchscreen_pins: touchscreen-pins {
447 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
453 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
458 trackpad_pins: trackpad-pins {
460 pinmux = <PINMUX_GPIO7__FUNC_GPIO7>;
462 bias-disable; /* pulled externally */
466 vddio_mipibrdg_en: vddio-mipibrdg-en {
468 pinmux = <PINMUX_GPIO37__FUNC_GPIO37>;
473 volume_button_pins: volume-button-pins {
475 pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
481 pinmux = <PINMUX_GPIO5__FUNC_GPIO5>;