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 ddc-i2c-bus = <&i2c4>;
13 backlight = <&backlight_lcd0>;
17 remote-endpoint = <&anx7625_out>;
22 pp1200_mipibrdg: pp1200-mipibrdg {
23 compatible = "regulator-fixed";
24 regulator-name = "pp1200_mipibrdg";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pp1200_mipibrdg_en>;
31 gpio = <&pio 54 GPIO_ACTIVE_HIGH>;
34 pp1800_mipibrdg: pp1800-mipibrdg {
35 compatible = "regulator-fixed";
36 regulator-name = "pp1800_mipibrdg";
37 pinctrl-names = "default";
38 pinctrl-0 = <&pp1800_lcd_en>;
43 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
46 pp3300_panel: pp3300-panel {
47 compatible = "regulator-fixed";
48 regulator-name = "pp3300_panel";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&pp3300_panel_pins>;
57 gpio = <&pio 35 GPIO_ACTIVE_HIGH>;
60 vddio_mipibrdg: vddio-mipibrdg {
61 compatible = "regulator-fixed";
62 regulator-name = "vddio_mipibrdg";
63 pinctrl-names = "default";
64 pinctrl-0 = <&vddio_mipibrdg_en>;
69 gpio = <&pio 37 GPIO_ACTIVE_HIGH>;
72 volume_buttons: volume-buttons {
73 compatible = "gpio-keys";
74 pinctrl-names = "default";
75 pinctrl-0 = <&volume_button_pins>;
78 label = "Volume Down";
79 linux,code = <KEY_VOLUMEDOWN>;
80 debounce-interval = <100>;
82 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_VOLUMEUP>;
88 debounce-interval = <100>;
90 gpios = <&pio 5 GPIO_ACTIVE_LOW>;
97 compatible = "google,cros-ec-pwm";
105 /delete-node/panel@0;
109 remote-endpoint = <&anx7625_in>;
118 touchscreen: touchscreen@10 {
119 compatible = "elan,ekth3500";
122 pinctrl-names = "default";
123 pinctrl-0 = <&touchscreen_pins>;
125 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
127 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&i2c2_pins>;
135 clock-frequency = <400000>;
138 compatible = "elan,ekth3000";
141 pinctrl-names = "default";
142 pinctrl-0 = <&trackpad_pins>;
144 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&i2c4_pins>;
154 clock-frequency = <100000>;
156 anx_bridge: anx7625@58 {
157 compatible = "analogix,anx7625";
159 pinctrl-names = "default";
160 pinctrl-0 = <&anx7625_pins>;
162 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
163 reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
164 vdd10-supply = <&pp1200_mipibrdg>;
165 vdd18-supply = <&pp1800_mipibrdg>;
166 vdd33-supply = <&vddio_mipibrdg>;
168 #address-cells = <1>;
173 anx7625_in: endpoint {
174 remote-endpoint = <&dsi_out>;
181 anx7625_out: endpoint {
182 remote-endpoint = <&panel_in>;
189 google,remote-bus = <2>;
346 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
347 * call it BIOS_FLASH_WP_R_L.
392 pp1200_mipibrdg_en: pp1200-mipibrdg-en {
394 pinmux = <PINMUX_GPIO54__FUNC_GPIO54>;
399 pp1800_lcd_en: pp1800-lcd-en {
401 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
406 pp3300_panel_pins: pp3300-panel-pins {
407 panel_3v3_enable: panel-3v3-enable {
408 pinmux = <PINMUX_GPIO35__FUNC_GPIO35>;
413 ppvarp_lcd_en: ppvarp-lcd-en {
415 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
420 ppvarn_lcd_en: ppvarn-lcd-en {
422 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
427 anx7625_pins: anx7625-pins {
429 pinmux = <PINMUX_GPIO45__FUNC_GPIO45>,
430 <PINMUX_GPIO73__FUNC_GPIO73>;
434 pinmux = <PINMUX_GPIO4__FUNC_GPIO4>;
440 touchscreen_pins: touchscreen-pins {
442 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
448 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
453 trackpad_pins: trackpad-pins {
455 pinmux = <PINMUX_GPIO7__FUNC_GPIO7>;
457 bias-disable; /* pulled externally */
461 vddio_mipibrdg_en: vddio-mipibrdg-en {
463 pinmux = <PINMUX_GPIO37__FUNC_GPIO37>;
468 volume_button_pins: volume-button-pins {
470 pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
476 pinmux = <PINMUX_GPIO5__FUNC_GPIO5>;