1cb7aa33aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2cb7aa33aSEmmanuel Vadot/* 3cb7aa33aSEmmanuel Vadot * Copyright (c) 2022, Eugene Lepshy <fekz115@gmail.com> 4cb7aa33aSEmmanuel Vadot * Copyright (c) 2022, Gianluca Boiano <morf3089@gmail.com> 5cb7aa33aSEmmanuel Vadot */ 6cb7aa33aSEmmanuel Vadot/dts-v1/; 7cb7aa33aSEmmanuel Vadot 8cb7aa33aSEmmanuel Vadot#include "msm8953.dtsi" 9cb7aa33aSEmmanuel Vadot#include "pm8953.dtsi" 10cb7aa33aSEmmanuel Vadot#include "pmi8950.dtsi" 11cb7aa33aSEmmanuel Vadot#include <dt-bindings/leds/common.h> 12cb7aa33aSEmmanuel Vadot 13cb7aa33aSEmmanuel Vadot/delete-node/ &adsp_fw_mem; 14cb7aa33aSEmmanuel Vadot/delete-node/ &cont_splash_mem; 15cb7aa33aSEmmanuel Vadot/delete-node/ &qseecom_mem; 16cb7aa33aSEmmanuel Vadot/delete-node/ &wcnss_fw_mem; 17cb7aa33aSEmmanuel Vadot 18cb7aa33aSEmmanuel Vadot/ { 19cb7aa33aSEmmanuel Vadot model = "Xiaomi Redmi 5 Plus"; 20cb7aa33aSEmmanuel Vadot compatible = "xiaomi,vince", "qcom,msm8953"; 21cb7aa33aSEmmanuel Vadot chassis-type = "handset"; 22cb7aa33aSEmmanuel Vadot qcom,msm-id = <293 0>; 23cb7aa33aSEmmanuel Vadot qcom,board-id = <0x1000b 0x08>; 24cb7aa33aSEmmanuel Vadot 25cb7aa33aSEmmanuel Vadot gpio-keys { 26cb7aa33aSEmmanuel Vadot compatible = "gpio-keys"; 27cb7aa33aSEmmanuel Vadot 28cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 29cb7aa33aSEmmanuel Vadot pinctrl-0 = <&gpio_key_default>; 30cb7aa33aSEmmanuel Vadot 31cb7aa33aSEmmanuel Vadot key-volume-up { 32cb7aa33aSEmmanuel Vadot label = "volume_up"; 33cb7aa33aSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 34cb7aa33aSEmmanuel Vadot gpios = <&tlmm 85 GPIO_ACTIVE_LOW>; 35cb7aa33aSEmmanuel Vadot }; 36cb7aa33aSEmmanuel Vadot }; 37cb7aa33aSEmmanuel Vadot 38cb7aa33aSEmmanuel Vadot reserved-memory { 39cb7aa33aSEmmanuel Vadot qseecom_mem: qseecom@84a00000 { 40cb7aa33aSEmmanuel Vadot reg = <0x0 0x84a00000 0x0 0x1900000>; 41cb7aa33aSEmmanuel Vadot no-map; 42cb7aa33aSEmmanuel Vadot }; 43cb7aa33aSEmmanuel Vadot 44cb7aa33aSEmmanuel Vadot cont_splash_mem: cont-splash@90001000 { 45cb7aa33aSEmmanuel Vadot reg = <0x0 0x90001000 0x0 (1080 * 2160 * 3)>; 46cb7aa33aSEmmanuel Vadot no-map; 47cb7aa33aSEmmanuel Vadot }; 48cb7aa33aSEmmanuel Vadot 49cb7aa33aSEmmanuel Vadot adsp_fw_mem: adsp@8d600000 { 50cb7aa33aSEmmanuel Vadot reg = <0x0 0x8d600000 0x0 0x1200000>; 51cb7aa33aSEmmanuel Vadot no-map; 52cb7aa33aSEmmanuel Vadot }; 53cb7aa33aSEmmanuel Vadot 54cb7aa33aSEmmanuel Vadot wcnss_fw_mem: wcnss@8e800000 { 55cb7aa33aSEmmanuel Vadot reg = <0x0 0x8e800000 0x0 0x700000>; 56cb7aa33aSEmmanuel Vadot no-map; 57cb7aa33aSEmmanuel Vadot }; 58cb7aa33aSEmmanuel Vadot 59cb7aa33aSEmmanuel Vadot ramoops@9ff00000 { 60cb7aa33aSEmmanuel Vadot compatible = "ramoops"; 61cb7aa33aSEmmanuel Vadot reg = <0x0 0x9ff00000 0x0 0x100000>; 62cb7aa33aSEmmanuel Vadot record-size = <0x1000>; 63cb7aa33aSEmmanuel Vadot console-size = <0x80000>; 64cb7aa33aSEmmanuel Vadot ftrace-size = <0x1000>; 65cb7aa33aSEmmanuel Vadot pmsg-size = <0x8000>; 66cb7aa33aSEmmanuel Vadot }; 67cb7aa33aSEmmanuel Vadot }; 68cb7aa33aSEmmanuel Vadot 69cb7aa33aSEmmanuel Vadot /* 70cb7aa33aSEmmanuel Vadot * We bitbang on &i2c_4 because BLSP is protected by TZ as sensors are 71cb7aa33aSEmmanuel Vadot * normally proxied via ADSP firmware. GPIOs aren't protected. 72cb7aa33aSEmmanuel Vadot */ 73cb7aa33aSEmmanuel Vadot i2c-sensors { 74cb7aa33aSEmmanuel Vadot compatible = "i2c-gpio"; 75cb7aa33aSEmmanuel Vadot sda-gpios = <&tlmm 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 76cb7aa33aSEmmanuel Vadot scl-gpios = <&tlmm 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 77cb7aa33aSEmmanuel Vadot i2c-gpio,delay-us = <2>; /* ~100 kHz */ 78cb7aa33aSEmmanuel Vadot #address-cells = <1>; 79cb7aa33aSEmmanuel Vadot #size-cells = <0>; 80cb7aa33aSEmmanuel Vadot 81cb7aa33aSEmmanuel Vadot imu@6a { 82cb7aa33aSEmmanuel Vadot compatible = "st,lsm6dsl"; 83cb7aa33aSEmmanuel Vadot reg = <0x6a>; 84cb7aa33aSEmmanuel Vadot vdd-supply = <&pm8953_l10>; 85cb7aa33aSEmmanuel Vadot vddio-supply = <&pm8953_l6>; 86cb7aa33aSEmmanuel Vadot mount-matrix = "1", "0", "0", 87cb7aa33aSEmmanuel Vadot "0", "-1", "0", 88cb7aa33aSEmmanuel Vadot "0", "0", "1"; 89cb7aa33aSEmmanuel Vadot }; 90cb7aa33aSEmmanuel Vadot }; 91cb7aa33aSEmmanuel Vadot 92cb7aa33aSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 93cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 94cb7aa33aSEmmanuel Vadot regulator-name = "vph_pwr"; 95cb7aa33aSEmmanuel Vadot regulator-always-on; 96cb7aa33aSEmmanuel Vadot regulator-boot-on; 97cb7aa33aSEmmanuel Vadot }; 98cb7aa33aSEmmanuel Vadot}; 99cb7aa33aSEmmanuel Vadot 100cb7aa33aSEmmanuel Vadot&hsusb_phy { 101cb7aa33aSEmmanuel Vadot vdd-supply = <&pm8953_l3>; 102cb7aa33aSEmmanuel Vadot vdda-pll-supply = <&pm8953_l7>; 103cb7aa33aSEmmanuel Vadot vdda-phy-dpdm-supply = <&pm8953_l13>; 104cb7aa33aSEmmanuel Vadot 105cb7aa33aSEmmanuel Vadot status = "okay"; 106cb7aa33aSEmmanuel Vadot}; 107cb7aa33aSEmmanuel Vadot 108cb7aa33aSEmmanuel Vadot&i2c_2 { 109cb7aa33aSEmmanuel Vadot status = "okay"; 110cb7aa33aSEmmanuel Vadot 111cb7aa33aSEmmanuel Vadot led-controller@45 { 112cb7aa33aSEmmanuel Vadot compatible = "awinic,aw2013"; 113cb7aa33aSEmmanuel Vadot reg = <0x45>; 114cb7aa33aSEmmanuel Vadot 115cb7aa33aSEmmanuel Vadot vcc-supply = <&pm8953_l10>; 1168d13bc63SEmmanuel Vadot vio-supply = <&pm8953_l5>; 117cb7aa33aSEmmanuel Vadot 118cb7aa33aSEmmanuel Vadot #address-cells = <1>; 119cb7aa33aSEmmanuel Vadot #size-cells = <0>; 120cb7aa33aSEmmanuel Vadot 121cb7aa33aSEmmanuel Vadot led@0 { 122cb7aa33aSEmmanuel Vadot reg = <0>; 123cb7aa33aSEmmanuel Vadot led-max-microamp = <5000>; 124cb7aa33aSEmmanuel Vadot function = LED_FUNCTION_INDICATOR; 125cb7aa33aSEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 126cb7aa33aSEmmanuel Vadot }; 127cb7aa33aSEmmanuel Vadot }; 128cb7aa33aSEmmanuel Vadot}; 129cb7aa33aSEmmanuel Vadot 130cb7aa33aSEmmanuel Vadot&i2c_3 { 131cb7aa33aSEmmanuel Vadot status = "okay"; 132cb7aa33aSEmmanuel Vadot 133cb7aa33aSEmmanuel Vadot touchscreen@20 { 134cb7aa33aSEmmanuel Vadot reg = <0x20>; 135cb7aa33aSEmmanuel Vadot compatible = "syna,rmi4-i2c"; 136cb7aa33aSEmmanuel Vadot interrupts-extended = <&tlmm 65 IRQ_TYPE_EDGE_FALLING>; 137cb7aa33aSEmmanuel Vadot 138cb7aa33aSEmmanuel Vadot #address-cells = <1>; 139cb7aa33aSEmmanuel Vadot #size-cells = <0>; 140cb7aa33aSEmmanuel Vadot 141cb7aa33aSEmmanuel Vadot vdd-supply = <&pm8953_l10>; 142cb7aa33aSEmmanuel Vadot vio-supply = <&pm8953_l6>; 143cb7aa33aSEmmanuel Vadot 144cb7aa33aSEmmanuel Vadot pinctrl-names = "init", "suspend"; 145cb7aa33aSEmmanuel Vadot pinctrl-0 = <&ts_reset_active &ts_int_active>; 146cb7aa33aSEmmanuel Vadot pinctrl-1 = <&ts_reset_suspend &ts_int_suspend>; 147cb7aa33aSEmmanuel Vadot syna,reset-delay-ms = <200>; 148cb7aa33aSEmmanuel Vadot syna,startup-delay-ms = <500>; 149cb7aa33aSEmmanuel Vadot 150cb7aa33aSEmmanuel Vadot rmi4-f01@1 { 151cb7aa33aSEmmanuel Vadot reg = <0x01>; 152cb7aa33aSEmmanuel Vadot syna,nosleep-mode = <1>; 153cb7aa33aSEmmanuel Vadot }; 154cb7aa33aSEmmanuel Vadot 155cb7aa33aSEmmanuel Vadot rmi4-f12@12 { 156cb7aa33aSEmmanuel Vadot reg = <0x12>; 157cb7aa33aSEmmanuel Vadot syna,rezero-wait-ms = <20>; 158cb7aa33aSEmmanuel Vadot syna,sensor-type = <1>; 159cb7aa33aSEmmanuel Vadot touchscreen-x-mm = <68>; 160cb7aa33aSEmmanuel Vadot touchscreen-y-mm = <122>; 161cb7aa33aSEmmanuel Vadot }; 162cb7aa33aSEmmanuel Vadot }; 163cb7aa33aSEmmanuel Vadot}; 164cb7aa33aSEmmanuel Vadot 165cb7aa33aSEmmanuel Vadot&pm8953_resin { 166cb7aa33aSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 167cb7aa33aSEmmanuel Vadot status = "okay"; 168cb7aa33aSEmmanuel Vadot}; 169cb7aa33aSEmmanuel Vadot 170cb7aa33aSEmmanuel Vadot&pmi8950_wled { 171cb7aa33aSEmmanuel Vadot qcom,current-limit-microamp = <20000>; 172cb7aa33aSEmmanuel Vadot qcom,ovp-millivolt = <29600>; 173cb7aa33aSEmmanuel Vadot qcom,num-strings = <2>; 174cb7aa33aSEmmanuel Vadot qcom,external-pfet; 175cb7aa33aSEmmanuel Vadot qcom,cabc; 176cb7aa33aSEmmanuel Vadot 177cb7aa33aSEmmanuel Vadot status = "okay"; 178cb7aa33aSEmmanuel Vadot}; 179cb7aa33aSEmmanuel Vadot 180cb7aa33aSEmmanuel Vadot&rpm_requests { 181cb7aa33aSEmmanuel Vadot regulators { 182cb7aa33aSEmmanuel Vadot compatible = "qcom,rpm-pm8953-regulators"; 183cb7aa33aSEmmanuel Vadot vdd_s1-supply = <&vph_pwr>; 184cb7aa33aSEmmanuel Vadot vdd_s2-supply = <&vph_pwr>; 185cb7aa33aSEmmanuel Vadot vdd_s3-supply = <&vph_pwr>; 186cb7aa33aSEmmanuel Vadot vdd_s4-supply = <&vph_pwr>; 187cb7aa33aSEmmanuel Vadot vdd_s5-supply = <&vph_pwr>; 188cb7aa33aSEmmanuel Vadot vdd_s6-supply = <&vph_pwr>; 189cb7aa33aSEmmanuel Vadot vdd_s7-supply = <&vph_pwr>; 190cb7aa33aSEmmanuel Vadot vdd_l1-supply = <&pm8953_s3>; 191cb7aa33aSEmmanuel Vadot vdd_l2_l3-supply = <&pm8953_s3>; 192cb7aa33aSEmmanuel Vadot vdd_l4_l5_l6_l7_l16_l19-supply = <&pm8953_s4>; 193cb7aa33aSEmmanuel Vadot vdd_l8_l11_l12_l13_l14_l15-supply = <&vph_pwr>; 194cb7aa33aSEmmanuel Vadot vdd_l9_l10_l17_l18_l22-supply = <&vph_pwr>; 195cb7aa33aSEmmanuel Vadot 196cb7aa33aSEmmanuel Vadot pm8953_s1: s1 { 197cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <870000>; 198cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1156000>; 199cb7aa33aSEmmanuel Vadot }; 200cb7aa33aSEmmanuel Vadot 201cb7aa33aSEmmanuel Vadot pm8953_s3: s3 { 202cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <984000>; 203cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1224000>; 204cb7aa33aSEmmanuel Vadot }; 205cb7aa33aSEmmanuel Vadot 206cb7aa33aSEmmanuel Vadot pm8953_s4: s4 { 207cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1900000>; 208cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2050000>; 209cb7aa33aSEmmanuel Vadot }; 210cb7aa33aSEmmanuel Vadot 211cb7aa33aSEmmanuel Vadot pm8953_l1: l1 { 212cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 213cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 214cb7aa33aSEmmanuel Vadot }; 215cb7aa33aSEmmanuel Vadot 216cb7aa33aSEmmanuel Vadot pm8953_l2: l2 { 217cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 218cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1225000>; 219cb7aa33aSEmmanuel Vadot }; 220cb7aa33aSEmmanuel Vadot 221cb7aa33aSEmmanuel Vadot pm8953_l3: l3 { 222cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <925000>; 223cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <925000>; 224cb7aa33aSEmmanuel Vadot }; 225cb7aa33aSEmmanuel Vadot 226cb7aa33aSEmmanuel Vadot pm8953_l5: l5 { 227cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 228cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 229cb7aa33aSEmmanuel Vadot }; 230cb7aa33aSEmmanuel Vadot 231cb7aa33aSEmmanuel Vadot pm8953_l6: l6 { 232cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 233cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 234cb7aa33aSEmmanuel Vadot }; 235cb7aa33aSEmmanuel Vadot 236cb7aa33aSEmmanuel Vadot pm8953_l7: l7 { 237cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 238cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1900000>; 239cb7aa33aSEmmanuel Vadot }; 240cb7aa33aSEmmanuel Vadot 241cb7aa33aSEmmanuel Vadot pm8953_l8: l8 { 242cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2900000>; 243cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2900000>; 244cb7aa33aSEmmanuel Vadot }; 245cb7aa33aSEmmanuel Vadot 246cb7aa33aSEmmanuel Vadot pm8953_l9: l9 { 247cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 248cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 249cb7aa33aSEmmanuel Vadot }; 250cb7aa33aSEmmanuel Vadot 251cb7aa33aSEmmanuel Vadot pm8953_l10: l10 { 252cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2850000>; 253cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2850000>; 254cb7aa33aSEmmanuel Vadot }; 255cb7aa33aSEmmanuel Vadot 256cb7aa33aSEmmanuel Vadot pm8953_l11: l11 { 257cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2950000>; 258cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2950000>; 259cb7aa33aSEmmanuel Vadot }; 260cb7aa33aSEmmanuel Vadot 261cb7aa33aSEmmanuel Vadot pm8953_l12: l12 { 262cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 263cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2950000>; 264cb7aa33aSEmmanuel Vadot }; 265cb7aa33aSEmmanuel Vadot 266cb7aa33aSEmmanuel Vadot pm8953_l13: l13 { 267cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3125000>; 268cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3125000>; 269cb7aa33aSEmmanuel Vadot }; 270cb7aa33aSEmmanuel Vadot 271cb7aa33aSEmmanuel Vadot pm8953_l16: l16 { 272cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 273cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 274cb7aa33aSEmmanuel Vadot }; 275cb7aa33aSEmmanuel Vadot 276cb7aa33aSEmmanuel Vadot pm8953_l17: l17 { 277cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2750000>; 278cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2850000>; 279cb7aa33aSEmmanuel Vadot }; 280cb7aa33aSEmmanuel Vadot 281cb7aa33aSEmmanuel Vadot pm8953_l19: l19 { 282cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 283cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1380000>; 284cb7aa33aSEmmanuel Vadot }; 285cb7aa33aSEmmanuel Vadot 286cb7aa33aSEmmanuel Vadot pm8953_l22: l22 { 287cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 288cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 289cb7aa33aSEmmanuel Vadot }; 290cb7aa33aSEmmanuel Vadot 291cb7aa33aSEmmanuel Vadot pm8953_l23: l23 { 292cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 293cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1225000>; 294cb7aa33aSEmmanuel Vadot }; 295cb7aa33aSEmmanuel Vadot }; 296cb7aa33aSEmmanuel Vadot}; 297cb7aa33aSEmmanuel Vadot 298cb7aa33aSEmmanuel Vadot&sdhc_1 { 299cb7aa33aSEmmanuel Vadot vmmc-supply = <&pm8953_l8>; 300cb7aa33aSEmmanuel Vadot vqmmc-supply = <&pm8953_l5>; 301cb7aa33aSEmmanuel Vadot 302cb7aa33aSEmmanuel Vadot status = "okay"; 303cb7aa33aSEmmanuel Vadot}; 304cb7aa33aSEmmanuel Vadot 305cb7aa33aSEmmanuel Vadot&sdhc_2 { 306cb7aa33aSEmmanuel Vadot vmmc-supply = <&pm8953_l11>; 307cb7aa33aSEmmanuel Vadot vqmmc-supply = <&pm8953_l12>; 308cb7aa33aSEmmanuel Vadot 309cb7aa33aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 310cb7aa33aSEmmanuel Vadot pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 311cb7aa33aSEmmanuel Vadot pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 312cb7aa33aSEmmanuel Vadot 313cb7aa33aSEmmanuel Vadot status = "okay"; 314cb7aa33aSEmmanuel Vadot}; 315cb7aa33aSEmmanuel Vadot 316cb7aa33aSEmmanuel Vadot&tlmm { 317cb7aa33aSEmmanuel Vadot gpio-reserved-ranges = <0 4>, <16 4>, <135 4>; 318cb7aa33aSEmmanuel Vadot 319cb7aa33aSEmmanuel Vadot ts_reset_active: ts-reset-active-state { 320cb7aa33aSEmmanuel Vadot pins = "gpio64"; 321cb7aa33aSEmmanuel Vadot function = "gpio"; 322cb7aa33aSEmmanuel Vadot drive-strength = <8>; 323cb7aa33aSEmmanuel Vadot bias-pull-up; 324cb7aa33aSEmmanuel Vadot }; 325cb7aa33aSEmmanuel Vadot 326cb7aa33aSEmmanuel Vadot ts_reset_suspend: ts-reset-suspend-state { 327cb7aa33aSEmmanuel Vadot pins = "gpio64"; 328cb7aa33aSEmmanuel Vadot function = "gpio"; 329cb7aa33aSEmmanuel Vadot drive-strength = <2>; 330cb7aa33aSEmmanuel Vadot bias-pull-up; 331cb7aa33aSEmmanuel Vadot }; 332cb7aa33aSEmmanuel Vadot 333cb7aa33aSEmmanuel Vadot ts_int_active: ts-int-active-state { 334cb7aa33aSEmmanuel Vadot pins = "gpio65"; 335cb7aa33aSEmmanuel Vadot function = "gpio"; 336cb7aa33aSEmmanuel Vadot drive-strength = <8>; 337cb7aa33aSEmmanuel Vadot bias-pull-up; 338cb7aa33aSEmmanuel Vadot }; 339cb7aa33aSEmmanuel Vadot 340cb7aa33aSEmmanuel Vadot ts_int_suspend: ts-int-suspend-state { 341cb7aa33aSEmmanuel Vadot pins = "gpio65"; 342cb7aa33aSEmmanuel Vadot function = "gpio"; 343cb7aa33aSEmmanuel Vadot drive-strength = <2>; 344cb7aa33aSEmmanuel Vadot bias-pull-down; 345cb7aa33aSEmmanuel Vadot }; 346cb7aa33aSEmmanuel Vadot}; 347cb7aa33aSEmmanuel Vadot 348cb7aa33aSEmmanuel Vadot&uart_0 { 349cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 350cb7aa33aSEmmanuel Vadot pinctrl-0 = <&uart_console_active>; 351cb7aa33aSEmmanuel Vadot 352cb7aa33aSEmmanuel Vadot status = "okay"; 353cb7aa33aSEmmanuel Vadot}; 354cb7aa33aSEmmanuel Vadot 355cb7aa33aSEmmanuel Vadot&usb3 { 356cb7aa33aSEmmanuel Vadot status = "okay"; 357cb7aa33aSEmmanuel Vadot}; 358cb7aa33aSEmmanuel Vadot 359cb7aa33aSEmmanuel Vadot&usb3_dwc3 { 360*0e8011faSEmmanuel Vadot /delete-property/ usb-role-switch; 361cb7aa33aSEmmanuel Vadot dr_mode = "peripheral"; 362cb7aa33aSEmmanuel Vadot}; 363