]> git.ipfire.org Git - thirdparty/u-boot.git/blob - src/arm64/mediatek/mt8183-kukui-jacuzzi-pico6.dts
Squashed 'dts/upstream/' changes from aaba2d45dc2a..b35b9bd1d4ee
[thirdparty/u-boot.git] / src / arm64 / mediatek / mt8183-kukui-jacuzzi-pico6.dts
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 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 {
51 wowlan {
52 gpios = <&pio 113 GPIO_ACTIVE_LOW>;
53 };
54 };
55
56 &wifi_pwrseq {
57 post-power-on-delay-ms = <50>;
58
59 /* Toggle WIFI_ENABLE to reset the chip. */
60 reset-gpios = <&pio 8 GPIO_ACTIVE_LOW>;
61 };
62
63 &wifi_pins_pwrseq {
64 pins-wifi-enable {
65 pinmux = <PINMUX_GPIO8__FUNC_GPIO8>;
66 };
67 };
68
69 &mmc1_pins_default {
70 pins-cmd-dat {
71 drive-strength = <MTK_DRIVE_6mA>;
72 };
73 pins-clk {
74 drive-strength = <MTK_DRIVE_6mA>;
75 };
76 };
77
78 &mmc1_pins_uhs {
79 pins-clk {
80 drive-strength = <MTK_DRIVE_6mA>;
81 };
82 };
83
84 &mmc1 {
85 bt_reset: bt-reset {
86 compatible = "mediatek,mt7921s-bluetooth";
87 pinctrl-names = "default";
88 pinctrl-0 = <&bt_pins_reset>;
89 reset-gpios = <&pio 120 GPIO_ACTIVE_LOW>;
90 };
91 };
92
93 &pio {
94 bt_pins_wakeup: bt-pins-wakeup {
95 piins-bt-wakeup {
96 pinmux = <PINMUX_GPIO42__FUNC_GPIO42>;
97 input-enable;
98 };
99 };
100
101 bt_pins_reset: bt-pins-reset {
102 pins-bt-reset {
103 pinmux = <PINMUX_GPIO120__FUNC_GPIO120>;
104 output-high;
105 };
106 };
107 };
108
109 /delete-node/ &bluetooth;
110 /delete-node/ &bt_pins;