1*b2d2a78aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*b2d2a78aSEmmanuel Vadot/* 3*b2d2a78aSEmmanuel Vadot * Copyright (c) 2024 Rockchip Electronics Co., Ltd. 4*b2d2a78aSEmmanuel Vadot * 5*b2d2a78aSEmmanuel Vadot */ 6*b2d2a78aSEmmanuel Vadot 7*b2d2a78aSEmmanuel Vadot/dts-v1/; 8*b2d2a78aSEmmanuel Vadot 9*b2d2a78aSEmmanuel Vadot#include <dt-bindings/leds/common.h> 10*b2d2a78aSEmmanuel Vadot#include "rk3588-coolpi-cm5.dtsi" 11*b2d2a78aSEmmanuel Vadot 12*b2d2a78aSEmmanuel Vadot/ { 13*b2d2a78aSEmmanuel Vadot model = "CoolPi CM5 GenBook"; 14*b2d2a78aSEmmanuel Vadot compatible = "coolpi,pi-cm5-genbook", "coolpi,pi-cm5", "rockchip,rk3588"; 15*b2d2a78aSEmmanuel Vadot 16*b2d2a78aSEmmanuel Vadot backlight: backlight { 17*b2d2a78aSEmmanuel Vadot compatible = "pwm-backlight"; 18*b2d2a78aSEmmanuel Vadot enable-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; 19*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 20*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&bl_en>; 21*b2d2a78aSEmmanuel Vadot power-supply = <&vcc12v_dcin>; 22*b2d2a78aSEmmanuel Vadot pwms = <&pwm6 0 25000 0>; 23*b2d2a78aSEmmanuel Vadot }; 24*b2d2a78aSEmmanuel Vadot 25*b2d2a78aSEmmanuel Vadot battery: battery { 26*b2d2a78aSEmmanuel Vadot compatible = "simple-battery"; 27*b2d2a78aSEmmanuel Vadot charge-full-design-microamp-hours = <9800000>; 28*b2d2a78aSEmmanuel Vadot voltage-max-design-microvolt = <4350000>; 29*b2d2a78aSEmmanuel Vadot voltage-min-design-microvolt = <3000000>; 30*b2d2a78aSEmmanuel Vadot }; 31*b2d2a78aSEmmanuel Vadot 32*b2d2a78aSEmmanuel Vadot charger: dc-charger { 33*b2d2a78aSEmmanuel Vadot compatible = "gpio-charger"; 34*b2d2a78aSEmmanuel Vadot charger-type = "mains"; 35*b2d2a78aSEmmanuel Vadot gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>; 36*b2d2a78aSEmmanuel Vadot }; 37*b2d2a78aSEmmanuel Vadot 38*b2d2a78aSEmmanuel Vadot leds: leds { 39*b2d2a78aSEmmanuel Vadot compatible = "gpio-leds"; 40*b2d2a78aSEmmanuel Vadot 41*b2d2a78aSEmmanuel Vadot heartbeat_led: led-0 { 42*b2d2a78aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 43*b2d2a78aSEmmanuel Vadot function = LED_FUNCTION_STATUS; 44*b2d2a78aSEmmanuel Vadot gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>; 45*b2d2a78aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 46*b2d2a78aSEmmanuel Vadot }; 47*b2d2a78aSEmmanuel Vadot 48*b2d2a78aSEmmanuel Vadot wlan_led: led-1 { 49*b2d2a78aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 50*b2d2a78aSEmmanuel Vadot function = LED_FUNCTION_WLAN; 51*b2d2a78aSEmmanuel Vadot gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; 52*b2d2a78aSEmmanuel Vadot }; 53*b2d2a78aSEmmanuel Vadot 54*b2d2a78aSEmmanuel Vadot charging_red: led-2 { 55*b2d2a78aSEmmanuel Vadot function = LED_FUNCTION_CHARGING; 56*b2d2a78aSEmmanuel Vadot color = <LED_COLOR_ID_RED>; 57*b2d2a78aSEmmanuel Vadot gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; 58*b2d2a78aSEmmanuel Vadot }; 59*b2d2a78aSEmmanuel Vadot }; 60*b2d2a78aSEmmanuel Vadot 61*b2d2a78aSEmmanuel Vadot vcc12v_dcin: vcc12v-dcin-regulator { 62*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 63*b2d2a78aSEmmanuel Vadot regulator-name = "vcc12v_dcin"; 64*b2d2a78aSEmmanuel Vadot regulator-always-on; 65*b2d2a78aSEmmanuel Vadot regulator-boot-on; 66*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 67*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 68*b2d2a78aSEmmanuel Vadot }; 69*b2d2a78aSEmmanuel Vadot 70*b2d2a78aSEmmanuel Vadot vcc_sys: vcc-sys-regulator { 71*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 72*b2d2a78aSEmmanuel Vadot regulator-name = "vcc_sys"; 73*b2d2a78aSEmmanuel Vadot regulator-always-on; 74*b2d2a78aSEmmanuel Vadot regulator-boot-on; 75*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <7000000>; 76*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <7000000>; 77*b2d2a78aSEmmanuel Vadot vin-supply = <&vcc12v_dcin>; 78*b2d2a78aSEmmanuel Vadot }; 79*b2d2a78aSEmmanuel Vadot 80*b2d2a78aSEmmanuel Vadot vcc5v0_sys: vcc5v0-sys-regulator { 81*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 82*b2d2a78aSEmmanuel Vadot regulator-name = "vcc5v0_sys"; 83*b2d2a78aSEmmanuel Vadot regulator-always-on; 84*b2d2a78aSEmmanuel Vadot regulator-boot-on; 85*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <7000000>; 86*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <7000000>; 87*b2d2a78aSEmmanuel Vadot vin-supply = <&vcc_sys>; 88*b2d2a78aSEmmanuel Vadot }; 89*b2d2a78aSEmmanuel Vadot 90*b2d2a78aSEmmanuel Vadot vcc3v3_sys: vcc3v3-sys-regulator { 91*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 92*b2d2a78aSEmmanuel Vadot regulator-name = "vcc3v3_sys"; 93*b2d2a78aSEmmanuel Vadot regulator-always-on; 94*b2d2a78aSEmmanuel Vadot regulator-boot-on; 95*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 96*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 97*b2d2a78aSEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 98*b2d2a78aSEmmanuel Vadot }; 99*b2d2a78aSEmmanuel Vadot 100*b2d2a78aSEmmanuel Vadot vcc3v3_lcd: vcc3v3-lcd-regulator { 101*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 102*b2d2a78aSEmmanuel Vadot regulator-name = "vcc3v3_lcd"; 103*b2d2a78aSEmmanuel Vadot enable-active-high; 104*b2d2a78aSEmmanuel Vadot gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; 105*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 106*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&lcdpwr_en>; 107*b2d2a78aSEmmanuel Vadot vin-supply = <&vcc3v3_sys>; 108*b2d2a78aSEmmanuel Vadot }; 109*b2d2a78aSEmmanuel Vadot 110*b2d2a78aSEmmanuel Vadot vcc5v0_usb: vcc5v0-usb-regulator { 111*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 112*b2d2a78aSEmmanuel Vadot regulator-name = "vcc5v0_usb"; 113*b2d2a78aSEmmanuel Vadot regulator-boot-on; 114*b2d2a78aSEmmanuel Vadot regulator-always-on; 115*b2d2a78aSEmmanuel Vadot enable-active-high; 116*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 117*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 118*b2d2a78aSEmmanuel Vadot gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; 119*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 120*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&usb_pwren>; 121*b2d2a78aSEmmanuel Vadot vin-supply = <&vcc_sys>; 122*b2d2a78aSEmmanuel Vadot }; 123*b2d2a78aSEmmanuel Vadot 124*b2d2a78aSEmmanuel Vadot vcc5v0_usb_host0: vcc5v0_usb30_host: vcc5v0-usb-host-regulator { 125*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 126*b2d2a78aSEmmanuel Vadot regulator-name = "vcc5v0_host"; 127*b2d2a78aSEmmanuel Vadot regulator-boot-on; 128*b2d2a78aSEmmanuel Vadot regulator-always-on; 129*b2d2a78aSEmmanuel Vadot enable-active-high; 130*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 131*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 132*b2d2a78aSEmmanuel Vadot gpio = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>; 133*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 134*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&usb_host_pwren>; 135*b2d2a78aSEmmanuel Vadot vin-supply = <&vcc5v0_usb>; 136*b2d2a78aSEmmanuel Vadot }; 137*b2d2a78aSEmmanuel Vadot}; 138*b2d2a78aSEmmanuel Vadot 139*b2d2a78aSEmmanuel Vadot&i2c4 { 140*b2d2a78aSEmmanuel Vadot status = "okay"; 141*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 142*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&i2c4m3_xfer>; 143*b2d2a78aSEmmanuel Vadot 144*b2d2a78aSEmmanuel Vadot cw2015@62 { 145*b2d2a78aSEmmanuel Vadot compatible = "cellwise,cw2015"; 146*b2d2a78aSEmmanuel Vadot reg = <0x62>; 147*b2d2a78aSEmmanuel Vadot 148*b2d2a78aSEmmanuel Vadot cellwise,battery-profile = /bits/ 8 < 149*b2d2a78aSEmmanuel Vadot 0x17 0x67 0x69 0x63 0x63 0x62 0x62 0x5F 150*b2d2a78aSEmmanuel Vadot 0x52 0x73 0x4C 0x5A 0x5B 0x4B 0x42 0x3A 151*b2d2a78aSEmmanuel Vadot 0x33 0x2D 0x29 0x28 0x2E 0x31 0x3C 0x49 152*b2d2a78aSEmmanuel Vadot 0x2C 0x2C 0x0C 0xCD 0x30 0x51 0x50 0x66 153*b2d2a78aSEmmanuel Vadot 0x74 0x74 0x75 0x78 0x41 0x1B 0x84 0x5F 154*b2d2a78aSEmmanuel Vadot 0x0B 0x34 0x1C 0x45 0x89 0x92 0xA0 0x13 155*b2d2a78aSEmmanuel Vadot 0x2C 0x55 0xAB 0xCB 0x80 0x5E 0x7B 0xCB 156*b2d2a78aSEmmanuel Vadot 0x2F 0x00 0x64 0xA5 0xB5 0x10 0x18 0x21 157*b2d2a78aSEmmanuel Vadot >; 158*b2d2a78aSEmmanuel Vadot 159*b2d2a78aSEmmanuel Vadot cellwise,monitor-interval-ms = <3000>; 160*b2d2a78aSEmmanuel Vadot monitored-battery = <&battery>; 161*b2d2a78aSEmmanuel Vadot power-supplies = <&charger>; 162*b2d2a78aSEmmanuel Vadot }; 163*b2d2a78aSEmmanuel Vadot}; 164*b2d2a78aSEmmanuel Vadot 165*b2d2a78aSEmmanuel Vadot&i2c5 { 166*b2d2a78aSEmmanuel Vadot status = "okay"; 167*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 168*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&i2c5m3_xfer>; 169*b2d2a78aSEmmanuel Vadot 170*b2d2a78aSEmmanuel Vadot touchpad: touchpad@2c { 171*b2d2a78aSEmmanuel Vadot compatible = "hid-over-i2c"; 172*b2d2a78aSEmmanuel Vadot reg = <0x2c>; 173*b2d2a78aSEmmanuel Vadot interrupt-parent = <&gpio1>; 174*b2d2a78aSEmmanuel Vadot interrupts = <RK_PD6 IRQ_TYPE_LEVEL_LOW>; 175*b2d2a78aSEmmanuel Vadot hid-descr-addr = <0x0020>; 176*b2d2a78aSEmmanuel Vadot }; 177*b2d2a78aSEmmanuel Vadot}; 178*b2d2a78aSEmmanuel Vadot 179*b2d2a78aSEmmanuel Vadot&gmac0 { 180*b2d2a78aSEmmanuel Vadot status = "disabled"; 181*b2d2a78aSEmmanuel Vadot}; 182*b2d2a78aSEmmanuel Vadot 183*b2d2a78aSEmmanuel Vadot/* M.2 E-Key */ 184*b2d2a78aSEmmanuel Vadot&pcie2x1l0 { 185*b2d2a78aSEmmanuel Vadot reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; 186*b2d2a78aSEmmanuel Vadot vpcie3v3-supply = <&vcc3v3_sys>; 187*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 188*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&pcie_clkreq &pcie_wake &pcie_rst &wifi_pwron &bt_pwron>; 189*b2d2a78aSEmmanuel Vadot status = "okay"; 190*b2d2a78aSEmmanuel Vadot}; 191*b2d2a78aSEmmanuel Vadot 192*b2d2a78aSEmmanuel Vadot&pcie2x1l2 { 193*b2d2a78aSEmmanuel Vadot status = "disabled"; 194*b2d2a78aSEmmanuel Vadot}; 195*b2d2a78aSEmmanuel Vadot 196*b2d2a78aSEmmanuel Vadot&pcie30phy { 197*b2d2a78aSEmmanuel Vadot status = "okay"; 198*b2d2a78aSEmmanuel Vadot}; 199*b2d2a78aSEmmanuel Vadot 200*b2d2a78aSEmmanuel Vadot/* M.2 M-Key ssd */ 201*b2d2a78aSEmmanuel Vadot&pcie3x4 { 202*b2d2a78aSEmmanuel Vadot reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; 203*b2d2a78aSEmmanuel Vadot vpcie3v3-supply = <&vcc3v3_sys>; 204*b2d2a78aSEmmanuel Vadot status = "okay"; 205*b2d2a78aSEmmanuel Vadot}; 206*b2d2a78aSEmmanuel Vadot 207*b2d2a78aSEmmanuel Vadot&pinctrl { 208*b2d2a78aSEmmanuel Vadot lcd { 209*b2d2a78aSEmmanuel Vadot lcdpwr_en: lcdpwr-en { 210*b2d2a78aSEmmanuel Vadot rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>; 211*b2d2a78aSEmmanuel Vadot }; 212*b2d2a78aSEmmanuel Vadot 213*b2d2a78aSEmmanuel Vadot bl_en: bl-en { 214*b2d2a78aSEmmanuel Vadot rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 215*b2d2a78aSEmmanuel Vadot }; 216*b2d2a78aSEmmanuel Vadot }; 217*b2d2a78aSEmmanuel Vadot 218*b2d2a78aSEmmanuel Vadot usb { 219*b2d2a78aSEmmanuel Vadot usb_pwren: usb-pwren { 220*b2d2a78aSEmmanuel Vadot rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>; 221*b2d2a78aSEmmanuel Vadot }; 222*b2d2a78aSEmmanuel Vadot 223*b2d2a78aSEmmanuel Vadot usb_otg_pwren: usb-otg-pwren { 224*b2d2a78aSEmmanuel Vadot rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 225*b2d2a78aSEmmanuel Vadot }; 226*b2d2a78aSEmmanuel Vadot 227*b2d2a78aSEmmanuel Vadot usb_host_pwren: usb-host-pwren { 228*b2d2a78aSEmmanuel Vadot rockchip,pins = <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; 229*b2d2a78aSEmmanuel Vadot }; 230*b2d2a78aSEmmanuel Vadot }; 231*b2d2a78aSEmmanuel Vadot 232*b2d2a78aSEmmanuel Vadot wifi { 233*b2d2a78aSEmmanuel Vadot bt_pwron: bt-pwron { 234*b2d2a78aSEmmanuel Vadot rockchip,pins = <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; 235*b2d2a78aSEmmanuel Vadot }; 236*b2d2a78aSEmmanuel Vadot 237*b2d2a78aSEmmanuel Vadot pcie_clkreq: pcie-clkreq { 238*b2d2a78aSEmmanuel Vadot rockchip,pins = <4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 239*b2d2a78aSEmmanuel Vadot }; 240*b2d2a78aSEmmanuel Vadot 241*b2d2a78aSEmmanuel Vadot pcie_rst: pcie-rst { 242*b2d2a78aSEmmanuel Vadot rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; 243*b2d2a78aSEmmanuel Vadot }; 244*b2d2a78aSEmmanuel Vadot 245*b2d2a78aSEmmanuel Vadot wifi_pwron: wifi-pwron { 246*b2d2a78aSEmmanuel Vadot rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 247*b2d2a78aSEmmanuel Vadot }; 248*b2d2a78aSEmmanuel Vadot 249*b2d2a78aSEmmanuel Vadot pcie_wake: pcie-wake { 250*b2d2a78aSEmmanuel Vadot rockchip,pins = <4 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>; 251*b2d2a78aSEmmanuel Vadot }; 252*b2d2a78aSEmmanuel Vadot }; 253*b2d2a78aSEmmanuel Vadot}; 254*b2d2a78aSEmmanuel Vadot 255*b2d2a78aSEmmanuel Vadot&pwm6 { 256*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&pwm6m1_pins>; 257*b2d2a78aSEmmanuel Vadot status = "okay"; 258*b2d2a78aSEmmanuel Vadot}; 259*b2d2a78aSEmmanuel Vadot 260*b2d2a78aSEmmanuel Vadot&sdmmc { 261*b2d2a78aSEmmanuel Vadot status = "disabled"; 262*b2d2a78aSEmmanuel Vadot}; 263*b2d2a78aSEmmanuel Vadot 264*b2d2a78aSEmmanuel Vadot&sfc { 265*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 266*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&fspim2_pins>; 267*b2d2a78aSEmmanuel Vadot status = "okay"; 268*b2d2a78aSEmmanuel Vadot 269*b2d2a78aSEmmanuel Vadot flash@0 { 270*b2d2a78aSEmmanuel Vadot compatible = "jedec,spi-nor"; 271*b2d2a78aSEmmanuel Vadot reg = <0x0>; 272*b2d2a78aSEmmanuel Vadot spi-max-frequency = <100000000>; 273*b2d2a78aSEmmanuel Vadot spi-rx-bus-width = <4>; 274*b2d2a78aSEmmanuel Vadot spi-tx-bus-width = <1>; 275*b2d2a78aSEmmanuel Vadot }; 276*b2d2a78aSEmmanuel Vadot}; 277*b2d2a78aSEmmanuel Vadot 278*b2d2a78aSEmmanuel Vadot&u2phy0 { 279*b2d2a78aSEmmanuel Vadot status = "okay"; 280*b2d2a78aSEmmanuel Vadot}; 281*b2d2a78aSEmmanuel Vadot 282*b2d2a78aSEmmanuel Vadot&u2phy0_otg { 283*b2d2a78aSEmmanuel Vadot status = "okay"; 284*b2d2a78aSEmmanuel Vadot}; 285*b2d2a78aSEmmanuel Vadot 286*b2d2a78aSEmmanuel Vadot&usbdp_phy0 { 287*b2d2a78aSEmmanuel Vadot status = "okay"; 288*b2d2a78aSEmmanuel Vadot}; 289*b2d2a78aSEmmanuel Vadot 290*b2d2a78aSEmmanuel Vadot&u2phy1 { 291*b2d2a78aSEmmanuel Vadot status = "okay"; 292*b2d2a78aSEmmanuel Vadot}; 293*b2d2a78aSEmmanuel Vadot 294*b2d2a78aSEmmanuel Vadot&u2phy1_otg { 295*b2d2a78aSEmmanuel Vadot status = "okay"; 296*b2d2a78aSEmmanuel Vadot}; 297*b2d2a78aSEmmanuel Vadot 298*b2d2a78aSEmmanuel Vadot&u2phy2 { 299*b2d2a78aSEmmanuel Vadot status = "okay"; 300*b2d2a78aSEmmanuel Vadot}; 301*b2d2a78aSEmmanuel Vadot 302*b2d2a78aSEmmanuel Vadot&u2phy3 { 303*b2d2a78aSEmmanuel Vadot status = "okay"; 304*b2d2a78aSEmmanuel Vadot}; 305*b2d2a78aSEmmanuel Vadot 306*b2d2a78aSEmmanuel Vadot&u2phy2_host { 307*b2d2a78aSEmmanuel Vadot phy-supply = <&vcc5v0_usb_host0>; 308*b2d2a78aSEmmanuel Vadot status = "okay"; 309*b2d2a78aSEmmanuel Vadot}; 310*b2d2a78aSEmmanuel Vadot 311*b2d2a78aSEmmanuel Vadot&u2phy3_host { 312*b2d2a78aSEmmanuel Vadot phy-supply = <&vcc5v0_usb>; 313*b2d2a78aSEmmanuel Vadot status = "okay"; 314*b2d2a78aSEmmanuel Vadot}; 315*b2d2a78aSEmmanuel Vadot 316*b2d2a78aSEmmanuel Vadot&usbdp_phy1 { 317*b2d2a78aSEmmanuel Vadot status = "okay"; 318*b2d2a78aSEmmanuel Vadot}; 319*b2d2a78aSEmmanuel Vadot 320*b2d2a78aSEmmanuel Vadot/* For Keypad */ 321*b2d2a78aSEmmanuel Vadot&usb_host0_ehci { 322*b2d2a78aSEmmanuel Vadot status = "okay"; 323*b2d2a78aSEmmanuel Vadot}; 324*b2d2a78aSEmmanuel Vadot 325*b2d2a78aSEmmanuel Vadot&usb_host0_ohci { 326*b2d2a78aSEmmanuel Vadot status = "okay"; 327*b2d2a78aSEmmanuel Vadot}; 328*b2d2a78aSEmmanuel Vadot 329*b2d2a78aSEmmanuel Vadot/* Type C port */ 330*b2d2a78aSEmmanuel Vadot&usb_host0_xhci { 331*b2d2a78aSEmmanuel Vadot dr_mode = "peripheral"; 332*b2d2a78aSEmmanuel Vadot maximum-speed = "high-speed"; 333*b2d2a78aSEmmanuel Vadot status = "okay"; 334*b2d2a78aSEmmanuel Vadot}; 335*b2d2a78aSEmmanuel Vadot 336*b2d2a78aSEmmanuel Vadot/* connected to a HUB for camera and BT */ 337*b2d2a78aSEmmanuel Vadot&usb_host1_ehci { 338*b2d2a78aSEmmanuel Vadot status = "okay"; 339*b2d2a78aSEmmanuel Vadot}; 340*b2d2a78aSEmmanuel Vadot 341*b2d2a78aSEmmanuel Vadot&usb_host1_ohci { 342*b2d2a78aSEmmanuel Vadot status = "okay"; 343*b2d2a78aSEmmanuel Vadot}; 344*b2d2a78aSEmmanuel Vadot 345*b2d2a78aSEmmanuel Vadot/* USB A out */ 346*b2d2a78aSEmmanuel Vadot&usb_host1_xhci { 347*b2d2a78aSEmmanuel Vadot dr_mode = "host"; 348*b2d2a78aSEmmanuel Vadot status = "okay"; 349*b2d2a78aSEmmanuel Vadot}; 350