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