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>
12 compatible = "auo,b116xw03";
13 power-supply = <&pp3300_panel>;
14 backlight = <&backlight_lcd0>;
18 remote-endpoint = <&anx7625_out>;
23 pp1200_mipibrdg: pp1200-mipibrdg {
24 compatible = "regulator-fixed";
25 regulator-name = "pp1200_mipibrdg";
26 pinctrl-names = "default";
27 pinctrl-0 = <&pp1200_mipibrdg_en>;
32 gpio = <&pio 54 GPIO_ACTIVE_HIGH>;
35 pp1800_mipibrdg: pp1800-mipibrdg {
36 compatible = "regulator-fixed";
37 regulator-name = "pp1800_mipibrdg";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pp1800_lcd_en>;
44 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
47 pp3300_panel: pp3300-panel {
48 compatible = "regulator-fixed";
49 regulator-name = "pp3300_panel";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
52 pinctrl-names = "default";
53 pinctrl-0 = <&pp3300_panel_pins>;
58 gpio = <&pio 35 GPIO_ACTIVE_HIGH>;
61 vddio_mipibrdg: vddio-mipibrdg {
62 compatible = "regulator-fixed";
63 regulator-name = "vddio_mipibrdg";
64 pinctrl-names = "default";
65 pinctrl-0 = <&vddio_mipibrdg_en>;
70 gpio = <&pio 37 GPIO_ACTIVE_HIGH>;
73 volume_buttons: volume-buttons {
74 compatible = "gpio-keys";
75 pinctrl-names = "default";
76 pinctrl-0 = <&volume_button_pins>;
79 label = "Volume Down";
80 linux,code = <KEY_VOLUMEDOWN>;
81 debounce-interval = <100>;
83 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_VOLUMEUP>;
89 debounce-interval = <100>;
91 gpios = <&pio 5 GPIO_ACTIVE_LOW>;
98 compatible = "google,cros-ec-pwm";
106 /delete-property/#size-cells;
107 /delete-property/#address-cells;
108 /delete-node/panel@0;
112 remote-endpoint = <&anx7625_in>;
121 touchscreen: touchscreen@10 {
122 compatible = "elan,ekth3500";
125 pinctrl-names = "default";
126 pinctrl-0 = <&touchscreen_pins>;
128 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
130 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&i2c2_pins>;
138 clock-frequency = <400000>;
141 compatible = "elan,ekth3000";
144 pinctrl-names = "default";
145 pinctrl-0 = <&trackpad_pins>;
147 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&i2c4_pins>;
157 clock-frequency = <100000>;
159 anx_bridge: anx7625@58 {
160 compatible = "analogix,anx7625";
162 pinctrl-names = "default";
163 pinctrl-0 = <&anx7625_pins>;
165 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
166 reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
167 vdd10-supply = <&pp1200_mipibrdg>;
168 vdd18-supply = <&pp1800_mipibrdg>;
169 vdd33-supply = <&vddio_mipibrdg>;
171 #address-cells = <1>;
176 anx7625_in: endpoint {
177 remote-endpoint = <&dsi_out>;
184 anx7625_out: endpoint {
185 remote-endpoint = <&panel_in>;
192 google,remote-bus = <2>;
349 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
350 * call it BIOS_FLASH_WP_R_L.
395 pp1200_mipibrdg_en: pp1200-mipibrdg-en {
397 pinmux = <PINMUX_GPIO54__FUNC_GPIO54>;
402 pp1800_lcd_en: pp1800-lcd-en {
404 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
409 pp3300_panel_pins: pp3300-panel-pins {
410 panel_3v3_enable: panel-3v3-enable {
411 pinmux = <PINMUX_GPIO35__FUNC_GPIO35>;
416 ppvarp_lcd_en: ppvarp-lcd-en {
418 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
423 ppvarn_lcd_en: ppvarn-lcd-en {
425 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
430 anx7625_pins: anx7625-pins {
432 pinmux = <PINMUX_GPIO45__FUNC_GPIO45>,
433 <PINMUX_GPIO73__FUNC_GPIO73>;
437 pinmux = <PINMUX_GPIO4__FUNC_GPIO4>;
443 touchscreen_pins: touchscreen-pins {
445 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
451 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
456 trackpad_pins: trackpad-pins {
458 pinmux = <PINMUX_GPIO7__FUNC_GPIO7>;
460 bias-disable; /* pulled externally */
464 vddio_mipibrdg_en: vddio-mipibrdg-en {
466 pinmux = <PINMUX_GPIO37__FUNC_GPIO37>;
471 volume_button_pins: volume-button-pins {
473 pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
479 pinmux = <PINMUX_GPIO5__FUNC_GPIO5>;