1a0aa6bfeSHeiko Stuebner// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2a0aa6bfeSHeiko Stuebner/* 3a0aa6bfeSHeiko Stuebner * Google Gru-Chromebook shared properties 4a0aa6bfeSHeiko Stuebner * 5a0aa6bfeSHeiko Stuebner * Copyright 2018 Google, Inc 6a0aa6bfeSHeiko Stuebner */ 7a0aa6bfeSHeiko Stuebner 8a0aa6bfeSHeiko Stuebner#include "rk3399-gru.dtsi" 9a0aa6bfeSHeiko Stuebner 10a0aa6bfeSHeiko Stuebner/ { 11a0aa6bfeSHeiko Stuebner pp900_ap: pp900-ap { 12a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 13a0aa6bfeSHeiko Stuebner regulator-name = "pp900_ap"; 14a0aa6bfeSHeiko Stuebner 15a0aa6bfeSHeiko Stuebner /* EC turns on w/ pp900_ap_en; always on for AP */ 16a0aa6bfeSHeiko Stuebner regulator-always-on; 17a0aa6bfeSHeiko Stuebner regulator-boot-on; 18a0aa6bfeSHeiko Stuebner regulator-min-microvolt = <900000>; 19a0aa6bfeSHeiko Stuebner regulator-max-microvolt = <900000>; 20a0aa6bfeSHeiko Stuebner 21a0aa6bfeSHeiko Stuebner vin-supply = <&ppvar_sys>; 22a0aa6bfeSHeiko Stuebner }; 23a0aa6bfeSHeiko Stuebner 24a0aa6bfeSHeiko Stuebner /* EC turns on w/ pp900_usb_en */ 25a0aa6bfeSHeiko Stuebner pp900_usb: pp900-ap { 26a0aa6bfeSHeiko Stuebner }; 27a0aa6bfeSHeiko Stuebner 28a0aa6bfeSHeiko Stuebner /* EC turns on w/ pp900_pcie_en */ 29a0aa6bfeSHeiko Stuebner pp900_pcie: pp900-ap { 30a0aa6bfeSHeiko Stuebner }; 31a0aa6bfeSHeiko Stuebner 32a0aa6bfeSHeiko Stuebner pp3000: pp3000 { 33a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 34a0aa6bfeSHeiko Stuebner regulator-name = "pp3000"; 35a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 36a0aa6bfeSHeiko Stuebner pinctrl-0 = <&pp3000_en>; 37a0aa6bfeSHeiko Stuebner 38a0aa6bfeSHeiko Stuebner enable-active-high; 39a0aa6bfeSHeiko Stuebner gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>; 40a0aa6bfeSHeiko Stuebner 41a0aa6bfeSHeiko Stuebner regulator-always-on; 42a0aa6bfeSHeiko Stuebner regulator-boot-on; 43a0aa6bfeSHeiko Stuebner regulator-min-microvolt = <3000000>; 44a0aa6bfeSHeiko Stuebner regulator-max-microvolt = <3000000>; 45a0aa6bfeSHeiko Stuebner 46a0aa6bfeSHeiko Stuebner vin-supply = <&ppvar_sys>; 47a0aa6bfeSHeiko Stuebner }; 48a0aa6bfeSHeiko Stuebner 49a0aa6bfeSHeiko Stuebner ppvar_centerlogic_pwm: ppvar-centerlogic-pwm { 50a0aa6bfeSHeiko Stuebner compatible = "pwm-regulator"; 51a0aa6bfeSHeiko Stuebner regulator-name = "ppvar_centerlogic_pwm"; 52a0aa6bfeSHeiko Stuebner 53a0aa6bfeSHeiko Stuebner pwms = <&pwm3 0 3337 0>; 54a0aa6bfeSHeiko Stuebner pwm-supply = <&ppvar_sys>; 55a0aa6bfeSHeiko Stuebner pwm-dutycycle-range = <100 0>; 56a0aa6bfeSHeiko Stuebner pwm-dutycycle-unit = <100>; 57a0aa6bfeSHeiko Stuebner 58a0aa6bfeSHeiko Stuebner /* EC turns on w/ ppvar_centerlogic_en; always on for AP */ 59a0aa6bfeSHeiko Stuebner regulator-always-on; 60a0aa6bfeSHeiko Stuebner regulator-boot-on; 61a0aa6bfeSHeiko Stuebner regulator-min-microvolt = <799434>; 62a0aa6bfeSHeiko Stuebner regulator-max-microvolt = <1049925>; 63a0aa6bfeSHeiko Stuebner }; 64a0aa6bfeSHeiko Stuebner 65a0aa6bfeSHeiko Stuebner ppvar_centerlogic: ppvar-centerlogic { 66a0aa6bfeSHeiko Stuebner compatible = "vctrl-regulator"; 67a0aa6bfeSHeiko Stuebner regulator-name = "ppvar_centerlogic"; 68a0aa6bfeSHeiko Stuebner 69a0aa6bfeSHeiko Stuebner regulator-min-microvolt = <799434>; 70a0aa6bfeSHeiko Stuebner regulator-max-microvolt = <1049925>; 71a0aa6bfeSHeiko Stuebner 72a0aa6bfeSHeiko Stuebner ctrl-supply = <&ppvar_centerlogic_pwm>; 73a0aa6bfeSHeiko Stuebner ctrl-voltage-range = <799434 1049925>; 74a0aa6bfeSHeiko Stuebner 75a0aa6bfeSHeiko Stuebner regulator-settling-time-up-us = <378>; 76a0aa6bfeSHeiko Stuebner min-slew-down-rate = <225>; 77a0aa6bfeSHeiko Stuebner ovp-threshold-percent = <16>; 78a0aa6bfeSHeiko Stuebner }; 79a0aa6bfeSHeiko Stuebner 80a0aa6bfeSHeiko Stuebner /* Schematics call this PPVAR even though it's fixed */ 81a0aa6bfeSHeiko Stuebner ppvar_logic: ppvar-logic { 82a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 83a0aa6bfeSHeiko Stuebner regulator-name = "ppvar_logic"; 84a0aa6bfeSHeiko Stuebner 85a0aa6bfeSHeiko Stuebner /* EC turns on w/ ppvar_logic_en; always on for AP */ 86a0aa6bfeSHeiko Stuebner regulator-always-on; 87a0aa6bfeSHeiko Stuebner regulator-boot-on; 88a0aa6bfeSHeiko Stuebner regulator-min-microvolt = <900000>; 89a0aa6bfeSHeiko Stuebner regulator-max-microvolt = <900000>; 90a0aa6bfeSHeiko Stuebner 91a0aa6bfeSHeiko Stuebner vin-supply = <&ppvar_sys>; 92a0aa6bfeSHeiko Stuebner }; 93a0aa6bfeSHeiko Stuebner 94a0aa6bfeSHeiko Stuebner pp1800_audio: pp1800-audio { 95a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 96a0aa6bfeSHeiko Stuebner regulator-name = "pp1800_audio"; 97a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 98a0aa6bfeSHeiko Stuebner pinctrl-0 = <&pp1800_audio_en>; 99a0aa6bfeSHeiko Stuebner 100a0aa6bfeSHeiko Stuebner enable-active-high; 101a0aa6bfeSHeiko Stuebner gpio = <&gpio0 2 GPIO_ACTIVE_HIGH>; 102a0aa6bfeSHeiko Stuebner 103a0aa6bfeSHeiko Stuebner regulator-always-on; 104a0aa6bfeSHeiko Stuebner regulator-boot-on; 105a0aa6bfeSHeiko Stuebner 106a0aa6bfeSHeiko Stuebner vin-supply = <&pp1800>; 107a0aa6bfeSHeiko Stuebner }; 108a0aa6bfeSHeiko Stuebner 109a0aa6bfeSHeiko Stuebner /* gpio is shared with pp3300_wifi_bt */ 110a0aa6bfeSHeiko Stuebner pp1800_pcie: pp1800-pcie { 111a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 112a0aa6bfeSHeiko Stuebner regulator-name = "pp1800_pcie"; 113a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 114a0aa6bfeSHeiko Stuebner pinctrl-0 = <&wlan_module_pd_l>; 115a0aa6bfeSHeiko Stuebner 116a0aa6bfeSHeiko Stuebner enable-active-high; 117a0aa6bfeSHeiko Stuebner gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>; 118a0aa6bfeSHeiko Stuebner 119a0aa6bfeSHeiko Stuebner /* 120a0aa6bfeSHeiko Stuebner * Need to wait 1ms + ramp-up time before we can power on WiFi. 121a0aa6bfeSHeiko Stuebner * This has been approximated as 8ms total. 122a0aa6bfeSHeiko Stuebner */ 123a0aa6bfeSHeiko Stuebner regulator-enable-ramp-delay = <8000>; 124a0aa6bfeSHeiko Stuebner 125a0aa6bfeSHeiko Stuebner vin-supply = <&pp1800>; 126a0aa6bfeSHeiko Stuebner }; 127a0aa6bfeSHeiko Stuebner 128a0aa6bfeSHeiko Stuebner /* Always on; plain and simple */ 129a0aa6bfeSHeiko Stuebner pp3000_ap: pp3000_emmc: pp3000 { 130a0aa6bfeSHeiko Stuebner }; 131a0aa6bfeSHeiko Stuebner 132a0aa6bfeSHeiko Stuebner pp1500_ap_io: pp1500-ap-io { 133a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 134a0aa6bfeSHeiko Stuebner regulator-name = "pp1500_ap_io"; 135a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 136a0aa6bfeSHeiko Stuebner pinctrl-0 = <&pp1500_en>; 137a0aa6bfeSHeiko Stuebner 138a0aa6bfeSHeiko Stuebner enable-active-high; 139a0aa6bfeSHeiko Stuebner gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>; 140a0aa6bfeSHeiko Stuebner 141a0aa6bfeSHeiko Stuebner regulator-always-on; 142a0aa6bfeSHeiko Stuebner regulator-boot-on; 143a0aa6bfeSHeiko Stuebner regulator-min-microvolt = <1500000>; 144a0aa6bfeSHeiko Stuebner regulator-max-microvolt = <1500000>; 145a0aa6bfeSHeiko Stuebner 146a0aa6bfeSHeiko Stuebner vin-supply = <&pp1800>; 147a0aa6bfeSHeiko Stuebner }; 148a0aa6bfeSHeiko Stuebner 149a0aa6bfeSHeiko Stuebner pp3300_disp: pp3300-disp { 150a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 151a0aa6bfeSHeiko Stuebner regulator-name = "pp3300_disp"; 152a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 153a0aa6bfeSHeiko Stuebner pinctrl-0 = <&pp3300_disp_en>; 154a0aa6bfeSHeiko Stuebner 155a0aa6bfeSHeiko Stuebner enable-active-high; 156a0aa6bfeSHeiko Stuebner gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; 157a0aa6bfeSHeiko Stuebner 158a0aa6bfeSHeiko Stuebner startup-delay-us = <2000>; 159a0aa6bfeSHeiko Stuebner vin-supply = <&pp3300>; 160a0aa6bfeSHeiko Stuebner }; 161a0aa6bfeSHeiko Stuebner 162a0aa6bfeSHeiko Stuebner /* EC turns on w/ pp3300_usb_en_l */ 163a0aa6bfeSHeiko Stuebner pp3300_usb: pp3300 { 164a0aa6bfeSHeiko Stuebner }; 165a0aa6bfeSHeiko Stuebner 166a0aa6bfeSHeiko Stuebner /* gpio is shared with pp1800_pcie and pinctrl is set there */ 167a0aa6bfeSHeiko Stuebner pp3300_wifi_bt: pp3300-wifi-bt { 168a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 169a0aa6bfeSHeiko Stuebner regulator-name = "pp3300_wifi_bt"; 170a0aa6bfeSHeiko Stuebner 171a0aa6bfeSHeiko Stuebner enable-active-high; 172a0aa6bfeSHeiko Stuebner gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>; 173a0aa6bfeSHeiko Stuebner 174a0aa6bfeSHeiko Stuebner vin-supply = <&pp3300>; 175a0aa6bfeSHeiko Stuebner }; 176a0aa6bfeSHeiko Stuebner 177a0aa6bfeSHeiko Stuebner /* 178a0aa6bfeSHeiko Stuebner * This is a bit of a hack. The WiFi module should be reset at least 179a0aa6bfeSHeiko Stuebner * 1ms after its regulators have ramped up (max rampup time is ~7ms). 180a0aa6bfeSHeiko Stuebner * With some stretching of the imagination, we can call the 1.8V 181a0aa6bfeSHeiko Stuebner * regulator a supply. 182a0aa6bfeSHeiko Stuebner */ 183a0aa6bfeSHeiko Stuebner wlan_pd_n: wlan-pd-n { 184a0aa6bfeSHeiko Stuebner compatible = "regulator-fixed"; 185a0aa6bfeSHeiko Stuebner regulator-name = "wlan_pd_n"; 186a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 187a0aa6bfeSHeiko Stuebner pinctrl-0 = <&wlan_module_reset_l>; 188a0aa6bfeSHeiko Stuebner 189a0aa6bfeSHeiko Stuebner enable-active-high; 190a0aa6bfeSHeiko Stuebner gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>; 191a0aa6bfeSHeiko Stuebner 192a0aa6bfeSHeiko Stuebner vin-supply = <&pp1800_pcie>; 193a0aa6bfeSHeiko Stuebner }; 194d67a38c5SHeiko Stuebner 195d67a38c5SHeiko Stuebner backlight: backlight { 196d67a38c5SHeiko Stuebner compatible = "pwm-backlight"; 197d67a38c5SHeiko Stuebner enable-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; 198d67a38c5SHeiko Stuebner power-supply = <&pp3300_disp>; 199d67a38c5SHeiko Stuebner pinctrl-names = "default"; 200d67a38c5SHeiko Stuebner pinctrl-0 = <&bl_en>; 201d67a38c5SHeiko Stuebner pwm-delay-us = <10000>; 202d67a38c5SHeiko Stuebner }; 2035364a0b4SBrian Norris 2045364a0b4SBrian Norris gpio_keys: gpio-keys { 2055364a0b4SBrian Norris compatible = "gpio-keys"; 2065364a0b4SBrian Norris pinctrl-names = "default"; 2075364a0b4SBrian Norris pinctrl-0 = <&bt_host_wake_l>; 2085364a0b4SBrian Norris 2095364a0b4SBrian Norris wake_on_bt: wake-on-bt { 2105364a0b4SBrian Norris label = "Wake-on-Bluetooth"; 2115364a0b4SBrian Norris gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; 2125364a0b4SBrian Norris linux,code = <KEY_WAKEUP>; 2135364a0b4SBrian Norris wakeup-source; 2145364a0b4SBrian Norris }; 2155364a0b4SBrian Norris }; 216a0aa6bfeSHeiko Stuebner}; 217a0aa6bfeSHeiko Stuebner 218a0aa6bfeSHeiko Stuebner&ppvar_bigcpu { 219a0aa6bfeSHeiko Stuebner min-slew-down-rate = <225>; 220a0aa6bfeSHeiko Stuebner ovp-threshold-percent = <16>; 221a0aa6bfeSHeiko Stuebner}; 222a0aa6bfeSHeiko Stuebner 223a0aa6bfeSHeiko Stuebner&ppvar_litcpu { 224a0aa6bfeSHeiko Stuebner min-slew-down-rate = <225>; 225a0aa6bfeSHeiko Stuebner ovp-threshold-percent = <16>; 226a0aa6bfeSHeiko Stuebner}; 227a0aa6bfeSHeiko Stuebner 228a0aa6bfeSHeiko Stuebner&ppvar_gpu { 229a0aa6bfeSHeiko Stuebner min-slew-down-rate = <225>; 230a0aa6bfeSHeiko Stuebner ovp-threshold-percent = <16>; 231a0aa6bfeSHeiko Stuebner}; 232a0aa6bfeSHeiko Stuebner 233a0aa6bfeSHeiko Stuebner&cdn_dp { 234a0aa6bfeSHeiko Stuebner extcon = <&usbc_extcon0>, <&usbc_extcon1>; 235a0aa6bfeSHeiko Stuebner}; 236a0aa6bfeSHeiko Stuebner 237d67a38c5SHeiko Stuebner&edp { 238d67a38c5SHeiko Stuebner status = "okay"; 239d67a38c5SHeiko Stuebner 240d67a38c5SHeiko Stuebner ports { 241d67a38c5SHeiko Stuebner edp_out: port@1 { 242d67a38c5SHeiko Stuebner reg = <1>; 243d67a38c5SHeiko Stuebner #address-cells = <1>; 244d67a38c5SHeiko Stuebner #size-cells = <0>; 245d67a38c5SHeiko Stuebner 246d67a38c5SHeiko Stuebner edp_out_panel: endpoint@0 { 247d67a38c5SHeiko Stuebner reg = <0>; 248d67a38c5SHeiko Stuebner remote-endpoint = <&panel_in_edp>; 249d67a38c5SHeiko Stuebner }; 250d67a38c5SHeiko Stuebner }; 251d67a38c5SHeiko Stuebner }; 252d67a38c5SHeiko Stuebner}; 253d67a38c5SHeiko Stuebner 254a0aa6bfeSHeiko Stuebnerap_i2c_mic: &i2c1 { 255a0aa6bfeSHeiko Stuebner status = "okay"; 256a0aa6bfeSHeiko Stuebner 257a0aa6bfeSHeiko Stuebner clock-frequency = <400000>; 258a0aa6bfeSHeiko Stuebner 259a0aa6bfeSHeiko Stuebner /* These are relatively safe rise/fall times */ 260a0aa6bfeSHeiko Stuebner i2c-scl-falling-time-ns = <50>; 261a0aa6bfeSHeiko Stuebner i2c-scl-rising-time-ns = <300>; 262a0aa6bfeSHeiko Stuebner 263a0aa6bfeSHeiko Stuebner headsetcodec: rt5514@57 { 264a0aa6bfeSHeiko Stuebner compatible = "realtek,rt5514"; 265a0aa6bfeSHeiko Stuebner reg = <0x57>; 266a0aa6bfeSHeiko Stuebner realtek,dmic-init-delay-ms = <20>; 267a0aa6bfeSHeiko Stuebner }; 268a0aa6bfeSHeiko Stuebner}; 269a0aa6bfeSHeiko Stuebner 270a0aa6bfeSHeiko Stuebnerap_i2c_tp: &i2c5 { 271a0aa6bfeSHeiko Stuebner status = "okay"; 272a0aa6bfeSHeiko Stuebner 273a0aa6bfeSHeiko Stuebner clock-frequency = <400000>; 274a0aa6bfeSHeiko Stuebner 275a0aa6bfeSHeiko Stuebner /* These are relatively safe rise/fall times */ 276a0aa6bfeSHeiko Stuebner i2c-scl-falling-time-ns = <50>; 277a0aa6bfeSHeiko Stuebner i2c-scl-rising-time-ns = <300>; 278a0aa6bfeSHeiko Stuebner 279a0aa6bfeSHeiko Stuebner /* 280a0aa6bfeSHeiko Stuebner * Note strange pullup enable. Apparently this avoids leakage but 281a0aa6bfeSHeiko Stuebner * still allows us to get nice 4.7K pullups for high speed i2c 282a0aa6bfeSHeiko Stuebner * transfers. Basically we want the pullup on whenever the ap is 283a0aa6bfeSHeiko Stuebner * alive, so the "en" pin just gets set to output high. 284a0aa6bfeSHeiko Stuebner */ 285a0aa6bfeSHeiko Stuebner pinctrl-0 = <&i2c5_xfer &ap_i2c_tp_pu_en>; 286a0aa6bfeSHeiko Stuebner}; 287a0aa6bfeSHeiko Stuebner 288a0aa6bfeSHeiko Stuebner&cros_ec { 289a0aa6bfeSHeiko Stuebner cros_ec_pwm: ec-pwm { 290a0aa6bfeSHeiko Stuebner compatible = "google,cros-ec-pwm"; 291a0aa6bfeSHeiko Stuebner #pwm-cells = <1>; 292a0aa6bfeSHeiko Stuebner }; 293a0aa6bfeSHeiko Stuebner 294a0aa6bfeSHeiko Stuebner usbc_extcon1: extcon@1 { 295a0aa6bfeSHeiko Stuebner compatible = "google,extcon-usbc-cros-ec"; 296a0aa6bfeSHeiko Stuebner google,usb-port-id = <1>; 297a0aa6bfeSHeiko Stuebner 298a0aa6bfeSHeiko Stuebner #extcon-cells = <0>; 299a0aa6bfeSHeiko Stuebner }; 300a0aa6bfeSHeiko Stuebner}; 301a0aa6bfeSHeiko Stuebner 302a0aa6bfeSHeiko Stuebner&sound { 303a0aa6bfeSHeiko Stuebner rockchip,codec = <&max98357a &headsetcodec 304a0aa6bfeSHeiko Stuebner &codec &wacky_spi_audio &cdn_dp>; 305a0aa6bfeSHeiko Stuebner}; 306a0aa6bfeSHeiko Stuebner 307a0aa6bfeSHeiko Stuebner&spi2 { 308a0aa6bfeSHeiko Stuebner wacky_spi_audio: spi2@0 { 309a0aa6bfeSHeiko Stuebner compatible = "realtek,rt5514"; 310a0aa6bfeSHeiko Stuebner reg = <0>; 311a0aa6bfeSHeiko Stuebner interrupt-parent = <&gpio1>; 312a0aa6bfeSHeiko Stuebner interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; 313a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 314a0aa6bfeSHeiko Stuebner pinctrl-0 = <&mic_int>; 315a0aa6bfeSHeiko Stuebner /* May run faster once verified. */ 316a0aa6bfeSHeiko Stuebner spi-max-frequency = <10000000>; 317a0aa6bfeSHeiko Stuebner wakeup-source; 318a0aa6bfeSHeiko Stuebner }; 319a0aa6bfeSHeiko Stuebner}; 320a0aa6bfeSHeiko Stuebner 321a0aa6bfeSHeiko Stuebner&pci_rootport { 322a0aa6bfeSHeiko Stuebner mvl_wifi: wifi@0,0 { 323a0aa6bfeSHeiko Stuebner compatible = "pci1b4b,2b42"; 324a0aa6bfeSHeiko Stuebner reg = <0x83010000 0x0 0x00000000 0x0 0x00100000 325a0aa6bfeSHeiko Stuebner 0x83010000 0x0 0x00100000 0x0 0x00100000>; 326a0aa6bfeSHeiko Stuebner interrupt-parent = <&gpio0>; 327a0aa6bfeSHeiko Stuebner interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 328a0aa6bfeSHeiko Stuebner pinctrl-names = "default"; 329a0aa6bfeSHeiko Stuebner pinctrl-0 = <&wlan_host_wake_l>; 330a0aa6bfeSHeiko Stuebner wakeup-source; 331a0aa6bfeSHeiko Stuebner }; 332a0aa6bfeSHeiko Stuebner}; 333a0aa6bfeSHeiko Stuebner 334a0aa6bfeSHeiko Stuebner&tcphy1 { 335a0aa6bfeSHeiko Stuebner status = "okay"; 336a0aa6bfeSHeiko Stuebner extcon = <&usbc_extcon1>; 337a0aa6bfeSHeiko Stuebner}; 338a0aa6bfeSHeiko Stuebner 339a0aa6bfeSHeiko Stuebner&u2phy1 { 340a0aa6bfeSHeiko Stuebner status = "okay"; 341a0aa6bfeSHeiko Stuebner}; 342a0aa6bfeSHeiko Stuebner 343a0aa6bfeSHeiko Stuebner&usb_host0_ehci { 344a0aa6bfeSHeiko Stuebner status = "okay"; 345a0aa6bfeSHeiko Stuebner}; 346a0aa6bfeSHeiko Stuebner 347a0aa6bfeSHeiko Stuebner&usb_host1_ehci { 348a0aa6bfeSHeiko Stuebner status = "okay"; 349a0aa6bfeSHeiko Stuebner}; 350a0aa6bfeSHeiko Stuebner 351a0aa6bfeSHeiko Stuebner&usb_host1_ohci { 352a0aa6bfeSHeiko Stuebner status = "okay"; 353a0aa6bfeSHeiko Stuebner}; 354a0aa6bfeSHeiko Stuebner 355a0aa6bfeSHeiko Stuebner&usbdrd3_1 { 356a0aa6bfeSHeiko Stuebner status = "okay"; 357a0aa6bfeSHeiko Stuebner extcon = <&usbc_extcon1>; 358a0aa6bfeSHeiko Stuebner}; 359a0aa6bfeSHeiko Stuebner 360a0aa6bfeSHeiko Stuebner&usbdrd_dwc3_1 { 361a0aa6bfeSHeiko Stuebner status = "okay"; 362a0aa6bfeSHeiko Stuebner dr_mode = "host"; 363a0aa6bfeSHeiko Stuebner}; 364a0aa6bfeSHeiko Stuebner 365a0aa6bfeSHeiko Stuebner&pinctrl { 366a0aa6bfeSHeiko Stuebner discrete-regulators { 367a0aa6bfeSHeiko Stuebner pp1500_en: pp1500-en { 368a0aa6bfeSHeiko Stuebner rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO 369a0aa6bfeSHeiko Stuebner &pcfg_pull_none>; 370a0aa6bfeSHeiko Stuebner }; 371a0aa6bfeSHeiko Stuebner 372a0aa6bfeSHeiko Stuebner pp1800_audio_en: pp1800-audio-en { 373a0aa6bfeSHeiko Stuebner rockchip,pins = <RK_GPIO0 2 RK_FUNC_GPIO 374a0aa6bfeSHeiko Stuebner &pcfg_pull_down>; 375a0aa6bfeSHeiko Stuebner }; 376a0aa6bfeSHeiko Stuebner 377a0aa6bfeSHeiko Stuebner pp3000_en: pp3000-en { 378a0aa6bfeSHeiko Stuebner rockchip,pins = <RK_GPIO0 12 RK_FUNC_GPIO 379a0aa6bfeSHeiko Stuebner &pcfg_pull_none>; 380a0aa6bfeSHeiko Stuebner }; 381a0aa6bfeSHeiko Stuebner 382a0aa6bfeSHeiko Stuebner pp3300_disp_en: pp3300-disp-en { 383a0aa6bfeSHeiko Stuebner rockchip,pins = <RK_GPIO4 27 RK_FUNC_GPIO 384a0aa6bfeSHeiko Stuebner &pcfg_pull_none>; 385a0aa6bfeSHeiko Stuebner }; 386a0aa6bfeSHeiko Stuebner 387a0aa6bfeSHeiko Stuebner wlan_module_pd_l: wlan-module-pd-l { 388a0aa6bfeSHeiko Stuebner rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO 389a0aa6bfeSHeiko Stuebner &pcfg_pull_down>; 390a0aa6bfeSHeiko Stuebner }; 391a0aa6bfeSHeiko Stuebner }; 392a0aa6bfeSHeiko Stuebner}; 393a0aa6bfeSHeiko Stuebner 394a0aa6bfeSHeiko Stuebner&wifi { 395a0aa6bfeSHeiko Stuebner wifi_perst_l: wifi-perst-l { 396a0aa6bfeSHeiko Stuebner rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>; 397a0aa6bfeSHeiko Stuebner }; 398a0aa6bfeSHeiko Stuebner 399a0aa6bfeSHeiko Stuebner wlan_host_wake_l: wlan-host-wake-l { 400a0aa6bfeSHeiko Stuebner rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_none>; 401a0aa6bfeSHeiko Stuebner }; 402a0aa6bfeSHeiko Stuebner}; 403