1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright 2021 Google LLC
6 #include "mt8183-kukui.dtsi"
10 compatible = "auo,b116xw03";
11 power-supply = <&pp3300_panel>;
12 backlight = <&backlight_lcd0>;
16 remote-endpoint = <&anx7625_out>;
21 pp1200_mipibrdg: pp1200-mipibrdg {
22 compatible = "regulator-fixed";
23 regulator-name = "pp1200_mipibrdg";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pp1200_mipibrdg_en>;
30 gpio = <&pio 54 GPIO_ACTIVE_HIGH>;
33 pp1800_mipibrdg: pp1800-mipibrdg {
34 compatible = "regulator-fixed";
35 regulator-name = "pp1800_mipibrdg";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pp1800_lcd_en>;
42 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
45 pp3300_panel: pp3300-panel {
46 compatible = "regulator-fixed";
47 regulator-name = "pp3300_panel";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
50 pinctrl-names = "default";
51 pinctrl-0 = <&pp3300_panel_pins>;
56 gpio = <&pio 35 GPIO_ACTIVE_HIGH>;
59 vddio_mipibrdg: vddio-mipibrdg {
60 compatible = "regulator-fixed";
61 regulator-name = "vddio_mipibrdg";
62 pinctrl-names = "default";
63 pinctrl-0 = <&vddio_mipibrdg_en>;
68 gpio = <&pio 37 GPIO_ACTIVE_HIGH>;
71 volume_buttons: volume-buttons {
72 compatible = "gpio-keys";
73 pinctrl-names = "default";
74 pinctrl-0 = <&volume_button_pins>;
77 label = "Volume Down";
78 linux,code = <KEY_VOLUMEDOWN>;
79 debounce-interval = <100>;
81 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_VOLUMEUP>;
87 debounce-interval = <100>;
89 gpios = <&pio 5 GPIO_ACTIVE_LOW>;
96 compatible = "google,cros-ec-pwm";
104 /delete-node/panel@0;
108 remote-endpoint = <&anx7625_in>;
117 touchscreen: touchscreen@10 {
118 compatible = "elan,ekth3500";
121 pinctrl-names = "default";
122 pinctrl-0 = <&touchscreen_pins>;
124 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
126 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&i2c2_pins>;
134 clock-frequency = <400000>;
137 compatible = "elan,ekth3000";
140 pinctrl-names = "default";
141 pinctrl-0 = <&trackpad_pins>;
143 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&i2c4_pins>;
153 clock-frequency = <100000>;
155 anx_bridge: anx7625@58 {
156 compatible = "analogix,anx7625";
158 pinctrl-names = "default";
159 pinctrl-0 = <&anx7625_pins>;
161 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
162 reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
163 vdd10-supply = <&pp1200_mipibrdg>;
164 vdd18-supply = <&pp1800_mipibrdg>;
165 vdd33-supply = <&vddio_mipibrdg>;
167 #address-cells = <1>;
172 anx7625_in: endpoint {
173 remote-endpoint = <&dsi_out>;
180 anx7625_out: endpoint {
181 remote-endpoint = <&panel_in>;
188 google,remote-bus = <2>;
345 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
346 * call it BIOS_FLASH_WP_R_L.
391 pp1200_mipibrdg_en: pp1200-mipibrdg-en {
393 pinmux = <PINMUX_GPIO54__FUNC_GPIO54>;
398 pp1800_lcd_en: pp1800-lcd-en {
400 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
405 pp3300_panel_pins: pp3300-panel-pins {
406 panel_3v3_enable: panel-3v3-enable {
407 pinmux = <PINMUX_GPIO35__FUNC_GPIO35>;
412 ppvarp_lcd_en: ppvarp-lcd-en {
414 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
419 ppvarn_lcd_en: ppvarn-lcd-en {
421 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
426 anx7625_pins: anx7625-pins {
428 pinmux = <PINMUX_GPIO45__FUNC_GPIO45>,
429 <PINMUX_GPIO73__FUNC_GPIO73>;
433 pinmux = <PINMUX_GPIO4__FUNC_GPIO4>;
439 touchscreen_pins: touchscreen-pins {
441 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
447 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
452 trackpad_pins: trackpad-pins {
454 pinmux = <PINMUX_GPIO7__FUNC_GPIO7>;
456 bias-disable; /* pulled externally */
460 vddio_mipibrdg_en: vddio-mipibrdg-en {
462 pinmux = <PINMUX_GPIO37__FUNC_GPIO37>;
467 volume_button_pins: volume-button-pins {
469 pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
475 pinmux = <PINMUX_GPIO5__FUNC_GPIO5>;