xref: /freebsd/sys/contrib/device-tree/src/arm64/mediatek/mt8183-kukui-kakadu.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
12eb4d8dcSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
22eb4d8dcSEmmanuel Vadot/*
32eb4d8dcSEmmanuel Vadot * Copyright 2020 Google LLC
42eb4d8dcSEmmanuel Vadot */
52eb4d8dcSEmmanuel Vadot
62eb4d8dcSEmmanuel Vadot#include "mt8183-kukui.dtsi"
72eb4d8dcSEmmanuel Vadot#include <dt-bindings/input/gpio-keys.h>
82eb4d8dcSEmmanuel Vadot
92eb4d8dcSEmmanuel Vadot/ {
102eb4d8dcSEmmanuel Vadot	ppvarn_lcd: ppvarn-lcd {
112eb4d8dcSEmmanuel Vadot		compatible = "regulator-fixed";
122eb4d8dcSEmmanuel Vadot		regulator-name = "ppvarn_lcd";
132eb4d8dcSEmmanuel Vadot		pinctrl-names = "default";
142eb4d8dcSEmmanuel Vadot		pinctrl-0 = <&ppvarn_lcd_en>;
152eb4d8dcSEmmanuel Vadot
162eb4d8dcSEmmanuel Vadot		enable-active-high;
172eb4d8dcSEmmanuel Vadot
182eb4d8dcSEmmanuel Vadot		gpio = <&pio 66 GPIO_ACTIVE_HIGH>;
192eb4d8dcSEmmanuel Vadot	};
202eb4d8dcSEmmanuel Vadot
212eb4d8dcSEmmanuel Vadot	ppvarp_lcd: ppvarp-lcd {
222eb4d8dcSEmmanuel Vadot		compatible = "regulator-fixed";
232eb4d8dcSEmmanuel Vadot		regulator-name = "ppvarp_lcd";
242eb4d8dcSEmmanuel Vadot		pinctrl-names = "default";
252eb4d8dcSEmmanuel Vadot		pinctrl-0 = <&ppvarp_lcd_en>;
262eb4d8dcSEmmanuel Vadot
272eb4d8dcSEmmanuel Vadot		enable-active-high;
282eb4d8dcSEmmanuel Vadot
292eb4d8dcSEmmanuel Vadot		gpio = <&pio 166 GPIO_ACTIVE_HIGH>;
302eb4d8dcSEmmanuel Vadot	};
312eb4d8dcSEmmanuel Vadot
322eb4d8dcSEmmanuel Vadot	pp1800_lcd: pp1800-lcd {
332eb4d8dcSEmmanuel Vadot		compatible = "regulator-fixed";
342eb4d8dcSEmmanuel Vadot		regulator-name = "pp1800_lcd";
352eb4d8dcSEmmanuel Vadot		pinctrl-names = "default";
362eb4d8dcSEmmanuel Vadot		pinctrl-0 = <&pp1800_lcd_en>;
372eb4d8dcSEmmanuel Vadot
382eb4d8dcSEmmanuel Vadot		enable-active-high;
392eb4d8dcSEmmanuel Vadot
402eb4d8dcSEmmanuel Vadot		gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
412eb4d8dcSEmmanuel Vadot	};
422eb4d8dcSEmmanuel Vadot
432eb4d8dcSEmmanuel Vadot	gpio-keys {
442eb4d8dcSEmmanuel Vadot		compatible = "gpio-keys";
452eb4d8dcSEmmanuel Vadot		pinctrl-names = "default";
462eb4d8dcSEmmanuel Vadot		pinctrl-0 = <&pen_eject>;
472eb4d8dcSEmmanuel Vadot
48b97ee269SEmmanuel Vadot		switch-pen-insert {
492eb4d8dcSEmmanuel Vadot			label = "Pen Insert";
502eb4d8dcSEmmanuel Vadot			/* Insert = low, eject = high */
512eb4d8dcSEmmanuel Vadot			gpios = <&pio 6 GPIO_ACTIVE_LOW>;
522eb4d8dcSEmmanuel Vadot			linux,code = <SW_PEN_INSERTED>;
532eb4d8dcSEmmanuel Vadot			linux,input-type = <EV_SW>;
542eb4d8dcSEmmanuel Vadot			wakeup-event-action = <EV_ACT_DEASSERTED>;
552eb4d8dcSEmmanuel Vadot			wakeup-source;
562eb4d8dcSEmmanuel Vadot		};
572eb4d8dcSEmmanuel Vadot	};
582eb4d8dcSEmmanuel Vadot};
592eb4d8dcSEmmanuel Vadot
602eb4d8dcSEmmanuel Vadot&bluetooth {
612eb4d8dcSEmmanuel Vadot	firmware-name = "nvm_00440302_i2s_eu.bin";
622eb4d8dcSEmmanuel Vadot};
632eb4d8dcSEmmanuel Vadot
642eb4d8dcSEmmanuel Vadot&i2c0 {
652eb4d8dcSEmmanuel Vadot	status = "okay";
662eb4d8dcSEmmanuel Vadot};
672eb4d8dcSEmmanuel Vadot
682eb4d8dcSEmmanuel Vadot&mt6358_vcama2_reg {
692eb4d8dcSEmmanuel Vadot	regulator-min-microvolt = <2800000>;
702eb4d8dcSEmmanuel Vadot	regulator-max-microvolt = <2800000>;
712eb4d8dcSEmmanuel Vadot};
722eb4d8dcSEmmanuel Vadot
732eb4d8dcSEmmanuel Vadot&i2c2 {
742eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
752eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
762eb4d8dcSEmmanuel Vadot	status = "okay";
772eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
785956d97fSEmmanuel Vadot	vbus-supply = <&mt6358_vcamio_reg>;
792eb4d8dcSEmmanuel Vadot
802eb4d8dcSEmmanuel Vadot	eeprom@58 {
812eb4d8dcSEmmanuel Vadot		compatible = "atmel,24c32";
822eb4d8dcSEmmanuel Vadot		reg = <0x58>;
832eb4d8dcSEmmanuel Vadot		pagesize = <32>;
845956d97fSEmmanuel Vadot		vcc-supply = <&mt6358_vcama2_reg>;
852eb4d8dcSEmmanuel Vadot	};
862eb4d8dcSEmmanuel Vadot};
872eb4d8dcSEmmanuel Vadot
882eb4d8dcSEmmanuel Vadot&i2c4 {
892eb4d8dcSEmmanuel Vadot	pinctrl-names = "default";
902eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&i2c4_pins>;
912eb4d8dcSEmmanuel Vadot	status = "okay";
922eb4d8dcSEmmanuel Vadot	clock-frequency = <400000>;
935956d97fSEmmanuel Vadot	vbus-supply = <&mt6358_vcn18_reg>;
942eb4d8dcSEmmanuel Vadot
952eb4d8dcSEmmanuel Vadot	eeprom@54 {
962eb4d8dcSEmmanuel Vadot		compatible = "atmel,24c32";
972eb4d8dcSEmmanuel Vadot		reg = <0x54>;
982eb4d8dcSEmmanuel Vadot		pagesize = <32>;
995956d97fSEmmanuel Vadot		vcc-supply = <&mt6358_vcn18_reg>;
1002eb4d8dcSEmmanuel Vadot	};
1012eb4d8dcSEmmanuel Vadot};
1022eb4d8dcSEmmanuel Vadot
1032eb4d8dcSEmmanuel Vadot&mipi_tx0 {
1042eb4d8dcSEmmanuel Vadot	drive-strength-microamp = <5800>;
1052eb4d8dcSEmmanuel Vadot};
1062eb4d8dcSEmmanuel Vadot
1072eb4d8dcSEmmanuel Vadot&pio {
1082eb4d8dcSEmmanuel Vadot	/* 192 lines */
1092eb4d8dcSEmmanuel Vadot	gpio-line-names =
1102eb4d8dcSEmmanuel Vadot		"SPI_AP_EC_CS_L",
1112eb4d8dcSEmmanuel Vadot		"SPI_AP_EC_MOSI",
1122eb4d8dcSEmmanuel Vadot		"SPI_AP_EC_CLK",
1132eb4d8dcSEmmanuel Vadot		"I2S3_DO",
1142eb4d8dcSEmmanuel Vadot		"USB_PD_INT_ODL",
1152eb4d8dcSEmmanuel Vadot		"",
1162eb4d8dcSEmmanuel Vadot		"",
1172eb4d8dcSEmmanuel Vadot		"",
1182eb4d8dcSEmmanuel Vadot		"",
1192eb4d8dcSEmmanuel Vadot		"IT6505_HPD_L",
1202eb4d8dcSEmmanuel Vadot		"I2S3_TDM_D3",
1212eb4d8dcSEmmanuel Vadot		"SOC_I2C6_1V8_SCL",
1222eb4d8dcSEmmanuel Vadot		"SOC_I2C6_1V8_SDA",
1232eb4d8dcSEmmanuel Vadot		"DPI_D0",
1242eb4d8dcSEmmanuel Vadot		"DPI_D1",
1252eb4d8dcSEmmanuel Vadot		"DPI_D2",
1262eb4d8dcSEmmanuel Vadot		"DPI_D3",
1272eb4d8dcSEmmanuel Vadot		"DPI_D4",
1282eb4d8dcSEmmanuel Vadot		"DPI_D5",
1292eb4d8dcSEmmanuel Vadot		"DPI_D6",
1302eb4d8dcSEmmanuel Vadot		"DPI_D7",
1312eb4d8dcSEmmanuel Vadot		"DPI_D8",
1322eb4d8dcSEmmanuel Vadot		"DPI_D9",
1332eb4d8dcSEmmanuel Vadot		"DPI_D10",
1342eb4d8dcSEmmanuel Vadot		"DPI_D11",
1352eb4d8dcSEmmanuel Vadot		"DPI_HSYNC",
1362eb4d8dcSEmmanuel Vadot		"DPI_VSYNC",
1372eb4d8dcSEmmanuel Vadot		"DPI_DE",
1382eb4d8dcSEmmanuel Vadot		"DPI_CK",
1392eb4d8dcSEmmanuel Vadot		"AP_MSDC1_CLK",
1402eb4d8dcSEmmanuel Vadot		"AP_MSDC1_DAT3",
1412eb4d8dcSEmmanuel Vadot		"AP_MSDC1_CMD",
1422eb4d8dcSEmmanuel Vadot		"AP_MSDC1_DAT0",
1432eb4d8dcSEmmanuel Vadot		"AP_MSDC1_DAT2",
1442eb4d8dcSEmmanuel Vadot		"AP_MSDC1_DAT1",
1452eb4d8dcSEmmanuel Vadot		"",
1462eb4d8dcSEmmanuel Vadot		"",
1472eb4d8dcSEmmanuel Vadot		"",
1482eb4d8dcSEmmanuel Vadot		"",
1492eb4d8dcSEmmanuel Vadot		"",
1502eb4d8dcSEmmanuel Vadot		"",
1512eb4d8dcSEmmanuel Vadot		"OTG_EN",
1522eb4d8dcSEmmanuel Vadot		"DRVBUS",
1532eb4d8dcSEmmanuel Vadot		"DISP_PWM",
1542eb4d8dcSEmmanuel Vadot		"DSI_TE",
1552eb4d8dcSEmmanuel Vadot		"LCM_RST_1V8",
1562eb4d8dcSEmmanuel Vadot		"AP_CTS_WIFI_RTS",
1572eb4d8dcSEmmanuel Vadot		"AP_RTS_WIFI_CTS",
1582eb4d8dcSEmmanuel Vadot		"SOC_I2C5_1V8_SCL",
1592eb4d8dcSEmmanuel Vadot		"SOC_I2C5_1V8_SDA",
1602eb4d8dcSEmmanuel Vadot		"SOC_I2C3_1V8_SCL",
1612eb4d8dcSEmmanuel Vadot		"SOC_I2C3_1V8_SDA",
1622eb4d8dcSEmmanuel Vadot		"",
1632eb4d8dcSEmmanuel Vadot		"",
1642eb4d8dcSEmmanuel Vadot		"",
1652eb4d8dcSEmmanuel Vadot		"",
1662eb4d8dcSEmmanuel Vadot		"",
1672eb4d8dcSEmmanuel Vadot		"",
1682eb4d8dcSEmmanuel Vadot		"",
1692eb4d8dcSEmmanuel Vadot		"",
1702eb4d8dcSEmmanuel Vadot		"",
1712eb4d8dcSEmmanuel Vadot		"",
1722eb4d8dcSEmmanuel Vadot		"",
1732eb4d8dcSEmmanuel Vadot		"",
1742eb4d8dcSEmmanuel Vadot		"",
1752eb4d8dcSEmmanuel Vadot		"",
1762eb4d8dcSEmmanuel Vadot		"",
1772eb4d8dcSEmmanuel Vadot		"",
1782eb4d8dcSEmmanuel Vadot		"",
1792eb4d8dcSEmmanuel Vadot		"",
1802eb4d8dcSEmmanuel Vadot		"",
1812eb4d8dcSEmmanuel Vadot		"",
1822eb4d8dcSEmmanuel Vadot		"",
1832eb4d8dcSEmmanuel Vadot		"",
1842eb4d8dcSEmmanuel Vadot		"",
1852eb4d8dcSEmmanuel Vadot		"",
1862eb4d8dcSEmmanuel Vadot		"",
1872eb4d8dcSEmmanuel Vadot		"",
1882eb4d8dcSEmmanuel Vadot		"",
1892eb4d8dcSEmmanuel Vadot		"",
1902eb4d8dcSEmmanuel Vadot		"",
1912eb4d8dcSEmmanuel Vadot		"SOC_I2C1_1V8_SDA",
1922eb4d8dcSEmmanuel Vadot		"SOC_I2C0_1V8_SDA",
1932eb4d8dcSEmmanuel Vadot		"SOC_I2C0_1V8_SCL",
1942eb4d8dcSEmmanuel Vadot		"SOC_I2C1_1V8_SCL",
1952eb4d8dcSEmmanuel Vadot		"AP_SPI_H1_MISO",
1962eb4d8dcSEmmanuel Vadot		"AP_SPI_H1_CS_L",
1972eb4d8dcSEmmanuel Vadot		"AP_SPI_H1_MOSI",
1982eb4d8dcSEmmanuel Vadot		"AP_SPI_H1_CLK",
1992eb4d8dcSEmmanuel Vadot		"I2S5_BCK",
2002eb4d8dcSEmmanuel Vadot		"I2S5_LRCK",
2012eb4d8dcSEmmanuel Vadot		"I2S5_DO",
2022eb4d8dcSEmmanuel Vadot		"BOOTBLOCK_EN_L",
2032eb4d8dcSEmmanuel Vadot		"MT8183_KPCOL0",
2042eb4d8dcSEmmanuel Vadot		"SPI_AP_EC_MISO",
2052eb4d8dcSEmmanuel Vadot		"UART_DBG_TX_AP_RX",
2062eb4d8dcSEmmanuel Vadot		"UART_AP_TX_DBG_RX",
2072eb4d8dcSEmmanuel Vadot		"I2S2_MCK",
2082eb4d8dcSEmmanuel Vadot		"I2S2_BCK",
2092eb4d8dcSEmmanuel Vadot		"CLK_5M_WCAM",
2102eb4d8dcSEmmanuel Vadot		"CLK_2M_UCAM",
2112eb4d8dcSEmmanuel Vadot		"I2S2_LRCK",
2122eb4d8dcSEmmanuel Vadot		"I2S2_DI",
2132eb4d8dcSEmmanuel Vadot		"SOC_I2C2_1V8_SCL",
2142eb4d8dcSEmmanuel Vadot		"SOC_I2C2_1V8_SDA",
2152eb4d8dcSEmmanuel Vadot		"SOC_I2C4_1V8_SCL",
2162eb4d8dcSEmmanuel Vadot		"SOC_I2C4_1V8_SDA",
2172eb4d8dcSEmmanuel Vadot		"",
2182eb4d8dcSEmmanuel Vadot		"SCL8",
2192eb4d8dcSEmmanuel Vadot		"SDA8",
2202eb4d8dcSEmmanuel Vadot		"FCAM_PWDN_L",
2212eb4d8dcSEmmanuel Vadot		"",
2222eb4d8dcSEmmanuel Vadot		"",
2232eb4d8dcSEmmanuel Vadot		"",
2242eb4d8dcSEmmanuel Vadot		"",
2252eb4d8dcSEmmanuel Vadot		"",
2262eb4d8dcSEmmanuel Vadot		"",
2272eb4d8dcSEmmanuel Vadot		"",
2282eb4d8dcSEmmanuel Vadot		"",
2292eb4d8dcSEmmanuel Vadot		"",
2302eb4d8dcSEmmanuel Vadot		"",
2312eb4d8dcSEmmanuel Vadot		"",
2322eb4d8dcSEmmanuel Vadot		"",
2332eb4d8dcSEmmanuel Vadot		"",
2342eb4d8dcSEmmanuel Vadot		"",
2352eb4d8dcSEmmanuel Vadot		"",
2362eb4d8dcSEmmanuel Vadot		"",
2372eb4d8dcSEmmanuel Vadot		"",
2382eb4d8dcSEmmanuel Vadot		"",
2392eb4d8dcSEmmanuel Vadot		"",
2402eb4d8dcSEmmanuel Vadot		"",
2412eb4d8dcSEmmanuel Vadot		"",
2422eb4d8dcSEmmanuel Vadot		"",
2432eb4d8dcSEmmanuel Vadot		"",
2442eb4d8dcSEmmanuel Vadot		"",
2452eb4d8dcSEmmanuel Vadot		"",
2462eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2472eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2482eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2492eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2502eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2512eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2522eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2532eb4d8dcSEmmanuel Vadot		"I2S_PMIC",
2542eb4d8dcSEmmanuel Vadot		"",
2552eb4d8dcSEmmanuel Vadot		"",
2562eb4d8dcSEmmanuel Vadot		"",
2572eb4d8dcSEmmanuel Vadot		"",
2582eb4d8dcSEmmanuel Vadot		"",
2592eb4d8dcSEmmanuel Vadot		"",
2602eb4d8dcSEmmanuel Vadot		/*
2612eb4d8dcSEmmanuel Vadot		 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics
2622eb4d8dcSEmmanuel Vadot		 * call it BIOS_FLASH_WP_R_L.
2632eb4d8dcSEmmanuel Vadot		 */
2642eb4d8dcSEmmanuel Vadot		"AP_FLASH_WP_L",
2652eb4d8dcSEmmanuel Vadot		"EC_AP_INT_ODL",
2662eb4d8dcSEmmanuel Vadot		"IT6505_INT_ODL",
2672eb4d8dcSEmmanuel Vadot		"H1_INT_OD_L",
2682eb4d8dcSEmmanuel Vadot		"",
2692eb4d8dcSEmmanuel Vadot		"",
2702eb4d8dcSEmmanuel Vadot		"",
2712eb4d8dcSEmmanuel Vadot		"",
2722eb4d8dcSEmmanuel Vadot		"",
2732eb4d8dcSEmmanuel Vadot		"",
2742eb4d8dcSEmmanuel Vadot		"",
2752eb4d8dcSEmmanuel Vadot		"AP_SPI_FLASH_MISO",
2762eb4d8dcSEmmanuel Vadot		"AP_SPI_FLASH_CS_L",
2772eb4d8dcSEmmanuel Vadot		"AP_SPI_FLASH_MOSI",
2782eb4d8dcSEmmanuel Vadot		"AP_SPI_FLASH_CLK",
2792eb4d8dcSEmmanuel Vadot		"DA7219_IRQ",
2802eb4d8dcSEmmanuel Vadot		"",
2812eb4d8dcSEmmanuel Vadot		"",
2822eb4d8dcSEmmanuel Vadot		"",
2832eb4d8dcSEmmanuel Vadot		"",
2842eb4d8dcSEmmanuel Vadot		"",
2852eb4d8dcSEmmanuel Vadot		"",
2862eb4d8dcSEmmanuel Vadot		"",
2872eb4d8dcSEmmanuel Vadot		"",
2882eb4d8dcSEmmanuel Vadot		"",
2892eb4d8dcSEmmanuel Vadot		"",
2902eb4d8dcSEmmanuel Vadot		"",
2912eb4d8dcSEmmanuel Vadot		"",
2922eb4d8dcSEmmanuel Vadot		"",
2932eb4d8dcSEmmanuel Vadot		"",
2942eb4d8dcSEmmanuel Vadot		"",
2952eb4d8dcSEmmanuel Vadot		"",
2962eb4d8dcSEmmanuel Vadot		"",
2972eb4d8dcSEmmanuel Vadot		"",
2982eb4d8dcSEmmanuel Vadot		"",
2992eb4d8dcSEmmanuel Vadot		"",
3002eb4d8dcSEmmanuel Vadot		"",
3012eb4d8dcSEmmanuel Vadot		"",
3022eb4d8dcSEmmanuel Vadot		"",
3032eb4d8dcSEmmanuel Vadot		"",
3042eb4d8dcSEmmanuel Vadot		"",
3052eb4d8dcSEmmanuel Vadot		"";
3062eb4d8dcSEmmanuel Vadot
3072eb4d8dcSEmmanuel Vadot	ppvarp_lcd_en: ppvarp-lcd-en {
3082eb4d8dcSEmmanuel Vadot		pins1 {
3092eb4d8dcSEmmanuel Vadot			pinmux = <PINMUX_GPIO66__FUNC_GPIO66>;
3102eb4d8dcSEmmanuel Vadot			output-low;
3112eb4d8dcSEmmanuel Vadot		};
3122eb4d8dcSEmmanuel Vadot	};
3132eb4d8dcSEmmanuel Vadot
3142eb4d8dcSEmmanuel Vadot	ppvarn_lcd_en: ppvarn-lcd-en {
3152eb4d8dcSEmmanuel Vadot		pins1 {
3162eb4d8dcSEmmanuel Vadot			pinmux = <PINMUX_GPIO166__FUNC_GPIO166>;
3172eb4d8dcSEmmanuel Vadot			output-low;
3182eb4d8dcSEmmanuel Vadot		};
3192eb4d8dcSEmmanuel Vadot	};
3202eb4d8dcSEmmanuel Vadot
3212eb4d8dcSEmmanuel Vadot	pp1800_lcd_en: pp1800-lcd-en {
3222eb4d8dcSEmmanuel Vadot		pins1 {
3232eb4d8dcSEmmanuel Vadot			pinmux = <PINMUX_GPIO36__FUNC_GPIO36>;
3242eb4d8dcSEmmanuel Vadot			output-low;
3252eb4d8dcSEmmanuel Vadot		};
3262eb4d8dcSEmmanuel Vadot	};
3272eb4d8dcSEmmanuel Vadot
3282eb4d8dcSEmmanuel Vadot	open_touch: open_touch {
3292eb4d8dcSEmmanuel Vadot		irq_pin {
3302eb4d8dcSEmmanuel Vadot			pinmux = <PINMUX_GPIO155__FUNC_GPIO155>;
3312eb4d8dcSEmmanuel Vadot			input-enable;
3322eb4d8dcSEmmanuel Vadot			bias-pull-up;
3332eb4d8dcSEmmanuel Vadot		};
3342eb4d8dcSEmmanuel Vadot
3352eb4d8dcSEmmanuel Vadot		rst_pin {
3362eb4d8dcSEmmanuel Vadot			pinmux = <PINMUX_GPIO156__FUNC_GPIO156>;
3372eb4d8dcSEmmanuel Vadot
3382eb4d8dcSEmmanuel Vadot			/*
3392eb4d8dcSEmmanuel Vadot			 * The pen driver doesn't currently support  driving
3402eb4d8dcSEmmanuel Vadot			 * this reset line.  By specifying output-high here
3412eb4d8dcSEmmanuel Vadot			 * we're relying on the fact that this pin has a default
3422eb4d8dcSEmmanuel Vadot			 * pulldown at boot (which makes sure the pen was in
3432eb4d8dcSEmmanuel Vadot			 * reset if it was powered) and then we set it high here
3442eb4d8dcSEmmanuel Vadot			 * to take it out of reset.  Better would be if the pen
3452eb4d8dcSEmmanuel Vadot			 * driver could control this and we could remove
3462eb4d8dcSEmmanuel Vadot			 * "output-high" here.
3472eb4d8dcSEmmanuel Vadot			 */
3482eb4d8dcSEmmanuel Vadot			output-high;
3492eb4d8dcSEmmanuel Vadot		};
3502eb4d8dcSEmmanuel Vadot	};
3512eb4d8dcSEmmanuel Vadot
3522eb4d8dcSEmmanuel Vadot	pen_eject: peneject {
3532eb4d8dcSEmmanuel Vadot		pen_eject {
3542eb4d8dcSEmmanuel Vadot			pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
3552eb4d8dcSEmmanuel Vadot			input-enable;
3562eb4d8dcSEmmanuel Vadot			/* External pull-up. */
3572eb4d8dcSEmmanuel Vadot			bias-disable;
3582eb4d8dcSEmmanuel Vadot		};
3592eb4d8dcSEmmanuel Vadot	};
3602eb4d8dcSEmmanuel Vadot};
3612eb4d8dcSEmmanuel Vadot
362cb7aa33aSEmmanuel Vadot&cros_ec {
363cb7aa33aSEmmanuel Vadot	keyboard-controller {
364cb7aa33aSEmmanuel Vadot		compatible = "google,cros-ec-keyb-switches";
365cb7aa33aSEmmanuel Vadot	};
366cb7aa33aSEmmanuel Vadot};
367cb7aa33aSEmmanuel Vadot
3682eb4d8dcSEmmanuel Vadot&qca_wifi {
3692eb4d8dcSEmmanuel Vadot	qcom,ath10k-calibration-variant = "GO_KAKADU";
3702eb4d8dcSEmmanuel Vadot};
3712eb4d8dcSEmmanuel Vadot
3722eb4d8dcSEmmanuel Vadot&panel {
3732eb4d8dcSEmmanuel Vadot	status = "okay";
374*8d13bc63SEmmanuel Vadot	/* compatible will be set in board dts */
3752eb4d8dcSEmmanuel Vadot};
376