1b97ee269SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2b97ee269SEmmanuel Vadot/* 3b97ee269SEmmanuel Vadot * Copyright (C) 2020 MediaTek Inc. 4b97ee269SEmmanuel Vadot * Author: Seiya Wang <seiya.wang@mediatek.com> 5b97ee269SEmmanuel Vadot */ 6b97ee269SEmmanuel Vadot/dts-v1/; 7b97ee269SEmmanuel Vadot#include "mt8192.dtsi" 8b97ee269SEmmanuel Vadot#include "mt6359.dtsi" 9b97ee269SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 10b97ee269SEmmanuel Vadot#include <dt-bindings/spmi/spmi.h> 11b97ee269SEmmanuel Vadot 12b97ee269SEmmanuel Vadot/ { 13b97ee269SEmmanuel Vadot aliases { 14cb7aa33aSEmmanuel Vadot i2c0 = &i2c0; 15cb7aa33aSEmmanuel Vadot i2c1 = &i2c1; 16cb7aa33aSEmmanuel Vadot i2c2 = &i2c2; 17cb7aa33aSEmmanuel Vadot i2c3 = &i2c3; 18cb7aa33aSEmmanuel Vadot i2c7 = &i2c7; 19cb7aa33aSEmmanuel Vadot mmc0 = &mmc0; 20cb7aa33aSEmmanuel Vadot mmc1 = &mmc1; 21b97ee269SEmmanuel Vadot serial0 = &uart0; 22b97ee269SEmmanuel Vadot }; 23b97ee269SEmmanuel Vadot 24b97ee269SEmmanuel Vadot chosen { 25b97ee269SEmmanuel Vadot stdout-path = "serial0:115200n8"; 26b97ee269SEmmanuel Vadot }; 27b97ee269SEmmanuel Vadot 28b97ee269SEmmanuel Vadot memory@40000000 { 29b97ee269SEmmanuel Vadot device_type = "memory"; 30b97ee269SEmmanuel Vadot reg = <0 0x40000000 0 0x80000000>; 31b97ee269SEmmanuel Vadot }; 32b97ee269SEmmanuel Vadot 33cb7aa33aSEmmanuel Vadot backlight_lcd0: backlight-lcd0 { 34cb7aa33aSEmmanuel Vadot compatible = "pwm-backlight"; 35cb7aa33aSEmmanuel Vadot pwms = <&pwm0 0 500000>; 36cb7aa33aSEmmanuel Vadot power-supply = <&ppvar_sys>; 37cb7aa33aSEmmanuel Vadot enable-gpios = <&pio 152 0>; 38cb7aa33aSEmmanuel Vadot brightness-levels = <0 1023>; 39cb7aa33aSEmmanuel Vadot num-interpolated-steps = <1023>; 40cb7aa33aSEmmanuel Vadot default-brightness-level = <576>; 41cb7aa33aSEmmanuel Vadot }; 42cb7aa33aSEmmanuel Vadot 43cb7aa33aSEmmanuel Vadot dmic_codec: dmic-codec { 44cb7aa33aSEmmanuel Vadot compatible = "dmic-codec"; 45cb7aa33aSEmmanuel Vadot num-channels = <2>; 46cb7aa33aSEmmanuel Vadot wakeup-delay-ms = <50>; 47cb7aa33aSEmmanuel Vadot }; 48cb7aa33aSEmmanuel Vadot 49cb7aa33aSEmmanuel Vadot pp1000_dpbrdg: regulator-1v0-dpbrdg { 50cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 51cb7aa33aSEmmanuel Vadot regulator-name = "pp1000_dpbrdg"; 52cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 53cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pp1000_dpbrdg_en_pins>; 54cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 55cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 56cb7aa33aSEmmanuel Vadot enable-active-high; 57cb7aa33aSEmmanuel Vadot regulator-boot-on; 58cb7aa33aSEmmanuel Vadot gpio = <&pio 19 GPIO_ACTIVE_HIGH>; 59cb7aa33aSEmmanuel Vadot vin-supply = <&mt6359_vs2_buck_reg>; 60cb7aa33aSEmmanuel Vadot }; 61cb7aa33aSEmmanuel Vadot 62cb7aa33aSEmmanuel Vadot pp1000_mipibrdg: regulator-1v0-mipibrdg { 63cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 64cb7aa33aSEmmanuel Vadot regulator-name = "pp1000_mipibrdg"; 65cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 66cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pp1000_mipibrdg_en_pins>; 67cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 68cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 69cb7aa33aSEmmanuel Vadot enable-active-high; 70cb7aa33aSEmmanuel Vadot regulator-boot-on; 71cb7aa33aSEmmanuel Vadot gpio = <&pio 129 GPIO_ACTIVE_HIGH>; 72cb7aa33aSEmmanuel Vadot vin-supply = <&mt6359_vs2_buck_reg>; 73cb7aa33aSEmmanuel Vadot }; 74cb7aa33aSEmmanuel Vadot 75cb7aa33aSEmmanuel Vadot pp1800_dpbrdg: regulator-1v8-dpbrdg { 76cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 77cb7aa33aSEmmanuel Vadot regulator-name = "pp1800_dpbrdg"; 78cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 79cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pp1800_dpbrdg_en_pins>; 80cb7aa33aSEmmanuel Vadot enable-active-high; 81cb7aa33aSEmmanuel Vadot regulator-boot-on; 82cb7aa33aSEmmanuel Vadot gpio = <&pio 126 GPIO_ACTIVE_HIGH>; 83cb7aa33aSEmmanuel Vadot vin-supply = <&mt6359_vio18_ldo_reg>; 84cb7aa33aSEmmanuel Vadot }; 85cb7aa33aSEmmanuel Vadot 86b97ee269SEmmanuel Vadot /* system wide LDO 1.8V power rail */ 87b97ee269SEmmanuel Vadot pp1800_ldo_g: regulator-1v8-g { 88b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 89b97ee269SEmmanuel Vadot regulator-name = "pp1800_ldo_g"; 90b97ee269SEmmanuel Vadot regulator-always-on; 91b97ee269SEmmanuel Vadot regulator-boot-on; 92b97ee269SEmmanuel Vadot regulator-min-microvolt = <1800000>; 93b97ee269SEmmanuel Vadot regulator-max-microvolt = <1800000>; 94b97ee269SEmmanuel Vadot vin-supply = <&pp3300_g>; 95b97ee269SEmmanuel Vadot }; 96b97ee269SEmmanuel Vadot 97cb7aa33aSEmmanuel Vadot pp1800_mipibrdg: regulator-1v8-mipibrdg { 98cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 99cb7aa33aSEmmanuel Vadot regulator-name = "pp1800_mipibrdg"; 100cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 101cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pp1800_mipibrdg_en_pins>; 102cb7aa33aSEmmanuel Vadot enable-active-high; 103cb7aa33aSEmmanuel Vadot regulator-boot-on; 104cb7aa33aSEmmanuel Vadot gpio = <&pio 128 GPIO_ACTIVE_HIGH>; 105cb7aa33aSEmmanuel Vadot vin-supply = <&mt6359_vio18_ldo_reg>; 106cb7aa33aSEmmanuel Vadot }; 107cb7aa33aSEmmanuel Vadot 108cb7aa33aSEmmanuel Vadot pp3300_dpbrdg: regulator-3v3-dpbrdg { 109cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 110cb7aa33aSEmmanuel Vadot regulator-name = "pp3300_dpbrdg"; 111cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 112cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pp3300_dpbrdg_en_pins>; 113cb7aa33aSEmmanuel Vadot enable-active-high; 114cb7aa33aSEmmanuel Vadot regulator-boot-on; 115cb7aa33aSEmmanuel Vadot gpio = <&pio 26 GPIO_ACTIVE_HIGH>; 116cb7aa33aSEmmanuel Vadot vin-supply = <&pp3300_g>; 117cb7aa33aSEmmanuel Vadot }; 118cb7aa33aSEmmanuel Vadot 119b97ee269SEmmanuel Vadot /* system wide switching 3.3V power rail */ 120b97ee269SEmmanuel Vadot pp3300_g: regulator-3v3-g { 121b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 122b97ee269SEmmanuel Vadot regulator-name = "pp3300_g"; 123b97ee269SEmmanuel Vadot regulator-always-on; 124b97ee269SEmmanuel Vadot regulator-boot-on; 125b97ee269SEmmanuel Vadot regulator-min-microvolt = <3300000>; 126b97ee269SEmmanuel Vadot regulator-max-microvolt = <3300000>; 127b97ee269SEmmanuel Vadot vin-supply = <&ppvar_sys>; 128b97ee269SEmmanuel Vadot }; 129b97ee269SEmmanuel Vadot 130b97ee269SEmmanuel Vadot /* system wide LDO 3.3V power rail */ 131b97ee269SEmmanuel Vadot pp3300_ldo_z: regulator-3v3-z { 132b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 133b97ee269SEmmanuel Vadot regulator-name = "pp3300_ldo_z"; 134b97ee269SEmmanuel Vadot regulator-always-on; 135b97ee269SEmmanuel Vadot regulator-boot-on; 136b97ee269SEmmanuel Vadot regulator-min-microvolt = <3300000>; 137b97ee269SEmmanuel Vadot regulator-max-microvolt = <3300000>; 138b97ee269SEmmanuel Vadot vin-supply = <&ppvar_sys>; 139b97ee269SEmmanuel Vadot }; 140b97ee269SEmmanuel Vadot 141cb7aa33aSEmmanuel Vadot pp3300_mipibrdg: regulator-3v3-mipibrdg { 142cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 143cb7aa33aSEmmanuel Vadot regulator-name = "pp3300_mipibrdg"; 144cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 145cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pp3300_mipibrdg_en_pins>; 146cb7aa33aSEmmanuel Vadot enable-active-high; 147cb7aa33aSEmmanuel Vadot regulator-boot-on; 148cb7aa33aSEmmanuel Vadot gpio = <&pio 127 GPIO_ACTIVE_HIGH>; 149cb7aa33aSEmmanuel Vadot vin-supply = <&pp3300_g>; 150cb7aa33aSEmmanuel Vadot }; 151cb7aa33aSEmmanuel Vadot 152b97ee269SEmmanuel Vadot /* separately switched 3.3V power rail */ 153b97ee269SEmmanuel Vadot pp3300_u: regulator-3v3-u { 154b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 155b97ee269SEmmanuel Vadot regulator-name = "pp3300_u"; 156b97ee269SEmmanuel Vadot regulator-always-on; 157b97ee269SEmmanuel Vadot regulator-boot-on; 158b97ee269SEmmanuel Vadot regulator-min-microvolt = <3300000>; 159b97ee269SEmmanuel Vadot regulator-max-microvolt = <3300000>; 160b97ee269SEmmanuel Vadot /* enable pin wired to GPIO controlled by EC */ 161b97ee269SEmmanuel Vadot vin-supply = <&pp3300_g>; 162b97ee269SEmmanuel Vadot }; 163b97ee269SEmmanuel Vadot 164b97ee269SEmmanuel Vadot pp3300_wlan: regulator-3v3-wlan { 165b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 166b97ee269SEmmanuel Vadot regulator-name = "pp3300_wlan"; 167b97ee269SEmmanuel Vadot regulator-always-on; 168b97ee269SEmmanuel Vadot regulator-boot-on; 169b97ee269SEmmanuel Vadot regulator-min-microvolt = <3300000>; 170b97ee269SEmmanuel Vadot regulator-max-microvolt = <3300000>; 171b97ee269SEmmanuel Vadot pinctrl-names = "default"; 172b97ee269SEmmanuel Vadot pinctrl-0 = <&pp3300_wlan_pins>; 173b97ee269SEmmanuel Vadot enable-active-high; 174b97ee269SEmmanuel Vadot gpio = <&pio 143 GPIO_ACTIVE_HIGH>; 175b97ee269SEmmanuel Vadot }; 176b97ee269SEmmanuel Vadot 177b97ee269SEmmanuel Vadot /* system wide switching 5.0V power rail */ 178b97ee269SEmmanuel Vadot pp5000_a: regulator-5v0-a { 179b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 180b97ee269SEmmanuel Vadot regulator-name = "pp5000_a"; 181b97ee269SEmmanuel Vadot regulator-always-on; 182b97ee269SEmmanuel Vadot regulator-boot-on; 183b97ee269SEmmanuel Vadot regulator-min-microvolt = <5000000>; 184b97ee269SEmmanuel Vadot regulator-max-microvolt = <5000000>; 185b97ee269SEmmanuel Vadot vin-supply = <&ppvar_sys>; 186b97ee269SEmmanuel Vadot }; 187b97ee269SEmmanuel Vadot 188b97ee269SEmmanuel Vadot /* system wide semi-regulated power rail from battery or USB */ 189b97ee269SEmmanuel Vadot ppvar_sys: regulator-var-sys { 190b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 191b97ee269SEmmanuel Vadot regulator-name = "ppvar_sys"; 192b97ee269SEmmanuel Vadot regulator-always-on; 193b97ee269SEmmanuel Vadot regulator-boot-on; 194b97ee269SEmmanuel Vadot }; 195b97ee269SEmmanuel Vadot 196b97ee269SEmmanuel Vadot reserved_memory: reserved-memory { 197b97ee269SEmmanuel Vadot #address-cells = <2>; 198b97ee269SEmmanuel Vadot #size-cells = <2>; 199b97ee269SEmmanuel Vadot ranges; 200b97ee269SEmmanuel Vadot 201b97ee269SEmmanuel Vadot scp_mem_reserved: scp@50000000 { 202b97ee269SEmmanuel Vadot compatible = "shared-dma-pool"; 203b97ee269SEmmanuel Vadot reg = <0 0x50000000 0 0x2900000>; 204b97ee269SEmmanuel Vadot no-map; 205b97ee269SEmmanuel Vadot }; 206b97ee269SEmmanuel Vadot 207b97ee269SEmmanuel Vadot wifi_restricted_dma_region: wifi@c0000000 { 208b97ee269SEmmanuel Vadot compatible = "restricted-dma-pool"; 209b97ee269SEmmanuel Vadot reg = <0 0xc0000000 0 0x4000000>; 210b97ee269SEmmanuel Vadot }; 211b97ee269SEmmanuel Vadot }; 212cb7aa33aSEmmanuel Vadot 21384943d6fSEmmanuel Vadot rt1015p: audio-codec { 21484943d6fSEmmanuel Vadot compatible = "realtek,rt1015p"; 21584943d6fSEmmanuel Vadot pinctrl-names = "default"; 21684943d6fSEmmanuel Vadot pinctrl-0 = <&rt1015p_pins>; 21784943d6fSEmmanuel Vadot sdb-gpios = <&pio 147 GPIO_ACTIVE_HIGH>; 21884943d6fSEmmanuel Vadot #sound-dai-cells = <0>; 21984943d6fSEmmanuel Vadot }; 22084943d6fSEmmanuel Vadot 221cb7aa33aSEmmanuel Vadot sound: sound { 222cb7aa33aSEmmanuel Vadot mediatek,platform = <&afe>; 223cb7aa33aSEmmanuel Vadot pinctrl-names = "aud_clk_mosi_off", 224cb7aa33aSEmmanuel Vadot "aud_clk_mosi_on", 225cb7aa33aSEmmanuel Vadot "aud_dat_mosi_off", 226cb7aa33aSEmmanuel Vadot "aud_dat_mosi_on", 227cb7aa33aSEmmanuel Vadot "aud_dat_miso_off", 228cb7aa33aSEmmanuel Vadot "aud_dat_miso_on", 229cb7aa33aSEmmanuel Vadot "vow_dat_miso_off", 230cb7aa33aSEmmanuel Vadot "vow_dat_miso_on", 231cb7aa33aSEmmanuel Vadot "vow_clk_miso_off", 232cb7aa33aSEmmanuel Vadot "vow_clk_miso_on", 233cb7aa33aSEmmanuel Vadot "aud_nle_mosi_off", 234cb7aa33aSEmmanuel Vadot "aud_nle_mosi_on", 235cb7aa33aSEmmanuel Vadot "aud_dat_miso2_off", 236cb7aa33aSEmmanuel Vadot "aud_dat_miso2_on", 237cb7aa33aSEmmanuel Vadot "aud_gpio_i2s3_off", 238cb7aa33aSEmmanuel Vadot "aud_gpio_i2s3_on", 239cb7aa33aSEmmanuel Vadot "aud_gpio_i2s8_off", 240cb7aa33aSEmmanuel Vadot "aud_gpio_i2s8_on", 241cb7aa33aSEmmanuel Vadot "aud_gpio_i2s9_off", 242cb7aa33aSEmmanuel Vadot "aud_gpio_i2s9_on", 243cb7aa33aSEmmanuel Vadot "aud_dat_mosi_ch34_off", 244cb7aa33aSEmmanuel Vadot "aud_dat_mosi_ch34_on", 245cb7aa33aSEmmanuel Vadot "aud_dat_miso_ch34_off", 246cb7aa33aSEmmanuel Vadot "aud_dat_miso_ch34_on", 247cb7aa33aSEmmanuel Vadot "aud_gpio_tdm_off", 248cb7aa33aSEmmanuel Vadot "aud_gpio_tdm_on"; 249cb7aa33aSEmmanuel Vadot pinctrl-0 = <&aud_clk_mosi_off_pins>; 250cb7aa33aSEmmanuel Vadot pinctrl-1 = <&aud_clk_mosi_on_pins>; 251cb7aa33aSEmmanuel Vadot pinctrl-2 = <&aud_dat_mosi_off_pins>; 252cb7aa33aSEmmanuel Vadot pinctrl-3 = <&aud_dat_mosi_on_pins>; 253cb7aa33aSEmmanuel Vadot pinctrl-4 = <&aud_dat_miso_off_pins>; 254cb7aa33aSEmmanuel Vadot pinctrl-5 = <&aud_dat_miso_on_pins>; 255cb7aa33aSEmmanuel Vadot pinctrl-6 = <&vow_dat_miso_off_pins>; 256cb7aa33aSEmmanuel Vadot pinctrl-7 = <&vow_dat_miso_on_pins>; 257cb7aa33aSEmmanuel Vadot pinctrl-8 = <&vow_clk_miso_off_pins>; 258cb7aa33aSEmmanuel Vadot pinctrl-9 = <&vow_clk_miso_on_pins>; 259cb7aa33aSEmmanuel Vadot pinctrl-10 = <&aud_nle_mosi_off_pins>; 260cb7aa33aSEmmanuel Vadot pinctrl-11 = <&aud_nle_mosi_on_pins>; 261cb7aa33aSEmmanuel Vadot pinctrl-12 = <&aud_dat_miso2_off_pins>; 262cb7aa33aSEmmanuel Vadot pinctrl-13 = <&aud_dat_miso2_on_pins>; 263cb7aa33aSEmmanuel Vadot pinctrl-14 = <&aud_gpio_i2s3_off_pins>; 264cb7aa33aSEmmanuel Vadot pinctrl-15 = <&aud_gpio_i2s3_on_pins>; 265cb7aa33aSEmmanuel Vadot pinctrl-16 = <&aud_gpio_i2s8_off_pins>; 266cb7aa33aSEmmanuel Vadot pinctrl-17 = <&aud_gpio_i2s8_on_pins>; 267cb7aa33aSEmmanuel Vadot pinctrl-18 = <&aud_gpio_i2s9_off_pins>; 268cb7aa33aSEmmanuel Vadot pinctrl-19 = <&aud_gpio_i2s9_on_pins>; 269cb7aa33aSEmmanuel Vadot pinctrl-20 = <&aud_dat_mosi_ch34_off_pins>; 270cb7aa33aSEmmanuel Vadot pinctrl-21 = <&aud_dat_mosi_ch34_on_pins>; 271cb7aa33aSEmmanuel Vadot pinctrl-22 = <&aud_dat_miso_ch34_off_pins>; 272cb7aa33aSEmmanuel Vadot pinctrl-23 = <&aud_dat_miso_ch34_on_pins>; 273cb7aa33aSEmmanuel Vadot pinctrl-24 = <&aud_gpio_tdm_off_pins>; 274cb7aa33aSEmmanuel Vadot pinctrl-25 = <&aud_gpio_tdm_on_pins>; 275cb7aa33aSEmmanuel Vadot }; 276cb7aa33aSEmmanuel Vadot}; 277cb7aa33aSEmmanuel Vadot 278cb7aa33aSEmmanuel Vadot&dsi0 { 279cb7aa33aSEmmanuel Vadot status = "okay"; 280cb7aa33aSEmmanuel Vadot}; 281cb7aa33aSEmmanuel Vadot 282cb7aa33aSEmmanuel Vadot&dsi_out { 283cb7aa33aSEmmanuel Vadot remote-endpoint = <&anx7625_in>; 284b97ee269SEmmanuel Vadot}; 285b97ee269SEmmanuel Vadot 286f126890aSEmmanuel Vadot&gic { 287f126890aSEmmanuel Vadot mediatek,broken-save-restore-fw; 288f126890aSEmmanuel Vadot}; 289f126890aSEmmanuel Vadot 290fac71e4eSEmmanuel Vadot&gpu { 291fac71e4eSEmmanuel Vadot mali-supply = <&mt6315_7_vbuck1>; 292fac71e4eSEmmanuel Vadot status = "okay"; 293fac71e4eSEmmanuel Vadot}; 294fac71e4eSEmmanuel Vadot 295b97ee269SEmmanuel Vadot&i2c0 { 296b97ee269SEmmanuel Vadot status = "okay"; 297b97ee269SEmmanuel Vadot 298b97ee269SEmmanuel Vadot clock-frequency = <400000>; 299b97ee269SEmmanuel Vadot pinctrl-names = "default"; 300b97ee269SEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 301b97ee269SEmmanuel Vadot 302b97ee269SEmmanuel Vadot touchscreen: touchscreen@10 { 303b97ee269SEmmanuel Vadot reg = <0x10>; 304b97ee269SEmmanuel Vadot interrupts-extended = <&pio 21 IRQ_TYPE_LEVEL_LOW>; 305b97ee269SEmmanuel Vadot pinctrl-names = "default"; 306b97ee269SEmmanuel Vadot pinctrl-0 = <&touchscreen_pins>; 307b97ee269SEmmanuel Vadot }; 308b97ee269SEmmanuel Vadot}; 309b97ee269SEmmanuel Vadot 310b97ee269SEmmanuel Vadot&i2c1 { 311b97ee269SEmmanuel Vadot status = "okay"; 312b97ee269SEmmanuel Vadot 313b97ee269SEmmanuel Vadot clock-frequency = <400000>; 314b97ee269SEmmanuel Vadot pinctrl-names = "default"; 315b97ee269SEmmanuel Vadot pinctrl-0 = <&i2c1_pins>; 31684943d6fSEmmanuel Vadot 31784943d6fSEmmanuel Vadot rt5682: audio-codec@1a { 31884943d6fSEmmanuel Vadot /* Realtek RT5682i or RT5682s, sharing the same configuration */ 31984943d6fSEmmanuel Vadot reg = <0x1a>; 32084943d6fSEmmanuel Vadot interrupts-extended = <&pio 18 IRQ_TYPE_LEVEL_LOW>; 32184943d6fSEmmanuel Vadot realtek,jd-src = <1>; 32284943d6fSEmmanuel Vadot #sound-dai-cells = <1>; 32384943d6fSEmmanuel Vadot 32484943d6fSEmmanuel Vadot AVDD-supply = <&mt6359_vio18_ldo_reg>; 32584943d6fSEmmanuel Vadot DBVDD-supply = <&mt6359_vio18_ldo_reg>; 32684943d6fSEmmanuel Vadot LDO1-IN-supply = <&mt6359_vio18_ldo_reg>; 32784943d6fSEmmanuel Vadot MICVDD-supply = <&pp3300_g>; 32884943d6fSEmmanuel Vadot }; 329b97ee269SEmmanuel Vadot}; 330b97ee269SEmmanuel Vadot 331b97ee269SEmmanuel Vadot&i2c2 { 332b97ee269SEmmanuel Vadot status = "okay"; 333b97ee269SEmmanuel Vadot 334b97ee269SEmmanuel Vadot clock-frequency = <400000>; 335b97ee269SEmmanuel Vadot clock-stretch-ns = <12600>; 336b97ee269SEmmanuel Vadot pinctrl-names = "default"; 337b97ee269SEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 338b97ee269SEmmanuel Vadot 339b97ee269SEmmanuel Vadot trackpad@15 { 340b97ee269SEmmanuel Vadot compatible = "elan,ekth3000"; 341b97ee269SEmmanuel Vadot reg = <0x15>; 342b97ee269SEmmanuel Vadot interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>; 343b97ee269SEmmanuel Vadot pinctrl-names = "default"; 344b97ee269SEmmanuel Vadot pinctrl-0 = <&trackpad_pins>; 345b97ee269SEmmanuel Vadot vcc-supply = <&pp3300_u>; 346b97ee269SEmmanuel Vadot wakeup-source; 347b97ee269SEmmanuel Vadot }; 348b97ee269SEmmanuel Vadot}; 349b97ee269SEmmanuel Vadot 350b97ee269SEmmanuel Vadot&i2c3 { 351b97ee269SEmmanuel Vadot status = "okay"; 352b97ee269SEmmanuel Vadot 353b97ee269SEmmanuel Vadot clock-frequency = <400000>; 354b97ee269SEmmanuel Vadot pinctrl-names = "default"; 355b97ee269SEmmanuel Vadot pinctrl-0 = <&i2c3_pins>; 356cb7aa33aSEmmanuel Vadot 357cb7aa33aSEmmanuel Vadot anx_bridge: anx7625@58 { 358cb7aa33aSEmmanuel Vadot compatible = "analogix,anx7625"; 359cb7aa33aSEmmanuel Vadot reg = <0x58>; 360cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 361cb7aa33aSEmmanuel Vadot pinctrl-0 = <&anx7625_pins>; 362cb7aa33aSEmmanuel Vadot enable-gpios = <&pio 41 GPIO_ACTIVE_HIGH>; 363cb7aa33aSEmmanuel Vadot reset-gpios = <&pio 42 GPIO_ACTIVE_HIGH>; 364cb7aa33aSEmmanuel Vadot vdd10-supply = <&pp1000_mipibrdg>; 365cb7aa33aSEmmanuel Vadot vdd18-supply = <&pp1800_mipibrdg>; 366cb7aa33aSEmmanuel Vadot vdd33-supply = <&pp3300_mipibrdg>; 367cb7aa33aSEmmanuel Vadot 368cb7aa33aSEmmanuel Vadot ports { 369cb7aa33aSEmmanuel Vadot #address-cells = <1>; 370cb7aa33aSEmmanuel Vadot #size-cells = <0>; 371cb7aa33aSEmmanuel Vadot 372cb7aa33aSEmmanuel Vadot port@0 { 373cb7aa33aSEmmanuel Vadot reg = <0>; 374cb7aa33aSEmmanuel Vadot 375cb7aa33aSEmmanuel Vadot anx7625_in: endpoint { 376cb7aa33aSEmmanuel Vadot remote-endpoint = <&dsi_out>; 377cb7aa33aSEmmanuel Vadot }; 378cb7aa33aSEmmanuel Vadot }; 379cb7aa33aSEmmanuel Vadot 380cb7aa33aSEmmanuel Vadot port@1 { 381cb7aa33aSEmmanuel Vadot reg = <1>; 382cb7aa33aSEmmanuel Vadot 383cb7aa33aSEmmanuel Vadot anx7625_out: endpoint { 384cb7aa33aSEmmanuel Vadot remote-endpoint = <&panel_in>; 385cb7aa33aSEmmanuel Vadot }; 386cb7aa33aSEmmanuel Vadot }; 387cb7aa33aSEmmanuel Vadot }; 388cb7aa33aSEmmanuel Vadot 389cb7aa33aSEmmanuel Vadot aux-bus { 390cb7aa33aSEmmanuel Vadot panel: panel { 391cb7aa33aSEmmanuel Vadot compatible = "edp-panel"; 392cb7aa33aSEmmanuel Vadot power-supply = <&pp3300_mipibrdg>; 393cb7aa33aSEmmanuel Vadot backlight = <&backlight_lcd0>; 394cb7aa33aSEmmanuel Vadot 395cb7aa33aSEmmanuel Vadot port { 396cb7aa33aSEmmanuel Vadot panel_in: endpoint { 397cb7aa33aSEmmanuel Vadot remote-endpoint = <&anx7625_out>; 398cb7aa33aSEmmanuel Vadot }; 399cb7aa33aSEmmanuel Vadot }; 400cb7aa33aSEmmanuel Vadot }; 401cb7aa33aSEmmanuel Vadot }; 402cb7aa33aSEmmanuel Vadot }; 403b97ee269SEmmanuel Vadot}; 404b97ee269SEmmanuel Vadot 405b97ee269SEmmanuel Vadot&i2c7 { 406b97ee269SEmmanuel Vadot status = "okay"; 407b97ee269SEmmanuel Vadot 408b97ee269SEmmanuel Vadot clock-frequency = <400000>; 409b97ee269SEmmanuel Vadot pinctrl-names = "default"; 410b97ee269SEmmanuel Vadot pinctrl-0 = <&i2c7_pins>; 411b97ee269SEmmanuel Vadot}; 412b97ee269SEmmanuel Vadot 413fac71e4eSEmmanuel Vadot&mfg0 { 414fac71e4eSEmmanuel Vadot domain-supply = <&mt6315_7_vbuck1>; 415fac71e4eSEmmanuel Vadot}; 416fac71e4eSEmmanuel Vadot 417fac71e4eSEmmanuel Vadot&mfg1 { 418fac71e4eSEmmanuel Vadot domain-supply = <&mt6359_vsram_others_ldo_reg>; 419fac71e4eSEmmanuel Vadot}; 420fac71e4eSEmmanuel Vadot 421cb7aa33aSEmmanuel Vadot&mipi_tx0 { 422cb7aa33aSEmmanuel Vadot status = "okay"; 423cb7aa33aSEmmanuel Vadot}; 424cb7aa33aSEmmanuel Vadot 425b97ee269SEmmanuel Vadot&mmc0 { 426b97ee269SEmmanuel Vadot status = "okay"; 427b97ee269SEmmanuel Vadot 428b97ee269SEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 429b97ee269SEmmanuel Vadot pinctrl-0 = <&mmc0_default_pins>; 430b97ee269SEmmanuel Vadot pinctrl-1 = <&mmc0_uhs_pins>; 431b97ee269SEmmanuel Vadot bus-width = <8>; 432b97ee269SEmmanuel Vadot max-frequency = <200000000>; 433b97ee269SEmmanuel Vadot vmmc-supply = <&mt6359_vemc_1_ldo_reg>; 434b97ee269SEmmanuel Vadot vqmmc-supply = <&mt6359_vufs_ldo_reg>; 435b97ee269SEmmanuel Vadot cap-mmc-highspeed; 436b97ee269SEmmanuel Vadot mmc-hs200-1_8v; 437b97ee269SEmmanuel Vadot mmc-hs400-1_8v; 438b97ee269SEmmanuel Vadot supports-cqe; 439b97ee269SEmmanuel Vadot cap-mmc-hw-reset; 440b97ee269SEmmanuel Vadot mmc-hs400-enhanced-strobe; 441b97ee269SEmmanuel Vadot hs400-ds-delay = <0x12814>; 442b97ee269SEmmanuel Vadot no-sdio; 443b97ee269SEmmanuel Vadot no-sd; 444b97ee269SEmmanuel Vadot non-removable; 445b97ee269SEmmanuel Vadot}; 446b97ee269SEmmanuel Vadot 447b97ee269SEmmanuel Vadot&mmc1 { 448b97ee269SEmmanuel Vadot status = "okay"; 449b97ee269SEmmanuel Vadot 450b97ee269SEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 451b97ee269SEmmanuel Vadot pinctrl-0 = <&mmc1_default_pins>; 452b97ee269SEmmanuel Vadot pinctrl-1 = <&mmc1_uhs_pins>; 453b97ee269SEmmanuel Vadot bus-width = <4>; 454b97ee269SEmmanuel Vadot max-frequency = <200000000>; 455b97ee269SEmmanuel Vadot cd-gpios = <&pio 17 GPIO_ACTIVE_LOW>; 456b97ee269SEmmanuel Vadot vmmc-supply = <&mt6360_ldo5_reg>; 457b97ee269SEmmanuel Vadot vqmmc-supply = <&mt6360_ldo3_reg>; 458b97ee269SEmmanuel Vadot cap-sd-highspeed; 459b97ee269SEmmanuel Vadot sd-uhs-sdr50; 460b97ee269SEmmanuel Vadot sd-uhs-sdr104; 461b97ee269SEmmanuel Vadot no-sdio; 462b97ee269SEmmanuel Vadot no-mmc; 463b97ee269SEmmanuel Vadot}; 464b97ee269SEmmanuel Vadot 465b97ee269SEmmanuel Vadot/* for CORE */ 466b97ee269SEmmanuel Vadot&mt6359_vgpu11_buck_reg { 467b97ee269SEmmanuel Vadot regulator-always-on; 468b97ee269SEmmanuel Vadot}; 469b97ee269SEmmanuel Vadot 470b97ee269SEmmanuel Vadot&mt6359_vgpu11_sshub_buck_reg { 471b97ee269SEmmanuel Vadot regulator-always-on; 472b97ee269SEmmanuel Vadot regulator-min-microvolt = <575000>; 473b97ee269SEmmanuel Vadot regulator-max-microvolt = <575000>; 474b97ee269SEmmanuel Vadot}; 475b97ee269SEmmanuel Vadot 476b97ee269SEmmanuel Vadot&mt6359_vrf12_ldo_reg { 477b97ee269SEmmanuel Vadot regulator-always-on; 478b97ee269SEmmanuel Vadot}; 479b97ee269SEmmanuel Vadot 480fac71e4eSEmmanuel Vadot&mt6359_vsram_others_ldo_reg { 481fac71e4eSEmmanuel Vadot regulator-min-microvolt = <750000>; 482fac71e4eSEmmanuel Vadot regulator-max-microvolt = <800000>; 483fac71e4eSEmmanuel Vadot regulator-coupled-with = <&mt6315_7_vbuck1>; 484fac71e4eSEmmanuel Vadot regulator-coupled-max-spread = <10000>; 485fac71e4eSEmmanuel Vadot}; 486fac71e4eSEmmanuel Vadot 487b97ee269SEmmanuel Vadot&mt6359_vufs_ldo_reg { 488b97ee269SEmmanuel Vadot regulator-always-on; 489b97ee269SEmmanuel Vadot}; 490b97ee269SEmmanuel Vadot 491b97ee269SEmmanuel Vadot&mt6359codec { 492b97ee269SEmmanuel Vadot mediatek,dmic-mode = <1>; /* one-wire */ 493b97ee269SEmmanuel Vadot mediatek,mic-type-0 = <2>; /* DMIC */ 494b97ee269SEmmanuel Vadot mediatek,mic-type-2 = <2>; /* DMIC */ 495b97ee269SEmmanuel Vadot}; 496b97ee269SEmmanuel Vadot 497b97ee269SEmmanuel Vadot&nor_flash { 498b97ee269SEmmanuel Vadot status = "okay"; 499b97ee269SEmmanuel Vadot 500b97ee269SEmmanuel Vadot pinctrl-names = "default"; 501b97ee269SEmmanuel Vadot pinctrl-0 = <&nor_flash_pins>; 502b97ee269SEmmanuel Vadot assigned-clocks = <&topckgen CLK_TOP_SFLASH_SEL>; 503b97ee269SEmmanuel Vadot assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6_D8>; 504b97ee269SEmmanuel Vadot 505b97ee269SEmmanuel Vadot flash@0 { 506b97ee269SEmmanuel Vadot compatible = "winbond,w25q64jwm", "jedec,spi-nor"; 507b97ee269SEmmanuel Vadot reg = <0>; 508b97ee269SEmmanuel Vadot spi-max-frequency = <52000000>; 509b97ee269SEmmanuel Vadot spi-rx-bus-width = <2>; 510b97ee269SEmmanuel Vadot spi-tx-bus-width = <2>; 511b97ee269SEmmanuel Vadot }; 512b97ee269SEmmanuel Vadot}; 513b97ee269SEmmanuel Vadot 514b97ee269SEmmanuel Vadot&pcie { 515b97ee269SEmmanuel Vadot pinctrl-names = "default"; 516b97ee269SEmmanuel Vadot pinctrl-0 = <&pcie_pins>; 517b97ee269SEmmanuel Vadot 518b97ee269SEmmanuel Vadot pcie0: pcie@0,0 { 519b97ee269SEmmanuel Vadot device_type = "pci"; 520b97ee269SEmmanuel Vadot reg = <0x0000 0 0 0 0>; 521b97ee269SEmmanuel Vadot num-lanes = <1>; 522b97ee269SEmmanuel Vadot bus-range = <0x1 0x1>; 523b97ee269SEmmanuel Vadot 524b97ee269SEmmanuel Vadot #address-cells = <3>; 525b97ee269SEmmanuel Vadot #size-cells = <2>; 526b97ee269SEmmanuel Vadot ranges; 527b97ee269SEmmanuel Vadot 528b97ee269SEmmanuel Vadot wifi: wifi@0,0 { 529b97ee269SEmmanuel Vadot reg = <0x10000 0 0 0 0x100000>, 530b97ee269SEmmanuel Vadot <0x10000 0 0x100000 0 0x100000>; 531b97ee269SEmmanuel Vadot memory-region = <&wifi_restricted_dma_region>; 532b97ee269SEmmanuel Vadot }; 533b97ee269SEmmanuel Vadot }; 534b97ee269SEmmanuel Vadot}; 535b97ee269SEmmanuel Vadot 536b97ee269SEmmanuel Vadot&pio { 537b97ee269SEmmanuel Vadot /* 220 lines */ 538b97ee269SEmmanuel Vadot gpio-line-names = "I2S_DP_LRCK", 539b97ee269SEmmanuel Vadot "IS_DP_BCLK", 540b97ee269SEmmanuel Vadot "I2S_DP_MCLK", 541b97ee269SEmmanuel Vadot "I2S_DP_DATAOUT", 542b97ee269SEmmanuel Vadot "SAR0_INT_ODL", 543b97ee269SEmmanuel Vadot "EC_AP_INT_ODL", 544b97ee269SEmmanuel Vadot "EDPBRDG_INT_ODL", 545b97ee269SEmmanuel Vadot "DPBRDG_INT_ODL", 546b97ee269SEmmanuel Vadot "DPBRDG_PWREN", 547b97ee269SEmmanuel Vadot "DPBRDG_RST_ODL", 548b97ee269SEmmanuel Vadot "I2S_HP_MCLK", 549b97ee269SEmmanuel Vadot "I2S_HP_BCK", 550b97ee269SEmmanuel Vadot "I2S_HP_LRCK", 551b97ee269SEmmanuel Vadot "I2S_HP_DATAIN", 552b97ee269SEmmanuel Vadot /* 553b97ee269SEmmanuel Vadot * AP_FLASH_WP_L is crossystem ABI. Schematics 554b97ee269SEmmanuel Vadot * call it AP_FLASH_WP_ODL. 555b97ee269SEmmanuel Vadot */ 556b97ee269SEmmanuel Vadot "AP_FLASH_WP_L", 557b97ee269SEmmanuel Vadot "TRACKPAD_INT_ODL", 558b97ee269SEmmanuel Vadot "EC_AP_HPD_OD", 559b97ee269SEmmanuel Vadot "SD_CD_ODL", 560b97ee269SEmmanuel Vadot "HP_INT_ODL_ALC", 561b97ee269SEmmanuel Vadot "EN_PP1000_DPBRDG", 562b97ee269SEmmanuel Vadot "AP_GPIO20", 563b97ee269SEmmanuel Vadot "TOUCH_INT_L_1V8", 564b97ee269SEmmanuel Vadot "UART_BT_WAKE_ODL", 565b97ee269SEmmanuel Vadot "AP_GPIO23", 566b97ee269SEmmanuel Vadot "AP_SPI_FLASH_CS_L", 567b97ee269SEmmanuel Vadot "AP_SPI_FLASH_CLK", 568b97ee269SEmmanuel Vadot "EN_PP3300_DPBRDG_DX", 569b97ee269SEmmanuel Vadot "AP_SPI_FLASH_MOSI", 570b97ee269SEmmanuel Vadot "AP_SPI_FLASH_MISO", 571b97ee269SEmmanuel Vadot "I2S_HP_DATAOUT", 572b97ee269SEmmanuel Vadot "AP_GPIO30", 573b97ee269SEmmanuel Vadot "I2S_SPKR_MCLK", 574b97ee269SEmmanuel Vadot "I2S_SPKR_BCLK", 575b97ee269SEmmanuel Vadot "I2S_SPKR_LRCK", 576b97ee269SEmmanuel Vadot "I2S_SPKR_DATAIN", 577b97ee269SEmmanuel Vadot "I2S_SPKR_DATAOUT", 578b97ee269SEmmanuel Vadot "AP_SPI_H1_TPM_CLK", 579b97ee269SEmmanuel Vadot "AP_SPI_H1_TPM_CS_L", 580b97ee269SEmmanuel Vadot "AP_SPI_H1_TPM_MISO", 581b97ee269SEmmanuel Vadot "AP_SPI_H1_TPM_MOSI", 582b97ee269SEmmanuel Vadot "BL_PWM", 583b97ee269SEmmanuel Vadot "EDPBRDG_PWREN", 584b97ee269SEmmanuel Vadot "EDPBRDG_RST_ODL", 585b97ee269SEmmanuel Vadot "EN_PP3300_HUB", 586b97ee269SEmmanuel Vadot "HUB_RST_L", 587b97ee269SEmmanuel Vadot "", 588b97ee269SEmmanuel Vadot "", 589b97ee269SEmmanuel Vadot "", 590b97ee269SEmmanuel Vadot "", 591b97ee269SEmmanuel Vadot "", 592b97ee269SEmmanuel Vadot "", 593b97ee269SEmmanuel Vadot "SD_CLK", 594b97ee269SEmmanuel Vadot "SD_CMD", 595b97ee269SEmmanuel Vadot "SD_DATA3", 596b97ee269SEmmanuel Vadot "SD_DATA0", 597b97ee269SEmmanuel Vadot "SD_DATA2", 598b97ee269SEmmanuel Vadot "SD_DATA1", 599b97ee269SEmmanuel Vadot "", 600b97ee269SEmmanuel Vadot "", 601b97ee269SEmmanuel Vadot "", 602b97ee269SEmmanuel Vadot "", 603b97ee269SEmmanuel Vadot "", 604b97ee269SEmmanuel Vadot "", 605b97ee269SEmmanuel Vadot "PCIE_WAKE_ODL", 606b97ee269SEmmanuel Vadot "PCIE_RST_L", 607b97ee269SEmmanuel Vadot "PCIE_CLKREQ_ODL", 608b97ee269SEmmanuel Vadot "", 609b97ee269SEmmanuel Vadot "", 610b97ee269SEmmanuel Vadot "", 611b97ee269SEmmanuel Vadot "", 612b97ee269SEmmanuel Vadot "", 613b97ee269SEmmanuel Vadot "", 614b97ee269SEmmanuel Vadot "", 615b97ee269SEmmanuel Vadot "", 616b97ee269SEmmanuel Vadot "", 617b97ee269SEmmanuel Vadot "", 618b97ee269SEmmanuel Vadot "", 619b97ee269SEmmanuel Vadot "", 620b97ee269SEmmanuel Vadot "", 621b97ee269SEmmanuel Vadot "", 622b97ee269SEmmanuel Vadot "", 623b97ee269SEmmanuel Vadot "", 624b97ee269SEmmanuel Vadot "", 625b97ee269SEmmanuel Vadot "", 626b97ee269SEmmanuel Vadot "", 627b97ee269SEmmanuel Vadot "", 628b97ee269SEmmanuel Vadot "", 629b97ee269SEmmanuel Vadot "", 630b97ee269SEmmanuel Vadot "", 631b97ee269SEmmanuel Vadot "SPMI_SCL", 632b97ee269SEmmanuel Vadot "SPMI_SDA", 633b97ee269SEmmanuel Vadot "AP_GOOD", 634b97ee269SEmmanuel Vadot "UART_DBG_TX_AP_RX", 635b97ee269SEmmanuel Vadot "UART_AP_TX_DBG_RX", 636b97ee269SEmmanuel Vadot "UART_AP_TX_BT_RX", 637b97ee269SEmmanuel Vadot "UART_BT_TX_AP_RX", 638b97ee269SEmmanuel Vadot "MIPI_DPI_D0_R", 639b97ee269SEmmanuel Vadot "MIPI_DPI_D1_R", 640b97ee269SEmmanuel Vadot "MIPI_DPI_D2_R", 641b97ee269SEmmanuel Vadot "MIPI_DPI_D3_R", 642b97ee269SEmmanuel Vadot "MIPI_DPI_D4_R", 643b97ee269SEmmanuel Vadot "MIPI_DPI_D5_R", 644b97ee269SEmmanuel Vadot "MIPI_DPI_D6_R", 645b97ee269SEmmanuel Vadot "MIPI_DPI_D7_R", 646b97ee269SEmmanuel Vadot "MIPI_DPI_D8_R", 647b97ee269SEmmanuel Vadot "MIPI_DPI_D9_R", 648b97ee269SEmmanuel Vadot "MIPI_DPI_D10_R", 649b97ee269SEmmanuel Vadot "", 650b97ee269SEmmanuel Vadot "", 651b97ee269SEmmanuel Vadot "MIPI_DPI_DE_R", 652b97ee269SEmmanuel Vadot "MIPI_DPI_D11_R", 653b97ee269SEmmanuel Vadot "MIPI_DPI_VSYNC_R", 654b97ee269SEmmanuel Vadot "MIPI_DPI_CLK_R", 655b97ee269SEmmanuel Vadot "MIPI_DPI_HSYNC_R", 656b97ee269SEmmanuel Vadot "PCM_BT_DATAIN", 657b97ee269SEmmanuel Vadot "PCM_BT_SYNC", 658b97ee269SEmmanuel Vadot "PCM_BT_DATAOUT", 659b97ee269SEmmanuel Vadot "PCM_BT_CLK", 660b97ee269SEmmanuel Vadot "AP_I2C_AUDIO_SCL", 661b97ee269SEmmanuel Vadot "AP_I2C_AUDIO_SDA", 662b97ee269SEmmanuel Vadot "SCP_I2C_SCL", 663b97ee269SEmmanuel Vadot "SCP_I2C_SDA", 664b97ee269SEmmanuel Vadot "AP_I2C_WLAN_SCL", 665b97ee269SEmmanuel Vadot "AP_I2C_WLAN_SDA", 666b97ee269SEmmanuel Vadot "AP_I2C_DPBRDG_SCL", 667b97ee269SEmmanuel Vadot "AP_I2C_DPBRDG_SDA", 668b97ee269SEmmanuel Vadot "EN_PP1800_DPBRDG_DX", 669b97ee269SEmmanuel Vadot "EN_PP3300_EDP_DX", 670b97ee269SEmmanuel Vadot "EN_PP1800_EDPBRDG_DX", 671b97ee269SEmmanuel Vadot "EN_PP1000_EDPBRDG", 672b97ee269SEmmanuel Vadot "SCP_JTAG0_TDO", 673b97ee269SEmmanuel Vadot "SCP_JTAG0_TDI", 674b97ee269SEmmanuel Vadot "SCP_JTAG0_TMS", 675b97ee269SEmmanuel Vadot "SCP_JTAG0_TCK", 676b97ee269SEmmanuel Vadot "SCP_JTAG0_TRSTN", 677b97ee269SEmmanuel Vadot "EN_PP3000_VMC_PMU", 678b97ee269SEmmanuel Vadot "EN_PP3300_DISPLAY_DX", 679b97ee269SEmmanuel Vadot "TOUCH_RST_L_1V8", 680b97ee269SEmmanuel Vadot "TOUCH_REPORT_DISABLE", 681b97ee269SEmmanuel Vadot "", 682b97ee269SEmmanuel Vadot "", 683b97ee269SEmmanuel Vadot "AP_I2C_TRACKPAD_SCL_1V8", 684b97ee269SEmmanuel Vadot "AP_I2C_TRACKPAD_SDA_1V8", 685b97ee269SEmmanuel Vadot "EN_PP3300_WLAN", 686b97ee269SEmmanuel Vadot "BT_KILL_L", 687b97ee269SEmmanuel Vadot "WIFI_KILL_L", 688b97ee269SEmmanuel Vadot "SET_VMC_VOLT_AT_1V8", 689b97ee269SEmmanuel Vadot "EN_SPK", 690b97ee269SEmmanuel Vadot "AP_WARM_RST_REQ", 691b97ee269SEmmanuel Vadot "", 692b97ee269SEmmanuel Vadot "", 693b97ee269SEmmanuel Vadot "EN_PP3000_SD_S3", 694b97ee269SEmmanuel Vadot "AP_EDP_BKLTEN", 695b97ee269SEmmanuel Vadot "", 696b97ee269SEmmanuel Vadot "", 697b97ee269SEmmanuel Vadot "", 698b97ee269SEmmanuel Vadot "AP_SPI_EC_CLK", 699b97ee269SEmmanuel Vadot "AP_SPI_EC_CS_L", 700b97ee269SEmmanuel Vadot "AP_SPI_EC_MISO", 701b97ee269SEmmanuel Vadot "AP_SPI_EC_MOSI", 702b97ee269SEmmanuel Vadot "AP_I2C_EDPBRDG_SCL", 703b97ee269SEmmanuel Vadot "AP_I2C_EDPBRDG_SDA", 704b97ee269SEmmanuel Vadot "MT6315_PROC_INT", 705b97ee269SEmmanuel Vadot "MT6315_GPU_INT", 706b97ee269SEmmanuel Vadot "UART_SERVO_TX_SCP_RX", 707b97ee269SEmmanuel Vadot "UART_SCP_TX_SERVO_RX", 708b97ee269SEmmanuel Vadot "BT_RTS_AP_CTS", 709b97ee269SEmmanuel Vadot "AP_RTS_BT_CTS", 710b97ee269SEmmanuel Vadot "UART_AP_WAKE_BT_ODL", 711b97ee269SEmmanuel Vadot "WLAN_ALERT_ODL", 712b97ee269SEmmanuel Vadot "EC_IN_RW_ODL", 713b97ee269SEmmanuel Vadot "H1_AP_INT_ODL", 714b97ee269SEmmanuel Vadot "", 715b97ee269SEmmanuel Vadot "", 716b97ee269SEmmanuel Vadot "", 717b97ee269SEmmanuel Vadot "", 718b97ee269SEmmanuel Vadot "", 719b97ee269SEmmanuel Vadot "", 720b97ee269SEmmanuel Vadot "", 721b97ee269SEmmanuel Vadot "", 722b97ee269SEmmanuel Vadot "", 723b97ee269SEmmanuel Vadot "", 724b97ee269SEmmanuel Vadot "", 725b97ee269SEmmanuel Vadot "MSDC0_CMD", 726b97ee269SEmmanuel Vadot "MSDC0_DAT0", 727b97ee269SEmmanuel Vadot "MSDC0_DAT2", 728b97ee269SEmmanuel Vadot "MSDC0_DAT4", 729b97ee269SEmmanuel Vadot "MSDC0_DAT6", 730b97ee269SEmmanuel Vadot "MSDC0_DAT1", 731b97ee269SEmmanuel Vadot "MSDC0_DAT5", 732b97ee269SEmmanuel Vadot "MSDC0_DAT7", 733b97ee269SEmmanuel Vadot "MSDC0_DSL", 734b97ee269SEmmanuel Vadot "MSDC0_CLK", 735b97ee269SEmmanuel Vadot "MSDC0_DAT3", 736b97ee269SEmmanuel Vadot "MSDC0_RST_L", 737b97ee269SEmmanuel Vadot "SCP_VREQ_VAO", 738b97ee269SEmmanuel Vadot "AUD_DAT_MOSI2", 739b97ee269SEmmanuel Vadot "AUD_NLE_MOSI1", 740b97ee269SEmmanuel Vadot "AUD_NLE_MOSI0", 741b97ee269SEmmanuel Vadot "AUD_DAT_MISO2", 742b97ee269SEmmanuel Vadot "AP_I2C_SAR_SDA", 743b97ee269SEmmanuel Vadot "AP_I2C_SAR_SCL", 744b97ee269SEmmanuel Vadot "AP_I2C_PWR_SCL", 745b97ee269SEmmanuel Vadot "AP_I2C_PWR_SDA", 746b97ee269SEmmanuel Vadot "AP_I2C_TS_SCL_1V8", 747b97ee269SEmmanuel Vadot "AP_I2C_TS_SDA_1V8", 748b97ee269SEmmanuel Vadot "SRCLKENA0", 749b97ee269SEmmanuel Vadot "SRCLKENA1", 750b97ee269SEmmanuel Vadot "AP_EC_WATCHDOG_L", 751b97ee269SEmmanuel Vadot "PWRAP_SPI0_MI", 752b97ee269SEmmanuel Vadot "PWRAP_SPI0_CSN", 753b97ee269SEmmanuel Vadot "PWRAP_SPI0_MO", 754b97ee269SEmmanuel Vadot "PWRAP_SPI0_CK", 755b97ee269SEmmanuel Vadot "AP_RTC_CLK32K", 756b97ee269SEmmanuel Vadot "AUD_CLK_MOSI", 757b97ee269SEmmanuel Vadot "AUD_SYNC_MOSI", 758b97ee269SEmmanuel Vadot "AUD_DAT_MOSI0", 759b97ee269SEmmanuel Vadot "AUD_DAT_MOSI1", 760b97ee269SEmmanuel Vadot "AUD_DAT_MISO0", 761b97ee269SEmmanuel Vadot "AUD_DAT_MISO1"; 762b97ee269SEmmanuel Vadot 763cb7aa33aSEmmanuel Vadot anx7625_pins: anx7625-default-pins { 764cb7aa33aSEmmanuel Vadot pins-out { 765cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO41__FUNC_GPIO41>, 766cb7aa33aSEmmanuel Vadot <PINMUX_GPIO42__FUNC_GPIO42>; 767cb7aa33aSEmmanuel Vadot output-low; 768cb7aa33aSEmmanuel Vadot }; 769cb7aa33aSEmmanuel Vadot 770cb7aa33aSEmmanuel Vadot pins-in { 771cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO6__FUNC_GPIO6>; 772cb7aa33aSEmmanuel Vadot input-enable; 773cb7aa33aSEmmanuel Vadot bias-pull-up; 774cb7aa33aSEmmanuel Vadot }; 775cb7aa33aSEmmanuel Vadot }; 776cb7aa33aSEmmanuel Vadot 777cb7aa33aSEmmanuel Vadot aud_clk_mosi_off_pins: aud-clk-mosi-off-pins { 778cb7aa33aSEmmanuel Vadot pins-mosi-off { 779cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO214__FUNC_GPIO214>, 780cb7aa33aSEmmanuel Vadot <PINMUX_GPIO215__FUNC_GPIO215>; 781cb7aa33aSEmmanuel Vadot }; 782cb7aa33aSEmmanuel Vadot }; 783cb7aa33aSEmmanuel Vadot 784cb7aa33aSEmmanuel Vadot aud_clk_mosi_on_pins: aud-clk-mosi-on-pins { 785cb7aa33aSEmmanuel Vadot pins-mosi-on { 786cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO214__FUNC_AUD_CLK_MOSI>, 787cb7aa33aSEmmanuel Vadot <PINMUX_GPIO215__FUNC_AUD_SYNC_MOSI>; 788cb7aa33aSEmmanuel Vadot drive-strength = <10>; 789cb7aa33aSEmmanuel Vadot }; 790cb7aa33aSEmmanuel Vadot }; 791cb7aa33aSEmmanuel Vadot 792cb7aa33aSEmmanuel Vadot aud_dat_miso_ch34_off_pins: aud-dat-miso-ch34-off-pins { 793cb7aa33aSEmmanuel Vadot pins-miso-off { 794cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO199__FUNC_GPIO199>; 795cb7aa33aSEmmanuel Vadot }; 796cb7aa33aSEmmanuel Vadot }; 797cb7aa33aSEmmanuel Vadot 798cb7aa33aSEmmanuel Vadot aud_dat_miso_ch34_on_pins: aud-dat-miso-ch34-on-pins { 799cb7aa33aSEmmanuel Vadot pins-miso-on { 800cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO199__FUNC_AUD_DAT_MISO2>; 801cb7aa33aSEmmanuel Vadot }; 802cb7aa33aSEmmanuel Vadot }; 803cb7aa33aSEmmanuel Vadot 804cb7aa33aSEmmanuel Vadot aud_dat_miso_off_pins: aud-dat-miso-off-pins { 805cb7aa33aSEmmanuel Vadot pins-miso-off { 806cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO218__FUNC_GPIO218>, 807cb7aa33aSEmmanuel Vadot <PINMUX_GPIO219__FUNC_GPIO219>; 808cb7aa33aSEmmanuel Vadot }; 809cb7aa33aSEmmanuel Vadot }; 810cb7aa33aSEmmanuel Vadot 811cb7aa33aSEmmanuel Vadot aud_dat_miso_on_pins: aud-dat-miso-on-pins { 812cb7aa33aSEmmanuel Vadot pins-miso-on { 813cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO218__FUNC_AUD_DAT_MISO0>, 814cb7aa33aSEmmanuel Vadot <PINMUX_GPIO219__FUNC_AUD_DAT_MISO1>; 815cb7aa33aSEmmanuel Vadot drive-strength = <10>; 816cb7aa33aSEmmanuel Vadot }; 817cb7aa33aSEmmanuel Vadot }; 818cb7aa33aSEmmanuel Vadot 819cb7aa33aSEmmanuel Vadot aud_dat_miso2_off_pins: aud-dat-miso2-off-pins { 820cb7aa33aSEmmanuel Vadot pins-miso-off { 821cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO199__FUNC_GPIO199>; 822cb7aa33aSEmmanuel Vadot }; 823cb7aa33aSEmmanuel Vadot }; 824cb7aa33aSEmmanuel Vadot 825cb7aa33aSEmmanuel Vadot aud_dat_miso2_on_pins: aud-dat-miso2-on-pins { 826cb7aa33aSEmmanuel Vadot pins-miso-on { 827cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO199__FUNC_AUD_DAT_MISO2>; 828cb7aa33aSEmmanuel Vadot }; 829cb7aa33aSEmmanuel Vadot }; 830cb7aa33aSEmmanuel Vadot 831cb7aa33aSEmmanuel Vadot aud_dat_mosi_ch34_off_pins: aud-dat-mosi-ch34-off-pins { 832cb7aa33aSEmmanuel Vadot pins-mosi-off { 833cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO196__FUNC_GPIO196>; 834cb7aa33aSEmmanuel Vadot }; 835cb7aa33aSEmmanuel Vadot }; 836cb7aa33aSEmmanuel Vadot 837cb7aa33aSEmmanuel Vadot aud_dat_mosi_ch34_on_pins: aud-dat-mosi-ch34-on-pins { 838cb7aa33aSEmmanuel Vadot pins-mosi-on { 839cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO196__FUNC_AUD_DAT_MOSI2>; 840cb7aa33aSEmmanuel Vadot }; 841cb7aa33aSEmmanuel Vadot }; 842cb7aa33aSEmmanuel Vadot 843cb7aa33aSEmmanuel Vadot aud_dat_mosi_off_pins: aud-dat-mosi-off-pins { 844cb7aa33aSEmmanuel Vadot pins-mosi-off { 845cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO216__FUNC_GPIO216>, 846cb7aa33aSEmmanuel Vadot <PINMUX_GPIO217__FUNC_GPIO217>; 847cb7aa33aSEmmanuel Vadot }; 848cb7aa33aSEmmanuel Vadot }; 849cb7aa33aSEmmanuel Vadot 850cb7aa33aSEmmanuel Vadot aud_dat_mosi_on_pins: aud-dat-mosi-on-pins { 851cb7aa33aSEmmanuel Vadot pins-mosi-on { 852cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO216__FUNC_AUD_DAT_MOSI0>, 853cb7aa33aSEmmanuel Vadot <PINMUX_GPIO217__FUNC_AUD_DAT_MOSI1>; 854cb7aa33aSEmmanuel Vadot drive-strength = <10>; 855cb7aa33aSEmmanuel Vadot }; 856cb7aa33aSEmmanuel Vadot }; 857cb7aa33aSEmmanuel Vadot 858cb7aa33aSEmmanuel Vadot aud_gpio_i2s3_off_pins: aud-gpio-i2s3-off-pins { 859cb7aa33aSEmmanuel Vadot pins-i2s3-off { 860cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO32__FUNC_GPIO32>, 861cb7aa33aSEmmanuel Vadot <PINMUX_GPIO33__FUNC_GPIO33>, 862cb7aa33aSEmmanuel Vadot <PINMUX_GPIO35__FUNC_GPIO35>; 863cb7aa33aSEmmanuel Vadot }; 864cb7aa33aSEmmanuel Vadot }; 865cb7aa33aSEmmanuel Vadot 866cb7aa33aSEmmanuel Vadot aud_gpio_i2s3_on_pins: aud-gpio-i2s3-on-pins { 867cb7aa33aSEmmanuel Vadot pins-i2s3-on { 868cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO32__FUNC_I2S3_BCK>, 869cb7aa33aSEmmanuel Vadot <PINMUX_GPIO33__FUNC_I2S3_LRCK>, 870cb7aa33aSEmmanuel Vadot <PINMUX_GPIO35__FUNC_I2S3_DO>; 871cb7aa33aSEmmanuel Vadot }; 872cb7aa33aSEmmanuel Vadot }; 873cb7aa33aSEmmanuel Vadot 874cb7aa33aSEmmanuel Vadot aud_gpio_i2s8_off_pins: aud-gpio-i2s8-off-pins { 875cb7aa33aSEmmanuel Vadot pins-i2s8-off { 876cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO10__FUNC_GPIO10>, 877cb7aa33aSEmmanuel Vadot <PINMUX_GPIO11__FUNC_GPIO11>, 878cb7aa33aSEmmanuel Vadot <PINMUX_GPIO12__FUNC_GPIO12>, 879cb7aa33aSEmmanuel Vadot <PINMUX_GPIO13__FUNC_GPIO13>; 880cb7aa33aSEmmanuel Vadot }; 881cb7aa33aSEmmanuel Vadot }; 882cb7aa33aSEmmanuel Vadot 883cb7aa33aSEmmanuel Vadot aud_gpio_i2s8_on_pins: aud-gpio-i2s8-on-pins { 884cb7aa33aSEmmanuel Vadot pins-i2s8-on { 885cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO10__FUNC_I2S8_MCK>, 886cb7aa33aSEmmanuel Vadot <PINMUX_GPIO11__FUNC_I2S8_BCK>, 887cb7aa33aSEmmanuel Vadot <PINMUX_GPIO12__FUNC_I2S8_LRCK>, 888cb7aa33aSEmmanuel Vadot <PINMUX_GPIO13__FUNC_I2S8_DI>; 889cb7aa33aSEmmanuel Vadot }; 890cb7aa33aSEmmanuel Vadot }; 891cb7aa33aSEmmanuel Vadot 892cb7aa33aSEmmanuel Vadot aud_gpio_i2s9_off_pins: aud-gpio-i2s9-off-pins { 893cb7aa33aSEmmanuel Vadot pins-i2s9-off { 894cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO29__FUNC_GPIO29>; 895cb7aa33aSEmmanuel Vadot }; 896cb7aa33aSEmmanuel Vadot }; 897cb7aa33aSEmmanuel Vadot 898cb7aa33aSEmmanuel Vadot aud_gpio_i2s9_on_pins: aud-gpio-i2s9-on-pins { 899cb7aa33aSEmmanuel Vadot pins-i2s9-on { 900cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO29__FUNC_I2S9_DO>; 901cb7aa33aSEmmanuel Vadot }; 902cb7aa33aSEmmanuel Vadot }; 903cb7aa33aSEmmanuel Vadot 904cb7aa33aSEmmanuel Vadot aud_gpio_tdm_off_pins: aud-gpio-tdm-off-pins { 905cb7aa33aSEmmanuel Vadot pins-tdm-off { 906cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO0__FUNC_GPIO0>, 907cb7aa33aSEmmanuel Vadot <PINMUX_GPIO1__FUNC_GPIO1>, 908cb7aa33aSEmmanuel Vadot <PINMUX_GPIO2__FUNC_GPIO2>, 909cb7aa33aSEmmanuel Vadot <PINMUX_GPIO3__FUNC_GPIO3>; 910cb7aa33aSEmmanuel Vadot }; 911cb7aa33aSEmmanuel Vadot }; 912cb7aa33aSEmmanuel Vadot 913cb7aa33aSEmmanuel Vadot aud_gpio_tdm_on_pins: aud-gpio-tdm-on-pins { 914cb7aa33aSEmmanuel Vadot pins-tdm-on { 915cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO0__FUNC_TDM_LRCK>, 916cb7aa33aSEmmanuel Vadot <PINMUX_GPIO1__FUNC_TDM_BCK>, 917cb7aa33aSEmmanuel Vadot <PINMUX_GPIO2__FUNC_TDM_MCK>, 918cb7aa33aSEmmanuel Vadot <PINMUX_GPIO3__FUNC_TDM_DATA0>; 919cb7aa33aSEmmanuel Vadot }; 920cb7aa33aSEmmanuel Vadot }; 921cb7aa33aSEmmanuel Vadot 922cb7aa33aSEmmanuel Vadot aud_nle_mosi_off_pins: aud-nle-mosi-off-pins { 923cb7aa33aSEmmanuel Vadot pins-nle-mosi-off { 924cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO197__FUNC_GPIO197>, 925cb7aa33aSEmmanuel Vadot <PINMUX_GPIO198__FUNC_GPIO198>; 926cb7aa33aSEmmanuel Vadot }; 927cb7aa33aSEmmanuel Vadot }; 928cb7aa33aSEmmanuel Vadot 929cb7aa33aSEmmanuel Vadot aud_nle_mosi_on_pins: aud-nle-mosi-on-pins { 930cb7aa33aSEmmanuel Vadot pins-nle-mosi-on { 931cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO197__FUNC_AUD_NLE_MOSI1>, 932cb7aa33aSEmmanuel Vadot <PINMUX_GPIO198__FUNC_AUD_NLE_MOSI0>; 933cb7aa33aSEmmanuel Vadot }; 934cb7aa33aSEmmanuel Vadot }; 935cb7aa33aSEmmanuel Vadot 936b97ee269SEmmanuel Vadot cr50_int: cr50-irq-default-pins { 937b97ee269SEmmanuel Vadot pins-gsc-ap-int-odl { 938b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO171__FUNC_GPIO171>; 939b97ee269SEmmanuel Vadot input-enable; 940b97ee269SEmmanuel Vadot }; 941b97ee269SEmmanuel Vadot }; 942b97ee269SEmmanuel Vadot 943b97ee269SEmmanuel Vadot cros_ec_int: cros-ec-irq-default-pins { 944b97ee269SEmmanuel Vadot pins-ec-ap-int-odl { 945b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO5__FUNC_GPIO5>; 946b97ee269SEmmanuel Vadot input-enable; 947b97ee269SEmmanuel Vadot bias-pull-up; 948b97ee269SEmmanuel Vadot }; 949b97ee269SEmmanuel Vadot }; 950b97ee269SEmmanuel Vadot 951b97ee269SEmmanuel Vadot i2c0_pins: i2c0-default-pins { 952b97ee269SEmmanuel Vadot pins-bus { 953b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO204__FUNC_SCL0>, 954b97ee269SEmmanuel Vadot <PINMUX_GPIO205__FUNC_SDA0>; 955b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PULL_SET_RSEL_011>; 956b97ee269SEmmanuel Vadot drive-strength-microamp = <1000>; 957b97ee269SEmmanuel Vadot }; 958b97ee269SEmmanuel Vadot }; 959b97ee269SEmmanuel Vadot 960b97ee269SEmmanuel Vadot i2c1_pins: i2c1-default-pins { 961b97ee269SEmmanuel Vadot pins-bus { 962b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO118__FUNC_SCL1>, 963b97ee269SEmmanuel Vadot <PINMUX_GPIO119__FUNC_SDA1>; 964b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PULL_SET_RSEL_011>; 965b97ee269SEmmanuel Vadot drive-strength-microamp = <1000>; 966b97ee269SEmmanuel Vadot }; 967b97ee269SEmmanuel Vadot }; 968b97ee269SEmmanuel Vadot 969b97ee269SEmmanuel Vadot i2c2_pins: i2c2-default-pins { 970b97ee269SEmmanuel Vadot pins-bus { 971b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO141__FUNC_SCL2>, 972b97ee269SEmmanuel Vadot <PINMUX_GPIO142__FUNC_SDA2>; 973b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PULL_SET_RSEL_011>; 974b97ee269SEmmanuel Vadot }; 975b97ee269SEmmanuel Vadot }; 976b97ee269SEmmanuel Vadot 977b97ee269SEmmanuel Vadot i2c3_pins: i2c3-default-pins { 978b97ee269SEmmanuel Vadot pins-bus { 979b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO160__FUNC_SCL3>, 980b97ee269SEmmanuel Vadot <PINMUX_GPIO161__FUNC_SDA3>; 981b97ee269SEmmanuel Vadot bias-disable; 982b97ee269SEmmanuel Vadot drive-strength-microamp = <1000>; 983b97ee269SEmmanuel Vadot }; 984b97ee269SEmmanuel Vadot }; 985b97ee269SEmmanuel Vadot 986b97ee269SEmmanuel Vadot i2c7_pins: i2c7-default-pins { 987b97ee269SEmmanuel Vadot pins-bus { 988b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO124__FUNC_SCL7>, 989b97ee269SEmmanuel Vadot <PINMUX_GPIO125__FUNC_SDA7>; 990b97ee269SEmmanuel Vadot bias-disable; 991b97ee269SEmmanuel Vadot drive-strength-microamp = <1000>; 992b97ee269SEmmanuel Vadot }; 993b97ee269SEmmanuel Vadot }; 994b97ee269SEmmanuel Vadot 995b97ee269SEmmanuel Vadot mmc0_default_pins: mmc0-default-pins { 996b97ee269SEmmanuel Vadot pins-cmd-dat { 997b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO184__FUNC_MSDC0_DAT0>, 998b97ee269SEmmanuel Vadot <PINMUX_GPIO188__FUNC_MSDC0_DAT1>, 999b97ee269SEmmanuel Vadot <PINMUX_GPIO185__FUNC_MSDC0_DAT2>, 1000b97ee269SEmmanuel Vadot <PINMUX_GPIO193__FUNC_MSDC0_DAT3>, 1001b97ee269SEmmanuel Vadot <PINMUX_GPIO186__FUNC_MSDC0_DAT4>, 1002b97ee269SEmmanuel Vadot <PINMUX_GPIO189__FUNC_MSDC0_DAT5>, 1003b97ee269SEmmanuel Vadot <PINMUX_GPIO187__FUNC_MSDC0_DAT6>, 1004b97ee269SEmmanuel Vadot <PINMUX_GPIO190__FUNC_MSDC0_DAT7>, 1005b97ee269SEmmanuel Vadot <PINMUX_GPIO183__FUNC_MSDC0_CMD>; 1006b97ee269SEmmanuel Vadot input-enable; 1007b97ee269SEmmanuel Vadot drive-strength = <8>; 1008b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PUPD_SET_R1R0_01>; 1009b97ee269SEmmanuel Vadot }; 1010b97ee269SEmmanuel Vadot 1011b97ee269SEmmanuel Vadot pins-clk { 1012b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO192__FUNC_MSDC0_CLK>; 1013b97ee269SEmmanuel Vadot drive-strength = <8>; 1014b97ee269SEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 1015b97ee269SEmmanuel Vadot }; 1016b97ee269SEmmanuel Vadot 1017b97ee269SEmmanuel Vadot pins-rst { 1018b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO194__FUNC_MSDC0_RSTB>; 1019b97ee269SEmmanuel Vadot drive-strength = <8>; 1020b97ee269SEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_01>; 1021b97ee269SEmmanuel Vadot }; 1022b97ee269SEmmanuel Vadot }; 1023b97ee269SEmmanuel Vadot 1024b97ee269SEmmanuel Vadot mmc0_uhs_pins: mmc0-uhs-pins { 1025b97ee269SEmmanuel Vadot pins-cmd-dat { 1026b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO184__FUNC_MSDC0_DAT0>, 1027b97ee269SEmmanuel Vadot <PINMUX_GPIO188__FUNC_MSDC0_DAT1>, 1028b97ee269SEmmanuel Vadot <PINMUX_GPIO185__FUNC_MSDC0_DAT2>, 1029b97ee269SEmmanuel Vadot <PINMUX_GPIO193__FUNC_MSDC0_DAT3>, 1030b97ee269SEmmanuel Vadot <PINMUX_GPIO186__FUNC_MSDC0_DAT4>, 1031b97ee269SEmmanuel Vadot <PINMUX_GPIO189__FUNC_MSDC0_DAT5>, 1032b97ee269SEmmanuel Vadot <PINMUX_GPIO187__FUNC_MSDC0_DAT6>, 1033b97ee269SEmmanuel Vadot <PINMUX_GPIO190__FUNC_MSDC0_DAT7>, 1034b97ee269SEmmanuel Vadot <PINMUX_GPIO183__FUNC_MSDC0_CMD>; 1035b97ee269SEmmanuel Vadot input-enable; 1036b97ee269SEmmanuel Vadot drive-strength = <10>; 1037b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PUPD_SET_R1R0_01>; 1038b97ee269SEmmanuel Vadot }; 1039b97ee269SEmmanuel Vadot 1040b97ee269SEmmanuel Vadot pins-clk { 1041b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO192__FUNC_MSDC0_CLK>; 1042b97ee269SEmmanuel Vadot drive-strength = <10>; 1043b97ee269SEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 1044b97ee269SEmmanuel Vadot }; 1045b97ee269SEmmanuel Vadot 1046b97ee269SEmmanuel Vadot pins-rst { 1047b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO194__FUNC_MSDC0_RSTB>; 1048b97ee269SEmmanuel Vadot drive-strength = <8>; 1049b97ee269SEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_01>; 1050b97ee269SEmmanuel Vadot }; 1051b97ee269SEmmanuel Vadot 1052b97ee269SEmmanuel Vadot pins-ds { 1053b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO191__FUNC_MSDC0_DSL>; 1054b97ee269SEmmanuel Vadot drive-strength = <10>; 1055b97ee269SEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 1056b97ee269SEmmanuel Vadot }; 1057b97ee269SEmmanuel Vadot }; 1058b97ee269SEmmanuel Vadot 1059b97ee269SEmmanuel Vadot mmc1_default_pins: mmc1-default-pins { 1060b97ee269SEmmanuel Vadot pins-cmd-dat { 1061b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO54__FUNC_MSDC1_DAT0>, 1062b97ee269SEmmanuel Vadot <PINMUX_GPIO56__FUNC_MSDC1_DAT1>, 1063b97ee269SEmmanuel Vadot <PINMUX_GPIO55__FUNC_MSDC1_DAT2>, 1064b97ee269SEmmanuel Vadot <PINMUX_GPIO53__FUNC_MSDC1_DAT3>, 1065b97ee269SEmmanuel Vadot <PINMUX_GPIO52__FUNC_MSDC1_CMD>; 1066b97ee269SEmmanuel Vadot input-enable; 1067b97ee269SEmmanuel Vadot drive-strength = <8>; 1068b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PUPD_SET_R1R0_01>; 1069b97ee269SEmmanuel Vadot }; 1070b97ee269SEmmanuel Vadot 1071b97ee269SEmmanuel Vadot pins-clk { 1072b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO51__FUNC_MSDC1_CLK>; 1073b97ee269SEmmanuel Vadot drive-strength = <8>; 1074b97ee269SEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 1075b97ee269SEmmanuel Vadot }; 1076b97ee269SEmmanuel Vadot 1077b97ee269SEmmanuel Vadot pins-insert { 1078b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO17__FUNC_GPIO17>; 1079b97ee269SEmmanuel Vadot input-enable; 1080b97ee269SEmmanuel Vadot bias-pull-up; 1081b97ee269SEmmanuel Vadot }; 1082b97ee269SEmmanuel Vadot }; 1083b97ee269SEmmanuel Vadot 1084b97ee269SEmmanuel Vadot mmc1_uhs_pins: mmc1-uhs-pins { 1085b97ee269SEmmanuel Vadot pins-cmd-dat { 1086b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO54__FUNC_MSDC1_DAT0>, 1087b97ee269SEmmanuel Vadot <PINMUX_GPIO56__FUNC_MSDC1_DAT1>, 1088b97ee269SEmmanuel Vadot <PINMUX_GPIO55__FUNC_MSDC1_DAT2>, 1089b97ee269SEmmanuel Vadot <PINMUX_GPIO53__FUNC_MSDC1_DAT3>, 1090b97ee269SEmmanuel Vadot <PINMUX_GPIO52__FUNC_MSDC1_CMD>; 1091b97ee269SEmmanuel Vadot input-enable; 1092b97ee269SEmmanuel Vadot drive-strength = <8>; 1093b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PUPD_SET_R1R0_01>; 1094b97ee269SEmmanuel Vadot }; 1095b97ee269SEmmanuel Vadot 1096b97ee269SEmmanuel Vadot pins-clk { 1097b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO51__FUNC_MSDC1_CLK>; 1098b97ee269SEmmanuel Vadot input-enable; 1099b97ee269SEmmanuel Vadot drive-strength = <8>; 1100b97ee269SEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 1101b97ee269SEmmanuel Vadot }; 1102b97ee269SEmmanuel Vadot }; 1103b97ee269SEmmanuel Vadot 1104b97ee269SEmmanuel Vadot nor_flash_pins: nor-flash-default-pins { 1105b97ee269SEmmanuel Vadot pins-cs-io1 { 1106b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO24__FUNC_SPINOR_CS>, 1107b97ee269SEmmanuel Vadot <PINMUX_GPIO28__FUNC_SPINOR_IO1>; 1108b97ee269SEmmanuel Vadot input-enable; 1109b97ee269SEmmanuel Vadot bias-pull-up; 1110b97ee269SEmmanuel Vadot drive-strength = <10>; 1111b97ee269SEmmanuel Vadot }; 1112b97ee269SEmmanuel Vadot 1113b97ee269SEmmanuel Vadot pins-io0 { 1114b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO27__FUNC_SPINOR_IO0>; 1115b97ee269SEmmanuel Vadot bias-pull-up; 1116b97ee269SEmmanuel Vadot drive-strength = <10>; 1117b97ee269SEmmanuel Vadot }; 1118b97ee269SEmmanuel Vadot 1119b97ee269SEmmanuel Vadot pins-clk { 1120b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO25__FUNC_SPINOR_CK>; 1121b97ee269SEmmanuel Vadot input-enable; 1122b97ee269SEmmanuel Vadot bias-pull-up; 1123b97ee269SEmmanuel Vadot drive-strength = <10>; 1124b97ee269SEmmanuel Vadot }; 1125b97ee269SEmmanuel Vadot }; 1126b97ee269SEmmanuel Vadot 1127b97ee269SEmmanuel Vadot pcie_pins: pcie-default-pins { 1128b97ee269SEmmanuel Vadot pins-pcie-wake { 1129b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO63__FUNC_PCIE_WAKE_N>; 1130b97ee269SEmmanuel Vadot bias-pull-up; 1131b97ee269SEmmanuel Vadot }; 1132b97ee269SEmmanuel Vadot 1133b97ee269SEmmanuel Vadot pins-pcie-pereset { 1134b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO64__FUNC_PCIE_PERESET_N>; 1135b97ee269SEmmanuel Vadot }; 1136b97ee269SEmmanuel Vadot 1137b97ee269SEmmanuel Vadot pins-pcie-clkreq { 1138b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO65__FUNC_PCIE_CLKREQ_N>; 1139b97ee269SEmmanuel Vadot bias-pull-up; 1140b97ee269SEmmanuel Vadot }; 1141b97ee269SEmmanuel Vadot 1142b97ee269SEmmanuel Vadot pins-wifi-kill { 1143b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO145__FUNC_GPIO145>; /* WIFI_KILL_L */ 1144b97ee269SEmmanuel Vadot output-high; 1145b97ee269SEmmanuel Vadot }; 1146b97ee269SEmmanuel Vadot }; 1147b97ee269SEmmanuel Vadot 1148cb7aa33aSEmmanuel Vadot pp1000_dpbrdg_en_pins: pp1000-dpbrdg-en-pins { 1149cb7aa33aSEmmanuel Vadot pins-en { 1150cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO19__FUNC_GPIO19>; 1151cb7aa33aSEmmanuel Vadot output-low; 1152cb7aa33aSEmmanuel Vadot }; 1153cb7aa33aSEmmanuel Vadot }; 1154cb7aa33aSEmmanuel Vadot 1155cb7aa33aSEmmanuel Vadot pp1000_mipibrdg_en_pins: pp1000-mipibrdg-en-pins { 1156cb7aa33aSEmmanuel Vadot pins-en { 1157cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO129__FUNC_GPIO129>; 1158cb7aa33aSEmmanuel Vadot output-low; 1159cb7aa33aSEmmanuel Vadot }; 1160cb7aa33aSEmmanuel Vadot }; 1161cb7aa33aSEmmanuel Vadot 1162cb7aa33aSEmmanuel Vadot pp1800_dpbrdg_en_pins: pp1800-dpbrdg-en-pins { 1163cb7aa33aSEmmanuel Vadot pins-en { 1164cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO126__FUNC_GPIO126>; 1165cb7aa33aSEmmanuel Vadot output-low; 1166cb7aa33aSEmmanuel Vadot }; 1167cb7aa33aSEmmanuel Vadot }; 1168cb7aa33aSEmmanuel Vadot 1169cb7aa33aSEmmanuel Vadot pp1800_mipibrdg_en_pins: pp1800-mipibrd-en-pins { 1170cb7aa33aSEmmanuel Vadot pins-en { 1171cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO128__FUNC_GPIO128>; 1172cb7aa33aSEmmanuel Vadot output-low; 1173cb7aa33aSEmmanuel Vadot }; 1174cb7aa33aSEmmanuel Vadot }; 1175cb7aa33aSEmmanuel Vadot 1176cb7aa33aSEmmanuel Vadot pp3300_dpbrdg_en_pins: pp3300-dpbrdg-en-pins { 1177cb7aa33aSEmmanuel Vadot pins-en { 1178cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO26__FUNC_GPIO26>; 1179cb7aa33aSEmmanuel Vadot output-low; 1180cb7aa33aSEmmanuel Vadot }; 1181cb7aa33aSEmmanuel Vadot }; 1182cb7aa33aSEmmanuel Vadot 1183cb7aa33aSEmmanuel Vadot pp3300_mipibrdg_en_pins: pp3300-mipibrdg-en-pins { 1184cb7aa33aSEmmanuel Vadot pins-en { 1185cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO127__FUNC_GPIO127>; 1186cb7aa33aSEmmanuel Vadot output-low; 1187cb7aa33aSEmmanuel Vadot }; 1188cb7aa33aSEmmanuel Vadot }; 1189cb7aa33aSEmmanuel Vadot 1190b97ee269SEmmanuel Vadot pp3300_wlan_pins: pp3300-wlan-pins { 1191b97ee269SEmmanuel Vadot pins-pcie-en-pp3300-wlan { 1192b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO143__FUNC_GPIO143>; 1193b97ee269SEmmanuel Vadot output-high; 1194b97ee269SEmmanuel Vadot }; 1195b97ee269SEmmanuel Vadot }; 1196b97ee269SEmmanuel Vadot 1197cb7aa33aSEmmanuel Vadot pwm0_pins: pwm0-default-pins { 1198cb7aa33aSEmmanuel Vadot pins-pwm { 1199cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO40__FUNC_DISP_PWM>; 1200cb7aa33aSEmmanuel Vadot }; 1201cb7aa33aSEmmanuel Vadot 1202cb7aa33aSEmmanuel Vadot pins-inhibit { 1203cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO152__FUNC_GPIO152>; 1204cb7aa33aSEmmanuel Vadot output-high; 1205cb7aa33aSEmmanuel Vadot }; 1206cb7aa33aSEmmanuel Vadot }; 1207cb7aa33aSEmmanuel Vadot 120884943d6fSEmmanuel Vadot rt1015p_pins: rt1015p-default-pins { 120984943d6fSEmmanuel Vadot pins { 121084943d6fSEmmanuel Vadot pinmux = <PINMUX_GPIO147__FUNC_GPIO147>; 121184943d6fSEmmanuel Vadot output-low; 121284943d6fSEmmanuel Vadot }; 121384943d6fSEmmanuel Vadot }; 121484943d6fSEmmanuel Vadot 1215b97ee269SEmmanuel Vadot scp_pins: scp-pins { 1216b97ee269SEmmanuel Vadot pins-vreq-vao { 1217b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO195__FUNC_SCP_VREQ_VAO>; 1218b97ee269SEmmanuel Vadot }; 1219b97ee269SEmmanuel Vadot }; 1220b97ee269SEmmanuel Vadot 1221b97ee269SEmmanuel Vadot spi1_pins: spi1-default-pins { 1222b97ee269SEmmanuel Vadot pins-cs-mosi-clk { 1223b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO157__FUNC_SPI1_A_CSB>, 1224b97ee269SEmmanuel Vadot <PINMUX_GPIO159__FUNC_SPI1_A_MO>, 1225b97ee269SEmmanuel Vadot <PINMUX_GPIO156__FUNC_SPI1_A_CLK>; 1226b97ee269SEmmanuel Vadot bias-disable; 1227b97ee269SEmmanuel Vadot }; 1228b97ee269SEmmanuel Vadot 1229b97ee269SEmmanuel Vadot pins-miso { 1230b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO158__FUNC_SPI1_A_MI>; 1231b97ee269SEmmanuel Vadot bias-pull-down; 1232b97ee269SEmmanuel Vadot }; 1233b97ee269SEmmanuel Vadot }; 1234b97ee269SEmmanuel Vadot 1235b97ee269SEmmanuel Vadot spi5_pins: spi5-default-pins { 1236b97ee269SEmmanuel Vadot pins-bus { 1237b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO38__FUNC_SPI5_A_MI>, 1238b97ee269SEmmanuel Vadot <PINMUX_GPIO37__FUNC_GPIO37>, 1239b97ee269SEmmanuel Vadot <PINMUX_GPIO39__FUNC_SPI5_A_MO>, 1240b97ee269SEmmanuel Vadot <PINMUX_GPIO36__FUNC_SPI5_A_CLK>; 1241b97ee269SEmmanuel Vadot bias-disable; 1242b97ee269SEmmanuel Vadot }; 1243b97ee269SEmmanuel Vadot }; 1244b97ee269SEmmanuel Vadot 1245b97ee269SEmmanuel Vadot trackpad_pins: trackpad-default-pins { 1246b97ee269SEmmanuel Vadot pins-int-n { 1247b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO15__FUNC_GPIO15>; 1248b97ee269SEmmanuel Vadot input-enable; 1249b97ee269SEmmanuel Vadot bias-pull-up = <MTK_PUPD_SET_R1R0_11>; 1250b97ee269SEmmanuel Vadot }; 1251b97ee269SEmmanuel Vadot }; 1252b97ee269SEmmanuel Vadot 1253b97ee269SEmmanuel Vadot touchscreen_pins: touchscreen-default-pins { 1254b97ee269SEmmanuel Vadot pins-irq { 1255b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO21__FUNC_GPIO21>; 1256b97ee269SEmmanuel Vadot input-enable; 1257b97ee269SEmmanuel Vadot bias-pull-up; 1258b97ee269SEmmanuel Vadot }; 1259b97ee269SEmmanuel Vadot 1260b97ee269SEmmanuel Vadot pins-reset { 1261b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO137__FUNC_GPIO137>; 1262b97ee269SEmmanuel Vadot output-high; 1263b97ee269SEmmanuel Vadot }; 1264b97ee269SEmmanuel Vadot 1265b97ee269SEmmanuel Vadot pins-report-sw { 1266b97ee269SEmmanuel Vadot pinmux = <PINMUX_GPIO138__FUNC_GPIO138>; 1267b97ee269SEmmanuel Vadot output-low; 1268b97ee269SEmmanuel Vadot }; 1269b97ee269SEmmanuel Vadot }; 1270cb7aa33aSEmmanuel Vadot 1271cb7aa33aSEmmanuel Vadot vow_clk_miso_off_pins: vow-clk-miso-off-pins { 1272cb7aa33aSEmmanuel Vadot pins-miso-off { 1273cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO219__FUNC_GPIO219>; 1274cb7aa33aSEmmanuel Vadot }; 1275cb7aa33aSEmmanuel Vadot }; 1276cb7aa33aSEmmanuel Vadot 1277cb7aa33aSEmmanuel Vadot vow_clk_miso_on_pins: vow-clk-miso-on-pins { 1278cb7aa33aSEmmanuel Vadot pins-miso-on { 1279cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO219__FUNC_VOW_CLK_MISO>; 1280cb7aa33aSEmmanuel Vadot }; 1281cb7aa33aSEmmanuel Vadot }; 1282cb7aa33aSEmmanuel Vadot 1283cb7aa33aSEmmanuel Vadot vow_dat_miso_off_pins: vow-dat-miso-off-pins { 1284cb7aa33aSEmmanuel Vadot pins-miso-off { 1285cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO218__FUNC_GPIO218>; 1286cb7aa33aSEmmanuel Vadot }; 1287cb7aa33aSEmmanuel Vadot }; 1288cb7aa33aSEmmanuel Vadot 1289cb7aa33aSEmmanuel Vadot vow_dat_miso_on_pins: vow-dat-miso-on-pins { 1290cb7aa33aSEmmanuel Vadot pins-miso-on { 1291cb7aa33aSEmmanuel Vadot pinmux = <PINMUX_GPIO218__FUNC_VOW_DAT_MISO>; 1292cb7aa33aSEmmanuel Vadot }; 1293cb7aa33aSEmmanuel Vadot }; 1294b97ee269SEmmanuel Vadot}; 1295b97ee269SEmmanuel Vadot 1296b97ee269SEmmanuel Vadot&pmic { 1297b97ee269SEmmanuel Vadot interrupts-extended = <&pio 214 IRQ_TYPE_LEVEL_HIGH>; 1298b97ee269SEmmanuel Vadot}; 1299b97ee269SEmmanuel Vadot 1300cb7aa33aSEmmanuel Vadot&pwm0 { 1301cb7aa33aSEmmanuel Vadot status = "okay"; 1302cb7aa33aSEmmanuel Vadot 1303cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 1304cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pwm0_pins>; 1305cb7aa33aSEmmanuel Vadot}; 1306cb7aa33aSEmmanuel Vadot 1307b97ee269SEmmanuel Vadot&scp { 1308b97ee269SEmmanuel Vadot status = "okay"; 1309b97ee269SEmmanuel Vadot 1310b97ee269SEmmanuel Vadot firmware-name = "mediatek/mt8192/scp.img"; 1311b97ee269SEmmanuel Vadot memory-region = <&scp_mem_reserved>; 1312b97ee269SEmmanuel Vadot pinctrl-names = "default"; 1313b97ee269SEmmanuel Vadot pinctrl-0 = <&scp_pins>; 1314b97ee269SEmmanuel Vadot 131584943d6fSEmmanuel Vadot cros-ec-rpmsg { 1316b97ee269SEmmanuel Vadot compatible = "google,cros-ec-rpmsg"; 1317b97ee269SEmmanuel Vadot mediatek,rpmsg-name = "cros-ec-rpmsg"; 1318b97ee269SEmmanuel Vadot }; 1319b97ee269SEmmanuel Vadot}; 1320b97ee269SEmmanuel Vadot 1321b97ee269SEmmanuel Vadot&spi1 { 1322b97ee269SEmmanuel Vadot status = "okay"; 1323b97ee269SEmmanuel Vadot 1324b97ee269SEmmanuel Vadot mediatek,pad-select = <0>; 1325b97ee269SEmmanuel Vadot pinctrl-names = "default"; 1326b97ee269SEmmanuel Vadot pinctrl-0 = <&spi1_pins>; 1327b97ee269SEmmanuel Vadot 1328b97ee269SEmmanuel Vadot cros_ec: ec@0 { 1329b97ee269SEmmanuel Vadot compatible = "google,cros-ec-spi"; 1330b97ee269SEmmanuel Vadot reg = <0>; 1331b97ee269SEmmanuel Vadot interrupts-extended = <&pio 5 IRQ_TYPE_LEVEL_LOW>; 1332b97ee269SEmmanuel Vadot spi-max-frequency = <3000000>; 1333b97ee269SEmmanuel Vadot pinctrl-names = "default"; 1334b97ee269SEmmanuel Vadot pinctrl-0 = <&cros_ec_int>; 1335b97ee269SEmmanuel Vadot 1336b97ee269SEmmanuel Vadot #address-cells = <1>; 1337b97ee269SEmmanuel Vadot #size-cells = <0>; 1338b97ee269SEmmanuel Vadot 1339b97ee269SEmmanuel Vadot base_detection: cbas { 1340b97ee269SEmmanuel Vadot compatible = "google,cros-cbas"; 1341b97ee269SEmmanuel Vadot }; 1342b97ee269SEmmanuel Vadot 1343b97ee269SEmmanuel Vadot cros_ec_pwm: pwm { 1344b97ee269SEmmanuel Vadot compatible = "google,cros-ec-pwm"; 1345b97ee269SEmmanuel Vadot #pwm-cells = <1>; 1346b97ee269SEmmanuel Vadot 1347b97ee269SEmmanuel Vadot status = "disabled"; 1348b97ee269SEmmanuel Vadot }; 1349b97ee269SEmmanuel Vadot 1350b97ee269SEmmanuel Vadot i2c_tunnel: i2c-tunnel { 1351b97ee269SEmmanuel Vadot compatible = "google,cros-ec-i2c-tunnel"; 1352b97ee269SEmmanuel Vadot google,remote-bus = <0>; 1353b97ee269SEmmanuel Vadot #address-cells = <1>; 1354b97ee269SEmmanuel Vadot #size-cells = <0>; 1355b97ee269SEmmanuel Vadot }; 1356b97ee269SEmmanuel Vadot 1357b97ee269SEmmanuel Vadot mt6360_ldo3_reg: regulator@0 { 1358b97ee269SEmmanuel Vadot compatible = "google,cros-ec-regulator"; 1359b97ee269SEmmanuel Vadot reg = <0>; 1360b97ee269SEmmanuel Vadot regulator-min-microvolt = <1800000>; 1361b97ee269SEmmanuel Vadot regulator-max-microvolt = <3300000>; 1362b97ee269SEmmanuel Vadot }; 1363b97ee269SEmmanuel Vadot 1364b97ee269SEmmanuel Vadot mt6360_ldo5_reg: regulator@1 { 1365b97ee269SEmmanuel Vadot compatible = "google,cros-ec-regulator"; 1366b97ee269SEmmanuel Vadot reg = <1>; 1367b97ee269SEmmanuel Vadot regulator-min-microvolt = <3300000>; 1368b97ee269SEmmanuel Vadot regulator-max-microvolt = <3300000>; 1369b97ee269SEmmanuel Vadot }; 1370b97ee269SEmmanuel Vadot 1371b97ee269SEmmanuel Vadot typec { 1372b97ee269SEmmanuel Vadot compatible = "google,cros-ec-typec"; 1373b97ee269SEmmanuel Vadot #address-cells = <1>; 1374b97ee269SEmmanuel Vadot #size-cells = <0>; 1375b97ee269SEmmanuel Vadot 1376b97ee269SEmmanuel Vadot usb_c0: connector@0 { 1377b97ee269SEmmanuel Vadot compatible = "usb-c-connector"; 1378b97ee269SEmmanuel Vadot reg = <0>; 1379b97ee269SEmmanuel Vadot label = "left"; 1380b97ee269SEmmanuel Vadot power-role = "dual"; 1381b97ee269SEmmanuel Vadot data-role = "host"; 1382b97ee269SEmmanuel Vadot try-power-role = "source"; 1383b97ee269SEmmanuel Vadot }; 1384b97ee269SEmmanuel Vadot 1385b97ee269SEmmanuel Vadot usb_c1: connector@1 { 1386b97ee269SEmmanuel Vadot compatible = "usb-c-connector"; 1387b97ee269SEmmanuel Vadot reg = <1>; 1388b97ee269SEmmanuel Vadot label = "right"; 1389b97ee269SEmmanuel Vadot power-role = "dual"; 1390b97ee269SEmmanuel Vadot data-role = "host"; 1391b97ee269SEmmanuel Vadot try-power-role = "source"; 1392b97ee269SEmmanuel Vadot }; 1393b97ee269SEmmanuel Vadot }; 1394b97ee269SEmmanuel Vadot }; 1395b97ee269SEmmanuel Vadot}; 1396b97ee269SEmmanuel Vadot 1397b97ee269SEmmanuel Vadot&spi5 { 1398b97ee269SEmmanuel Vadot status = "okay"; 1399b97ee269SEmmanuel Vadot 1400b97ee269SEmmanuel Vadot cs-gpios = <&pio 37 GPIO_ACTIVE_LOW>; 1401b97ee269SEmmanuel Vadot mediatek,pad-select = <0>; 1402b97ee269SEmmanuel Vadot pinctrl-names = "default"; 1403b97ee269SEmmanuel Vadot pinctrl-0 = <&spi5_pins>; 1404b97ee269SEmmanuel Vadot 1405*8d13bc63SEmmanuel Vadot tpm@0 { 1406b97ee269SEmmanuel Vadot compatible = "google,cr50"; 1407b97ee269SEmmanuel Vadot reg = <0>; 1408b97ee269SEmmanuel Vadot interrupts-extended = <&pio 171 IRQ_TYPE_EDGE_RISING>; 1409b97ee269SEmmanuel Vadot spi-max-frequency = <1000000>; 1410b97ee269SEmmanuel Vadot pinctrl-names = "default"; 1411b97ee269SEmmanuel Vadot pinctrl-0 = <&cr50_int>; 1412b97ee269SEmmanuel Vadot }; 1413b97ee269SEmmanuel Vadot}; 1414b97ee269SEmmanuel Vadot 1415b97ee269SEmmanuel Vadot&spmi { 1416b97ee269SEmmanuel Vadot #address-cells = <2>; 1417b97ee269SEmmanuel Vadot #size-cells = <0>; 1418b97ee269SEmmanuel Vadot 1419b97ee269SEmmanuel Vadot mt6315_6: pmic@6 { 1420b97ee269SEmmanuel Vadot compatible = "mediatek,mt6315-regulator"; 1421b97ee269SEmmanuel Vadot reg = <0x6 SPMI_USID>; 1422b97ee269SEmmanuel Vadot 1423b97ee269SEmmanuel Vadot regulators { 1424b97ee269SEmmanuel Vadot mt6315_6_vbuck1: vbuck1 { 1425b97ee269SEmmanuel Vadot regulator-compatible = "vbuck1"; 1426b97ee269SEmmanuel Vadot regulator-name = "Vbcpu"; 1427b97ee269SEmmanuel Vadot regulator-min-microvolt = <300000>; 1428b97ee269SEmmanuel Vadot regulator-max-microvolt = <1193750>; 1429b97ee269SEmmanuel Vadot regulator-enable-ramp-delay = <256>; 1430b97ee269SEmmanuel Vadot regulator-allowed-modes = <0 1 2>; 1431b97ee269SEmmanuel Vadot regulator-always-on; 1432b97ee269SEmmanuel Vadot }; 1433b97ee269SEmmanuel Vadot 1434b97ee269SEmmanuel Vadot mt6315_6_vbuck3: vbuck3 { 1435b97ee269SEmmanuel Vadot regulator-compatible = "vbuck3"; 1436b97ee269SEmmanuel Vadot regulator-name = "Vlcpu"; 1437b97ee269SEmmanuel Vadot regulator-min-microvolt = <300000>; 1438b97ee269SEmmanuel Vadot regulator-max-microvolt = <1193750>; 1439b97ee269SEmmanuel Vadot regulator-enable-ramp-delay = <256>; 1440b97ee269SEmmanuel Vadot regulator-allowed-modes = <0 1 2>; 1441b97ee269SEmmanuel Vadot regulator-always-on; 1442b97ee269SEmmanuel Vadot }; 1443b97ee269SEmmanuel Vadot }; 1444b97ee269SEmmanuel Vadot }; 1445b97ee269SEmmanuel Vadot 1446b97ee269SEmmanuel Vadot mt6315_7: pmic@7 { 1447b97ee269SEmmanuel Vadot compatible = "mediatek,mt6315-regulator"; 1448b97ee269SEmmanuel Vadot reg = <0x7 SPMI_USID>; 1449b97ee269SEmmanuel Vadot 1450b97ee269SEmmanuel Vadot regulators { 1451b97ee269SEmmanuel Vadot mt6315_7_vbuck1: vbuck1 { 1452b97ee269SEmmanuel Vadot regulator-compatible = "vbuck1"; 1453b97ee269SEmmanuel Vadot regulator-name = "Vgpu"; 1454b97ee269SEmmanuel Vadot regulator-min-microvolt = <606250>; 1455fac71e4eSEmmanuel Vadot regulator-max-microvolt = <800000>; 1456b97ee269SEmmanuel Vadot regulator-enable-ramp-delay = <256>; 1457b97ee269SEmmanuel Vadot regulator-allowed-modes = <0 1 2>; 1458fac71e4eSEmmanuel Vadot regulator-coupled-with = <&mt6359_vsram_others_ldo_reg>; 1459fac71e4eSEmmanuel Vadot regulator-coupled-max-spread = <10000>; 1460b97ee269SEmmanuel Vadot }; 1461b97ee269SEmmanuel Vadot }; 1462b97ee269SEmmanuel Vadot }; 1463b97ee269SEmmanuel Vadot}; 1464b97ee269SEmmanuel Vadot 1465b97ee269SEmmanuel Vadot&uart0 { 1466b97ee269SEmmanuel Vadot status = "okay"; 1467b97ee269SEmmanuel Vadot}; 1468b97ee269SEmmanuel Vadot 1469b97ee269SEmmanuel Vadot&xhci { 1470b97ee269SEmmanuel Vadot status = "okay"; 1471b97ee269SEmmanuel Vadot 1472b97ee269SEmmanuel Vadot wakeup-source; 1473b97ee269SEmmanuel Vadot vusb33-supply = <&pp3300_g>; 1474b97ee269SEmmanuel Vadot vbus-supply = <&pp5000_a>; 1475b97ee269SEmmanuel Vadot}; 1476b97ee269SEmmanuel Vadot 1477b97ee269SEmmanuel Vadot#include <arm/cros-ec-keyboard.dtsi> 1478b97ee269SEmmanuel Vadot#include <arm/cros-ec-sbs.dtsi> 1479