xref: /linux/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts (revision 8e1bb4a41aa78d6105e59186af3dcd545fc66e70)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright 2023 Google LLC
4 */
5
6/dts-v1/;
7#include "mt8183-kukui-jacuzzi.dtsi"
8#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi"
9
10/ {
11	model = "Google pico6 board";
12	chassis-type = "convertible";
13	compatible = "google,pico-sku2", "google,pico", "mediatek,mt8183";
14
15	bt_wakeup: bt-wakeup {
16		compatible = "gpio-keys";
17		pinctrl-names = "default";
18		pinctrl-0 = <&bt_pins_wakeup>;
19
20		event-wobt {
21			label = "Wake on BT";
22			gpios = <&pio 42 GPIO_ACTIVE_HIGH>;
23			linux,code = <KEY_WAKEUP>;
24			wakeup-source;
25		};
26	};
27};
28
29&i2c_tunnel {
30	google,remote-bus = <0>;
31};
32
33&i2c2 {
34	i2c-scl-internal-delay-ns = <25000>;
35
36	trackpad@2c {
37		compatible = "hid-over-i2c";
38		reg = <0x2c>;
39		hid-descr-addr = <0x20>;
40
41		pinctrl-names = "default";
42		pinctrl-0 = <&trackpad_pins>;
43
44		interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
45
46		wakeup-source;
47	};
48};
49
50&wifi_wakeup_event {
51	gpios = <&pio 113 GPIO_ACTIVE_LOW>;
52};
53
54&wifi_pwrseq {
55	post-power-on-delay-ms = <50>;
56
57	/* Toggle WIFI_ENABLE to reset the chip. */
58	reset-gpios = <&pio 8 GPIO_ACTIVE_LOW>;
59};
60
61&wifi_pins_pwrseq {
62	pins-wifi-enable {
63		pinmux = <PINMUX_GPIO8__FUNC_GPIO8>;
64	};
65};
66
67&mmc1_pins_default {
68	pins-cmd-dat {
69		drive-strength = <6>;
70	};
71	pins-clk {
72		drive-strength = <6>;
73	};
74};
75
76&mmc1_pins_uhs {
77	pins-clk {
78		drive-strength = <6>;
79	};
80};
81
82&mmc1 {
83	bluetooth@2 {
84		reg = <2>;
85		compatible = "mediatek,mt7921s-bluetooth";
86		pinctrl-names = "default";
87		pinctrl-0 = <&bt_pins_reset>;
88		reset-gpios = <&pio 120 GPIO_ACTIVE_LOW>;
89	};
90};
91
92&pio {
93	bt_pins_wakeup: bt-pins-wakeup {
94		piins-bt-wakeup {
95			pinmux = <PINMUX_GPIO42__FUNC_GPIO42>;
96			input-enable;
97		};
98	};
99
100	bt_pins_reset: bt-pins-reset {
101		pins-bt-reset {
102			pinmux = <PINMUX_GPIO120__FUNC_GPIO120>;
103			output-high;
104		};
105	};
106};
107
108/delete-node/ &bluetooth;
109/delete-node/ &bt_pins;
110