1f126890aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz> 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot/dts-v1/; 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include "qcom-msm8226.dtsi" 98d13bc63SEmmanuel Vadot#include "pm8226.dtsi" 10*01950c46SEmmanuel Vadot#include <dt-bindings/clock/qcom,mmcc-msm8974.h> 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot/delete-node/ &adsp_region; 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot/ { 15f126890aSEmmanuel Vadot model = "LG G Watch R"; 16f126890aSEmmanuel Vadot compatible = "lg,lenok", "qcom,apq8026"; 17f126890aSEmmanuel Vadot chassis-type = "watch"; 18f126890aSEmmanuel Vadot qcom,board-id = <132 0x0a>; 19f126890aSEmmanuel Vadot qcom,msm-id = <199 0x20000>; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot aliases { 22f126890aSEmmanuel Vadot serial0 = &blsp1_uart3; 23f126890aSEmmanuel Vadot serial1 = &blsp1_uart4; 24f126890aSEmmanuel Vadot }; 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot chosen { 27f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 28f126890aSEmmanuel Vadot }; 29f126890aSEmmanuel Vadot 30f126890aSEmmanuel Vadot reserved-memory { 31f126890aSEmmanuel Vadot sbl_region: sbl@2f00000 { 32f126890aSEmmanuel Vadot reg = <0x02f00000 0x100000>; 33f126890aSEmmanuel Vadot no-map; 34f126890aSEmmanuel Vadot }; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot external_image_region: external-image@3100000 { 37f126890aSEmmanuel Vadot reg = <0x03100000 0x200000>; 38f126890aSEmmanuel Vadot no-map; 39f126890aSEmmanuel Vadot }; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot adsp_region: adsp@3300000 { 42f126890aSEmmanuel Vadot reg = <0x03300000 0x1400000>; 43f126890aSEmmanuel Vadot no-map; 44f126890aSEmmanuel Vadot }; 45f126890aSEmmanuel Vadot }; 46f126890aSEmmanuel Vadot 47f126890aSEmmanuel Vadot vreg_wlan: wlan-regulator { 48f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot regulator-name = "wl-reg"; 51f126890aSEmmanuel Vadot regulator-min-microvolt = <2950000>; 52f126890aSEmmanuel Vadot regulator-max-microvolt = <2950000>; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>; 55f126890aSEmmanuel Vadot enable-active-high; 56f126890aSEmmanuel Vadot 57f126890aSEmmanuel Vadot pinctrl-names = "default"; 58f126890aSEmmanuel Vadot pinctrl-0 = <&wlan_regulator_default_state>; 59f126890aSEmmanuel Vadot }; 60*01950c46SEmmanuel Vadot 61*01950c46SEmmanuel Vadot pwm_vibrator: pwm { 62*01950c46SEmmanuel Vadot compatible = "clk-pwm"; 63*01950c46SEmmanuel Vadot clocks = <&mmcc CAMSS_GP0_CLK>; 64*01950c46SEmmanuel Vadot 65*01950c46SEmmanuel Vadot pinctrl-0 = <&vibrator_clk_default_state>; 66*01950c46SEmmanuel Vadot pinctrl-names = "default"; 67*01950c46SEmmanuel Vadot 68*01950c46SEmmanuel Vadot #pwm-cells = <2>; 69*01950c46SEmmanuel Vadot }; 70*01950c46SEmmanuel Vadot 71*01950c46SEmmanuel Vadot vibrator { 72*01950c46SEmmanuel Vadot compatible = "pwm-vibrator"; 73*01950c46SEmmanuel Vadot 74*01950c46SEmmanuel Vadot pwms = <&pwm_vibrator 0 10000>; 75*01950c46SEmmanuel Vadot pwm-names = "enable"; 76*01950c46SEmmanuel Vadot 77*01950c46SEmmanuel Vadot vcc-supply = <&pm8226_l28>; 78*01950c46SEmmanuel Vadot enable-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>; 79*01950c46SEmmanuel Vadot 80*01950c46SEmmanuel Vadot pinctrl-0 = <&vibrator_en_default_state>; 81*01950c46SEmmanuel Vadot pinctrl-names = "default"; 82*01950c46SEmmanuel Vadot }; 83f126890aSEmmanuel Vadot}; 84f126890aSEmmanuel Vadot 85f126890aSEmmanuel Vadot&adsp { 86f126890aSEmmanuel Vadot status = "okay"; 87f126890aSEmmanuel Vadot}; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot&blsp1_i2c1 { 90f126890aSEmmanuel Vadot status = "okay"; 91f126890aSEmmanuel Vadot 92f126890aSEmmanuel Vadot fuel-gauge@55 { 93f126890aSEmmanuel Vadot compatible = "ti,bq27421"; 94f126890aSEmmanuel Vadot reg = <0x55>; 95f126890aSEmmanuel Vadot }; 96f126890aSEmmanuel Vadot}; 97f126890aSEmmanuel Vadot 98f126890aSEmmanuel Vadot&blsp1_i2c5 { 99f126890aSEmmanuel Vadot status = "okay"; 100f126890aSEmmanuel Vadot clock-frequency = <384000>; 101f126890aSEmmanuel Vadot 102f126890aSEmmanuel Vadot touchscreen@20 { 103f126890aSEmmanuel Vadot compatible = "syna,rmi4-i2c"; 104f126890aSEmmanuel Vadot reg = <0x20>; 105f126890aSEmmanuel Vadot 106f126890aSEmmanuel Vadot interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; 107f126890aSEmmanuel Vadot vdd-supply = <&pm8226_l15>; 108f126890aSEmmanuel Vadot vio-supply = <&pm8226_l22>; 109f126890aSEmmanuel Vadot 110f126890aSEmmanuel Vadot pinctrl-names = "default"; 111f126890aSEmmanuel Vadot pinctrl-0 = <&touch_pins>; 112f126890aSEmmanuel Vadot 113f126890aSEmmanuel Vadot #address-cells = <1>; 114f126890aSEmmanuel Vadot #size-cells = <0>; 115f126890aSEmmanuel Vadot 116f126890aSEmmanuel Vadot rmi4-f01@1 { 117f126890aSEmmanuel Vadot reg = <0x1>; 118f126890aSEmmanuel Vadot syna,nosleep-mode = <1>; 119f126890aSEmmanuel Vadot }; 120f126890aSEmmanuel Vadot 121f126890aSEmmanuel Vadot rmi4-f12@12 { 122f126890aSEmmanuel Vadot reg = <0x12>; 123f126890aSEmmanuel Vadot syna,sensor-type = <1>; 124f126890aSEmmanuel Vadot }; 125f126890aSEmmanuel Vadot }; 126f126890aSEmmanuel Vadot}; 127f126890aSEmmanuel Vadot 128f126890aSEmmanuel Vadot&blsp1_uart3 { 129f126890aSEmmanuel Vadot status = "okay"; 130f126890aSEmmanuel Vadot}; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot&blsp1_uart4 { 133f126890aSEmmanuel Vadot status = "okay"; 134f126890aSEmmanuel Vadot 135f126890aSEmmanuel Vadot pinctrl-names = "default"; 136f126890aSEmmanuel Vadot pinctrl-0 = <&blsp1_uart4_default_state>; 137f126890aSEmmanuel Vadot 138f126890aSEmmanuel Vadot bluetooth { 139f126890aSEmmanuel Vadot compatible = "brcm,bcm43430a0-bt"; 140f126890aSEmmanuel Vadot 141f126890aSEmmanuel Vadot max-speed = <3000000>; 142f126890aSEmmanuel Vadot 143f126890aSEmmanuel Vadot pinctrl-names = "default"; 144f126890aSEmmanuel Vadot pinctrl-0 = <&bluetooth_default_state>; 145f126890aSEmmanuel Vadot 146f126890aSEmmanuel Vadot host-wakeup-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>; 147f126890aSEmmanuel Vadot device-wakeup-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>; 148f126890aSEmmanuel Vadot shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>; 149f126890aSEmmanuel Vadot }; 150f126890aSEmmanuel Vadot}; 151f126890aSEmmanuel Vadot 152f126890aSEmmanuel Vadot&rpm_requests { 153f126890aSEmmanuel Vadot regulators { 154f126890aSEmmanuel Vadot compatible = "qcom,rpm-pm8226-regulators"; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot pm8226_s3: s3 { 157f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 158f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 159f126890aSEmmanuel Vadot }; 160f126890aSEmmanuel Vadot pm8226_s4: s4 { 161f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 162f126890aSEmmanuel Vadot regulator-max-microvolt = <2200000>; 163f126890aSEmmanuel Vadot }; 164f126890aSEmmanuel Vadot pm8226_s5: s5 { 165f126890aSEmmanuel Vadot regulator-min-microvolt = <1150000>; 166f126890aSEmmanuel Vadot regulator-max-microvolt = <1150000>; 167f126890aSEmmanuel Vadot }; 168f126890aSEmmanuel Vadot 169f126890aSEmmanuel Vadot pm8226_l1: l1 { 170f126890aSEmmanuel Vadot regulator-min-microvolt = <1225000>; 171f126890aSEmmanuel Vadot regulator-max-microvolt = <1225000>; 172f126890aSEmmanuel Vadot }; 173f126890aSEmmanuel Vadot pm8226_l2: l2 { 174f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 175f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 176f126890aSEmmanuel Vadot }; 177f126890aSEmmanuel Vadot pm8226_l3: l3 { 178f126890aSEmmanuel Vadot regulator-min-microvolt = <750000>; 179f126890aSEmmanuel Vadot regulator-max-microvolt = <1337500>; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot pm8226_l4: l4 { 182f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 183f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 184f126890aSEmmanuel Vadot }; 185f126890aSEmmanuel Vadot pm8226_l5: l5 { 186f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 187f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 188f126890aSEmmanuel Vadot }; 189f126890aSEmmanuel Vadot pm8226_l6: l6 { 190f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 191f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 192f126890aSEmmanuel Vadot }; 193f126890aSEmmanuel Vadot pm8226_l7: l7 { 194f126890aSEmmanuel Vadot regulator-min-microvolt = <1850000>; 195f126890aSEmmanuel Vadot regulator-max-microvolt = <1850000>; 196f126890aSEmmanuel Vadot }; 197f126890aSEmmanuel Vadot pm8226_l8: l8 { 198f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 199f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 200f126890aSEmmanuel Vadot }; 201f126890aSEmmanuel Vadot pm8226_l9: l9 { 202f126890aSEmmanuel Vadot regulator-min-microvolt = <2050000>; 203f126890aSEmmanuel Vadot regulator-max-microvolt = <2050000>; 204f126890aSEmmanuel Vadot }; 205f126890aSEmmanuel Vadot pm8226_l10: l10 { 206f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 207f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 208f126890aSEmmanuel Vadot }; 209f126890aSEmmanuel Vadot pm8226_l12: l12 { 210f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 211f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 212f126890aSEmmanuel Vadot }; 213f126890aSEmmanuel Vadot pm8226_l14: l14 { 214f126890aSEmmanuel Vadot regulator-min-microvolt = <2750000>; 215f126890aSEmmanuel Vadot regulator-max-microvolt = <2750000>; 216f126890aSEmmanuel Vadot }; 217f126890aSEmmanuel Vadot pm8226_l15: l15 { 218f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 219f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 220f126890aSEmmanuel Vadot }; 221f126890aSEmmanuel Vadot pm8226_l16: l16 { 222f126890aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 223f126890aSEmmanuel Vadot regulator-max-microvolt = <3350000>; 224f126890aSEmmanuel Vadot }; 225f126890aSEmmanuel Vadot pm8226_l17: l17 { 226f126890aSEmmanuel Vadot regulator-min-microvolt = <2950000>; 227f126890aSEmmanuel Vadot regulator-max-microvolt = <2950000>; 228f126890aSEmmanuel Vadot }; 229f126890aSEmmanuel Vadot pm8226_l18: l18 { 230f126890aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 231f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 232f126890aSEmmanuel Vadot }; 233f126890aSEmmanuel Vadot pm8226_l19: l19 { 234f126890aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 235f126890aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 236f126890aSEmmanuel Vadot }; 237f126890aSEmmanuel Vadot pm8226_l20: l20 { 238f126890aSEmmanuel Vadot regulator-min-microvolt = <3075000>; 239f126890aSEmmanuel Vadot regulator-max-microvolt = <3075000>; 240f126890aSEmmanuel Vadot }; 241f126890aSEmmanuel Vadot pm8226_l21: l21 { 242f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 243f126890aSEmmanuel Vadot regulator-max-microvolt = <2950000>; 244f126890aSEmmanuel Vadot }; 245f126890aSEmmanuel Vadot pm8226_l22: l22 { 246f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 247f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 248f126890aSEmmanuel Vadot }; 249f126890aSEmmanuel Vadot pm8226_l23: l23 { 250f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 251f126890aSEmmanuel Vadot regulator-max-microvolt = <2950000>; 252f126890aSEmmanuel Vadot }; 253f126890aSEmmanuel Vadot pm8226_l24: l24 { 254f126890aSEmmanuel Vadot regulator-min-microvolt = <1300000>; 255f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 256f126890aSEmmanuel Vadot }; 257f126890aSEmmanuel Vadot pm8226_l25: l25 { 258f126890aSEmmanuel Vadot regulator-min-microvolt = <1775000>; 259f126890aSEmmanuel Vadot regulator-max-microvolt = <2125000>; 260f126890aSEmmanuel Vadot }; 261f126890aSEmmanuel Vadot pm8226_l26: l26 { 262f126890aSEmmanuel Vadot regulator-min-microvolt = <1225000>; 263f126890aSEmmanuel Vadot regulator-max-microvolt = <1225000>; 264f126890aSEmmanuel Vadot }; 265f126890aSEmmanuel Vadot pm8226_l27: l27 { 266f126890aSEmmanuel Vadot regulator-min-microvolt = <2050000>; 267f126890aSEmmanuel Vadot regulator-max-microvolt = <2050000>; 268f126890aSEmmanuel Vadot }; 269f126890aSEmmanuel Vadot pm8226_l28: l28 { 270f126890aSEmmanuel Vadot regulator-min-microvolt = <2700000>; 271f126890aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot 274f126890aSEmmanuel Vadot pm8226_lvs1: lvs1 {}; 275f126890aSEmmanuel Vadot }; 276f126890aSEmmanuel Vadot}; 277f126890aSEmmanuel Vadot 278f126890aSEmmanuel Vadot&sdhc_1 { 279f126890aSEmmanuel Vadot status = "okay"; 280f126890aSEmmanuel Vadot 281f126890aSEmmanuel Vadot vmmc-supply = <&pm8226_l17>; 282f126890aSEmmanuel Vadot vqmmc-supply = <&pm8226_l6>; 283f126890aSEmmanuel Vadot 284f126890aSEmmanuel Vadot bus-width = <8>; 285f126890aSEmmanuel Vadot non-removable; 286f126890aSEmmanuel Vadot}; 287f126890aSEmmanuel Vadot 288f126890aSEmmanuel Vadot&sdhc_3 { 289f126890aSEmmanuel Vadot status = "okay"; 290f126890aSEmmanuel Vadot 291f126890aSEmmanuel Vadot max-frequency = <100000000>; 292f126890aSEmmanuel Vadot non-removable; 293f126890aSEmmanuel Vadot 294f126890aSEmmanuel Vadot vmmc-supply = <&vreg_wlan>; 295f126890aSEmmanuel Vadot vqmmc-supply = <&pm8226_l6>; 296f126890aSEmmanuel Vadot 297f126890aSEmmanuel Vadot #address-cells = <1>; 298f126890aSEmmanuel Vadot #size-cells = <0>; 299f126890aSEmmanuel Vadot 300f126890aSEmmanuel Vadot wifi@1 { 301f126890aSEmmanuel Vadot compatible = "brcm,bcm43430a0-fmac", "brcm,bcm4329-fmac"; 302f126890aSEmmanuel Vadot reg = <1>; 303f126890aSEmmanuel Vadot 304f126890aSEmmanuel Vadot interrupts-extended = <&tlmm 37 IRQ_TYPE_EDGE_FALLING>; 305f126890aSEmmanuel Vadot interrupt-names = "host-wake"; 306f126890aSEmmanuel Vadot 307f126890aSEmmanuel Vadot pinctrl-names = "default"; 308f126890aSEmmanuel Vadot pinctrl-0 = <&wlan_hostwake_default_state>; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot}; 311f126890aSEmmanuel Vadot 312f126890aSEmmanuel Vadot&smbb { 313f126890aSEmmanuel Vadot qcom,fast-charge-safe-current = <450000>; 314f126890aSEmmanuel Vadot qcom,fast-charge-current-limit = <400000>; 315f126890aSEmmanuel Vadot qcom,fast-charge-safe-voltage = <4350000>; 316f126890aSEmmanuel Vadot qcom,fast-charge-high-threshold-voltage = <4350000>; 317f126890aSEmmanuel Vadot qcom,auto-recharge-threshold-voltage = <4240000>; 318f126890aSEmmanuel Vadot qcom,minimum-input-voltage = <4450000>; 3198d13bc63SEmmanuel Vadot 3208d13bc63SEmmanuel Vadot status = "okay"; 321f126890aSEmmanuel Vadot}; 322f126890aSEmmanuel Vadot 323f126890aSEmmanuel Vadot&tlmm { 324f126890aSEmmanuel Vadot blsp1_uart4_default_state: blsp1-uart4-default-state { 325f126890aSEmmanuel Vadot pins = "gpio12", "gpio13", "gpio14", "gpio15"; 326f126890aSEmmanuel Vadot function = "blsp_uart4"; 327f126890aSEmmanuel Vadot drive-strength = <8>; 328f126890aSEmmanuel Vadot bias-disable; 329f126890aSEmmanuel Vadot }; 330f126890aSEmmanuel Vadot 331f126890aSEmmanuel Vadot bluetooth_default_state: bluetooth-default-state { 332f126890aSEmmanuel Vadot pins = "gpio47", "gpio48"; 333f126890aSEmmanuel Vadot function = "gpio"; 334f126890aSEmmanuel Vadot drive-strength = <2>; 335f126890aSEmmanuel Vadot bias-disable; 336f126890aSEmmanuel Vadot }; 337f126890aSEmmanuel Vadot 338f126890aSEmmanuel Vadot touch_pins: touch-state { 339f126890aSEmmanuel Vadot irq-pins { 340f126890aSEmmanuel Vadot pins = "gpio17"; 341f126890aSEmmanuel Vadot function = "gpio"; 342f126890aSEmmanuel Vadot 343f126890aSEmmanuel Vadot drive-strength = <8>; 344f126890aSEmmanuel Vadot bias-pull-down; 345f126890aSEmmanuel Vadot }; 346f126890aSEmmanuel Vadot 347f126890aSEmmanuel Vadot reset-pins { 348f126890aSEmmanuel Vadot pins = "gpio16"; 349f126890aSEmmanuel Vadot function = "gpio"; 350f126890aSEmmanuel Vadot 351f126890aSEmmanuel Vadot drive-strength = <8>; 352f126890aSEmmanuel Vadot bias-disable; 353f126890aSEmmanuel Vadot output-high; 354f126890aSEmmanuel Vadot }; 355f126890aSEmmanuel Vadot }; 356f126890aSEmmanuel Vadot 357*01950c46SEmmanuel Vadot vibrator_clk_default_state: vibrator-clk-default-state { 358*01950c46SEmmanuel Vadot pins = "gpio33"; 359*01950c46SEmmanuel Vadot function = "gp0_clk"; 360*01950c46SEmmanuel Vadot drive-strength = <2>; 361*01950c46SEmmanuel Vadot bias-disable; 362*01950c46SEmmanuel Vadot }; 363*01950c46SEmmanuel Vadot 364*01950c46SEmmanuel Vadot vibrator_en_default_state: vibrator-en-default-state { 365*01950c46SEmmanuel Vadot pins = "gpio62"; 366*01950c46SEmmanuel Vadot function = "gpio"; 367*01950c46SEmmanuel Vadot drive-strength = <2>; 368*01950c46SEmmanuel Vadot bias-disable; 369*01950c46SEmmanuel Vadot }; 370*01950c46SEmmanuel Vadot 371f126890aSEmmanuel Vadot wlan_hostwake_default_state: wlan-hostwake-default-state { 372f126890aSEmmanuel Vadot pins = "gpio37"; 373f126890aSEmmanuel Vadot function = "gpio"; 374f126890aSEmmanuel Vadot drive-strength = <2>; 375f126890aSEmmanuel Vadot bias-disable; 376f126890aSEmmanuel Vadot }; 377f126890aSEmmanuel Vadot 378f126890aSEmmanuel Vadot wlan_regulator_default_state: wlan-regulator-default-state { 379f126890aSEmmanuel Vadot pins = "gpio46"; 380f126890aSEmmanuel Vadot function = "gpio"; 381f126890aSEmmanuel Vadot drive-strength = <2>; 382f126890aSEmmanuel Vadot bias-pull-up; 383f126890aSEmmanuel Vadot }; 384f126890aSEmmanuel Vadot}; 385f126890aSEmmanuel Vadot 386f126890aSEmmanuel Vadot&usb { 387f126890aSEmmanuel Vadot status = "okay"; 388f126890aSEmmanuel Vadot extcon = <&smbb>; 389f126890aSEmmanuel Vadot dr_mode = "peripheral"; 390f126890aSEmmanuel Vadot}; 391f126890aSEmmanuel Vadot 392f126890aSEmmanuel Vadot&usb_hs_phy { 393f126890aSEmmanuel Vadot extcon = <&smbb>; 394f126890aSEmmanuel Vadot v1p8-supply = <&pm8226_l10>; 395f126890aSEmmanuel Vadot v3p3-supply = <&pm8226_l20>; 396f126890aSEmmanuel Vadot}; 397