1*5f62a964SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*5f62a964SEmmanuel Vadot 3*5f62a964SEmmanuel Vadot/dts-v1/; 4*5f62a964SEmmanuel Vadot 5*5f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h> 6*5f62a964SEmmanuel Vadot#include <dt-bindings/leds/common.h> 7*5f62a964SEmmanuel Vadot#include "rk3308.dtsi" 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel Vadot/ { 10*5f62a964SEmmanuel Vadot model = "Banana Pi P2 Pro (RK3308) Board"; 11*5f62a964SEmmanuel Vadot compatible = "sinovoip,rk3308-bpi-p2pro", "rockchip,rk3308"; 12*5f62a964SEmmanuel Vadot 13*5f62a964SEmmanuel Vadot aliases { 14*5f62a964SEmmanuel Vadot ethernet0 = &gmac; 15*5f62a964SEmmanuel Vadot mmc0 = &emmc; 16*5f62a964SEmmanuel Vadot mmc1 = &sdmmc; 17*5f62a964SEmmanuel Vadot mmc2 = &sdio; 18*5f62a964SEmmanuel Vadot }; 19*5f62a964SEmmanuel Vadot 20*5f62a964SEmmanuel Vadot chosen { 21*5f62a964SEmmanuel Vadot stdout-path = "serial2:1500000n8"; 22*5f62a964SEmmanuel Vadot }; 23*5f62a964SEmmanuel Vadot 24*5f62a964SEmmanuel Vadot adc-keys { 25*5f62a964SEmmanuel Vadot compatible = "adc-keys"; 26*5f62a964SEmmanuel Vadot io-channels = <&saradc 1>; 27*5f62a964SEmmanuel Vadot io-channel-names = "buttons"; 28*5f62a964SEmmanuel Vadot keyup-threshold-microvolt = <1800000>; 29*5f62a964SEmmanuel Vadot poll-interval = <100>; 30*5f62a964SEmmanuel Vadot 31*5f62a964SEmmanuel Vadot button-recovery { 32*5f62a964SEmmanuel Vadot label = "Recovery"; 33*5f62a964SEmmanuel Vadot linux,code = <KEY_VENDOR>; 34*5f62a964SEmmanuel Vadot press-threshold-microvolt = <10000>; 35*5f62a964SEmmanuel Vadot }; 36*5f62a964SEmmanuel Vadot }; 37*5f62a964SEmmanuel Vadot 38*5f62a964SEmmanuel Vadot analog-sound { 39*5f62a964SEmmanuel Vadot compatible = "audio-graph-card"; 40*5f62a964SEmmanuel Vadot label = "rockchip,rk3308"; 41*5f62a964SEmmanuel Vadot 42*5f62a964SEmmanuel Vadot dais = <&i2s_8ch_2_p0>; 43*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 44*5f62a964SEmmanuel Vadot pinctrl-0 = <&phone_ctl>; 45*5f62a964SEmmanuel Vadot }; 46*5f62a964SEmmanuel Vadot 47*5f62a964SEmmanuel Vadot leds { 48*5f62a964SEmmanuel Vadot compatible = "gpio-leds"; 49*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 50*5f62a964SEmmanuel Vadot pinctrl-0 = <&led_en0>, <&led_en1>; 51*5f62a964SEmmanuel Vadot 52*5f62a964SEmmanuel Vadot blue-led { 53*5f62a964SEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 54*5f62a964SEmmanuel Vadot default-state = "on"; 55*5f62a964SEmmanuel Vadot function = LED_FUNCTION_POWER; 56*5f62a964SEmmanuel Vadot gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 57*5f62a964SEmmanuel Vadot label = "blue:power"; 58*5f62a964SEmmanuel Vadot linux,default-trigger = "default-on"; 59*5f62a964SEmmanuel Vadot }; 60*5f62a964SEmmanuel Vadot 61*5f62a964SEmmanuel Vadot green-led { 62*5f62a964SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 63*5f62a964SEmmanuel Vadot default-state = "on"; 64*5f62a964SEmmanuel Vadot function = LED_FUNCTION_HEARTBEAT; 65*5f62a964SEmmanuel Vadot gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 66*5f62a964SEmmanuel Vadot label = "green:heartbeat"; 67*5f62a964SEmmanuel Vadot linux,default-trigger = "heartbeat"; 68*5f62a964SEmmanuel Vadot }; 69*5f62a964SEmmanuel Vadot }; 70*5f62a964SEmmanuel Vadot 71*5f62a964SEmmanuel Vadot vdd_log: regulator-1v04-vdd-log { 72*5f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 73*5f62a964SEmmanuel Vadot regulator-name = "vdd_log"; 74*5f62a964SEmmanuel Vadot regulator-always-on; 75*5f62a964SEmmanuel Vadot regulator-boot-on; 76*5f62a964SEmmanuel Vadot regulator-min-microvolt = <1040000>; 77*5f62a964SEmmanuel Vadot regulator-max-microvolt = <1040000>; 78*5f62a964SEmmanuel Vadot vin-supply = <&vcc_in>; 79*5f62a964SEmmanuel Vadot }; 80*5f62a964SEmmanuel Vadot 81*5f62a964SEmmanuel Vadot vcc_ddr: regulator-1v5-vcc-ddr { 82*5f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 83*5f62a964SEmmanuel Vadot regulator-name = "vcc_ddr"; 84*5f62a964SEmmanuel Vadot regulator-always-on; 85*5f62a964SEmmanuel Vadot regulator-boot-on; 86*5f62a964SEmmanuel Vadot regulator-min-microvolt = <1500000>; 87*5f62a964SEmmanuel Vadot regulator-max-microvolt = <1500000>; 88*5f62a964SEmmanuel Vadot vin-supply = <&vcc_in>; 89*5f62a964SEmmanuel Vadot }; 90*5f62a964SEmmanuel Vadot 91*5f62a964SEmmanuel Vadot vcc_1v8: regulator-1v8-vcc { 92*5f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 93*5f62a964SEmmanuel Vadot regulator-name = "vcc_1v8"; 94*5f62a964SEmmanuel Vadot regulator-always-on; 95*5f62a964SEmmanuel Vadot regulator-boot-on; 96*5f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 97*5f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 98*5f62a964SEmmanuel Vadot vin-supply = <&vcc_io>; 99*5f62a964SEmmanuel Vadot }; 100*5f62a964SEmmanuel Vadot 101*5f62a964SEmmanuel Vadot vcc_io: regulator-3v3-vcc-io { 102*5f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 103*5f62a964SEmmanuel Vadot regulator-name = "vcc_io"; 104*5f62a964SEmmanuel Vadot regulator-always-on; 105*5f62a964SEmmanuel Vadot regulator-boot-on; 106*5f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 107*5f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 108*5f62a964SEmmanuel Vadot vin-supply = <&vcc_in>; 109*5f62a964SEmmanuel Vadot }; 110*5f62a964SEmmanuel Vadot 111*5f62a964SEmmanuel Vadot vcc_in: regulator-5v0-vcc-in { 112*5f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 113*5f62a964SEmmanuel Vadot regulator-name = "vcc_in"; 114*5f62a964SEmmanuel Vadot regulator-always-on; 115*5f62a964SEmmanuel Vadot regulator-boot-on; 116*5f62a964SEmmanuel Vadot regulator-min-microvolt = <5000000>; 117*5f62a964SEmmanuel Vadot regulator-max-microvolt = <5000000>; 118*5f62a964SEmmanuel Vadot }; 119*5f62a964SEmmanuel Vadot 120*5f62a964SEmmanuel Vadot vdd_core: regulator-vdd-core { 121*5f62a964SEmmanuel Vadot compatible = "pwm-regulator"; 122*5f62a964SEmmanuel Vadot pwms = <&pwm0 0 5000 1>; 123*5f62a964SEmmanuel Vadot pwm-supply = <&vcc_in>; 124*5f62a964SEmmanuel Vadot regulator-name = "vdd_core"; 125*5f62a964SEmmanuel Vadot regulator-always-on; 126*5f62a964SEmmanuel Vadot regulator-boot-on; 127*5f62a964SEmmanuel Vadot regulator-min-microvolt = <827000>; 128*5f62a964SEmmanuel Vadot regulator-max-microvolt = <1340000>; 129*5f62a964SEmmanuel Vadot regulator-settling-time-up-us = <250>; 130*5f62a964SEmmanuel Vadot }; 131*5f62a964SEmmanuel Vadot 132*5f62a964SEmmanuel Vadot sdio_pwrseq: sdio-pwrseq { 133*5f62a964SEmmanuel Vadot compatible = "mmc-pwrseq-simple"; 134*5f62a964SEmmanuel Vadot pinctrl-0 = <&wifi_reg_on>; 135*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 136*5f62a964SEmmanuel Vadot reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; 137*5f62a964SEmmanuel Vadot }; 138*5f62a964SEmmanuel Vadot}; 139*5f62a964SEmmanuel Vadot 140*5f62a964SEmmanuel Vadot&codec { 141*5f62a964SEmmanuel Vadot status = "okay"; 142*5f62a964SEmmanuel Vadot 143*5f62a964SEmmanuel Vadot port { 144*5f62a964SEmmanuel Vadot codec_p0_0: endpoint { 145*5f62a964SEmmanuel Vadot remote-endpoint = <&i2s_8ch_2_p0_0>; 146*5f62a964SEmmanuel Vadot }; 147*5f62a964SEmmanuel Vadot }; 148*5f62a964SEmmanuel Vadot}; 149*5f62a964SEmmanuel Vadot 150*5f62a964SEmmanuel Vadot&cpu0 { 151*5f62a964SEmmanuel Vadot cpu-supply = <&vdd_core>; 152*5f62a964SEmmanuel Vadot}; 153*5f62a964SEmmanuel Vadot 154*5f62a964SEmmanuel Vadot&emmc { 155*5f62a964SEmmanuel Vadot cap-mmc-highspeed; 156*5f62a964SEmmanuel Vadot mmc-hs200-1_8v; 157*5f62a964SEmmanuel Vadot no-sd; 158*5f62a964SEmmanuel Vadot no-sdio; 159*5f62a964SEmmanuel Vadot non-removable; 160*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 161*5f62a964SEmmanuel Vadot pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_pwren>; 162*5f62a964SEmmanuel Vadot status = "okay"; 163*5f62a964SEmmanuel Vadot}; 164*5f62a964SEmmanuel Vadot 165*5f62a964SEmmanuel Vadot&gmac { 166*5f62a964SEmmanuel Vadot assigned-clocks = <&cru SCLK_MAC>; 167*5f62a964SEmmanuel Vadot assigned-clock-parents = <&mac_clkin>; 168*5f62a964SEmmanuel Vadot clock_in_out = "input"; 169*5f62a964SEmmanuel Vadot phy-handle = <&rtl8201f>; 170*5f62a964SEmmanuel Vadot phy-supply = <&vcc_io>; 171*5f62a964SEmmanuel Vadot status = "okay"; 172*5f62a964SEmmanuel Vadot 173*5f62a964SEmmanuel Vadot mdio { 174*5f62a964SEmmanuel Vadot #address-cells = <1>; 175*5f62a964SEmmanuel Vadot #size-cells = <0>; 176*5f62a964SEmmanuel Vadot compatible = "snps,dwmac-mdio"; 177*5f62a964SEmmanuel Vadot 178*5f62a964SEmmanuel Vadot rtl8201f: ethernet-phy@1 { 179*5f62a964SEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 180*5f62a964SEmmanuel Vadot reg = <1>; 181*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 182*5f62a964SEmmanuel Vadot pinctrl-0 = <&mac_rst>; 183*5f62a964SEmmanuel Vadot reset-assert-us = <50000>; 184*5f62a964SEmmanuel Vadot reset-deassert-us = <50000>; 185*5f62a964SEmmanuel Vadot reset-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; 186*5f62a964SEmmanuel Vadot }; 187*5f62a964SEmmanuel Vadot }; 188*5f62a964SEmmanuel Vadot}; 189*5f62a964SEmmanuel Vadot 190*5f62a964SEmmanuel Vadot&i2s_8ch_2 { 191*5f62a964SEmmanuel Vadot #sound-dai-cells = <0>; 192*5f62a964SEmmanuel Vadot status = "okay"; 193*5f62a964SEmmanuel Vadot 194*5f62a964SEmmanuel Vadot i2s_8ch_2_p0: port { 195*5f62a964SEmmanuel Vadot i2s_8ch_2_p0_0: endpoint { 196*5f62a964SEmmanuel Vadot dai-format = "i2s"; 197*5f62a964SEmmanuel Vadot mclk-fs = <256>; 198*5f62a964SEmmanuel Vadot remote-endpoint = <&codec_p0_0>; 199*5f62a964SEmmanuel Vadot }; 200*5f62a964SEmmanuel Vadot }; 201*5f62a964SEmmanuel Vadot}; 202*5f62a964SEmmanuel Vadot 203*5f62a964SEmmanuel Vadot&io_domains { 204*5f62a964SEmmanuel Vadot vccio0-supply = <&vcc_io>; 205*5f62a964SEmmanuel Vadot vccio1-supply = <&vcc_io>; 206*5f62a964SEmmanuel Vadot vccio2-supply = <&vcc_io>; 207*5f62a964SEmmanuel Vadot vccio3-supply = <&vcc_io>; 208*5f62a964SEmmanuel Vadot vccio4-supply = <&vcc_1v8>; 209*5f62a964SEmmanuel Vadot vccio5-supply = <&vcc_io>; 210*5f62a964SEmmanuel Vadot status = "okay"; 211*5f62a964SEmmanuel Vadot}; 212*5f62a964SEmmanuel Vadot 213*5f62a964SEmmanuel Vadot&pinctrl { 214*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 215*5f62a964SEmmanuel Vadot pinctrl-0 = <&rtc_32k>; 216*5f62a964SEmmanuel Vadot 217*5f62a964SEmmanuel Vadot bt { 218*5f62a964SEmmanuel Vadot bt_reg_on: bt-reg-on { 219*5f62a964SEmmanuel Vadot rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 220*5f62a964SEmmanuel Vadot }; 221*5f62a964SEmmanuel Vadot 222*5f62a964SEmmanuel Vadot bt_wake_host: bt-wake-host { 223*5f62a964SEmmanuel Vadot rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 224*5f62a964SEmmanuel Vadot }; 225*5f62a964SEmmanuel Vadot 226*5f62a964SEmmanuel Vadot host_wake_bt: host-wake-bt { 227*5f62a964SEmmanuel Vadot rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 228*5f62a964SEmmanuel Vadot }; 229*5f62a964SEmmanuel Vadot }; 230*5f62a964SEmmanuel Vadot 231*5f62a964SEmmanuel Vadot gmac { 232*5f62a964SEmmanuel Vadot mac_rst: mac-rst { 233*5f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; 234*5f62a964SEmmanuel Vadot }; 235*5f62a964SEmmanuel Vadot }; 236*5f62a964SEmmanuel Vadot 237*5f62a964SEmmanuel Vadot leds { 238*5f62a964SEmmanuel Vadot led_en0: led-en0 { 239*5f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 240*5f62a964SEmmanuel Vadot }; 241*5f62a964SEmmanuel Vadot 242*5f62a964SEmmanuel Vadot led_en1: led-en1 { 243*5f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 244*5f62a964SEmmanuel Vadot }; 245*5f62a964SEmmanuel Vadot }; 246*5f62a964SEmmanuel Vadot 247*5f62a964SEmmanuel Vadot sound { 248*5f62a964SEmmanuel Vadot phone_ctl: phone-ctl { 249*5f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 250*5f62a964SEmmanuel Vadot }; 251*5f62a964SEmmanuel Vadot }; 252*5f62a964SEmmanuel Vadot 253*5f62a964SEmmanuel Vadot wifi { 254*5f62a964SEmmanuel Vadot wifi_reg_on: wifi-reg-on { 255*5f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 256*5f62a964SEmmanuel Vadot }; 257*5f62a964SEmmanuel Vadot 258*5f62a964SEmmanuel Vadot wifi_wake_host: wifi-wake-host { 259*5f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; 260*5f62a964SEmmanuel Vadot }; 261*5f62a964SEmmanuel Vadot }; 262*5f62a964SEmmanuel Vadot}; 263*5f62a964SEmmanuel Vadot 264*5f62a964SEmmanuel Vadot&pwm0 { 265*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 266*5f62a964SEmmanuel Vadot pinctrl-0 = <&pwm0_pin_pull_down>; 267*5f62a964SEmmanuel Vadot status = "okay"; 268*5f62a964SEmmanuel Vadot}; 269*5f62a964SEmmanuel Vadot 270*5f62a964SEmmanuel Vadot&saradc { 271*5f62a964SEmmanuel Vadot vref-supply = <&vcc_1v8>; 272*5f62a964SEmmanuel Vadot status = "okay"; 273*5f62a964SEmmanuel Vadot}; 274*5f62a964SEmmanuel Vadot 275*5f62a964SEmmanuel Vadot/* WIFI part of the AP6256 connected with SDIO */ 276*5f62a964SEmmanuel Vadot&sdio { 277*5f62a964SEmmanuel Vadot #address-cells = <1>; 278*5f62a964SEmmanuel Vadot #size-cells = <0>; 279*5f62a964SEmmanuel Vadot cap-sd-highspeed; 280*5f62a964SEmmanuel Vadot cap-sdio-irq; 281*5f62a964SEmmanuel Vadot disable-wp; 282*5f62a964SEmmanuel Vadot keep-power-in-suspend; 283*5f62a964SEmmanuel Vadot mmc-pwrseq = <&sdio_pwrseq>; 284*5f62a964SEmmanuel Vadot no-mmc; 285*5f62a964SEmmanuel Vadot no-sd; 286*5f62a964SEmmanuel Vadot non-removable; 287*5f62a964SEmmanuel Vadot sd-uhs-sdr104; 288*5f62a964SEmmanuel Vadot status = "okay"; 289*5f62a964SEmmanuel Vadot 290*5f62a964SEmmanuel Vadot ap6256: wifi@1 { 291*5f62a964SEmmanuel Vadot compatible = "brcm,bcm43456-fmac", "brcm,bcm4329-fmac"; 292*5f62a964SEmmanuel Vadot reg = <1>; 293*5f62a964SEmmanuel Vadot interrupt-parent = <&gpio0>; 294*5f62a964SEmmanuel Vadot interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>; 295*5f62a964SEmmanuel Vadot interrupt-names = "host-wake"; 296*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 297*5f62a964SEmmanuel Vadot pinctrl-0 = <&wifi_wake_host>; 298*5f62a964SEmmanuel Vadot }; 299*5f62a964SEmmanuel Vadot}; 300*5f62a964SEmmanuel Vadot 301*5f62a964SEmmanuel Vadot&sdmmc { 302*5f62a964SEmmanuel Vadot cap-mmc-highspeed; 303*5f62a964SEmmanuel Vadot cap-sd-highspeed; 304*5f62a964SEmmanuel Vadot disable-wp; 305*5f62a964SEmmanuel Vadot vmmc-supply = <&vcc_io>; 306*5f62a964SEmmanuel Vadot status = "okay"; 307*5f62a964SEmmanuel Vadot}; 308*5f62a964SEmmanuel Vadot 309*5f62a964SEmmanuel Vadot&u2phy { 310*5f62a964SEmmanuel Vadot status = "okay"; 311*5f62a964SEmmanuel Vadot}; 312*5f62a964SEmmanuel Vadot 313*5f62a964SEmmanuel Vadot&u2phy_host { 314*5f62a964SEmmanuel Vadot status = "okay"; 315*5f62a964SEmmanuel Vadot}; 316*5f62a964SEmmanuel Vadot 317*5f62a964SEmmanuel Vadot&u2phy_otg { 318*5f62a964SEmmanuel Vadot status = "okay"; 319*5f62a964SEmmanuel Vadot}; 320*5f62a964SEmmanuel Vadot 321*5f62a964SEmmanuel Vadot&uart2 { 322*5f62a964SEmmanuel Vadot status = "okay"; 323*5f62a964SEmmanuel Vadot}; 324*5f62a964SEmmanuel Vadot 325*5f62a964SEmmanuel Vadot/* BT part of the AP6256 connected with UART */ 326*5f62a964SEmmanuel Vadot&uart4 { 327*5f62a964SEmmanuel Vadot uart-has-rtscts; 328*5f62a964SEmmanuel Vadot status = "okay"; 329*5f62a964SEmmanuel Vadot 330*5f62a964SEmmanuel Vadot bluetooth { 331*5f62a964SEmmanuel Vadot compatible = "brcm,bcm4345c5"; 332*5f62a964SEmmanuel Vadot clocks = <&cru SCLK_RTC32K>; 333*5f62a964SEmmanuel Vadot clock-names = "lpo"; 334*5f62a964SEmmanuel Vadot interrupt-parent = <&gpio4>; 335*5f62a964SEmmanuel Vadot interrupts = <RK_PB4 IRQ_TYPE_LEVEL_HIGH>; 336*5f62a964SEmmanuel Vadot interrupt-names = "host-wakeup"; 337*5f62a964SEmmanuel Vadot device-wakeup-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; 338*5f62a964SEmmanuel Vadot shutdown-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; 339*5f62a964SEmmanuel Vadot max-speed = <1500000>; 340*5f62a964SEmmanuel Vadot pinctrl-names = "default"; 341*5f62a964SEmmanuel Vadot pinctrl-0 = <&bt_reg_on &bt_wake_host &host_wake_bt>; 342*5f62a964SEmmanuel Vadot vbat-supply = <&vcc_io>; 343*5f62a964SEmmanuel Vadot vddio-supply = <&vcc_1v8>; 344*5f62a964SEmmanuel Vadot }; 345*5f62a964SEmmanuel Vadot}; 346*5f62a964SEmmanuel Vadot 347*5f62a964SEmmanuel Vadot&usb20_otg { 348*5f62a964SEmmanuel Vadot dr_mode = "peripheral"; 349*5f62a964SEmmanuel Vadot status = "okay"; 350*5f62a964SEmmanuel Vadot}; 351*5f62a964SEmmanuel Vadot 352*5f62a964SEmmanuel Vadot&usb_host_ehci { 353*5f62a964SEmmanuel Vadot status = "okay"; 354*5f62a964SEmmanuel Vadot}; 355*5f62a964SEmmanuel Vadot 356*5f62a964SEmmanuel Vadot&usb_host_ohci { 357*5f62a964SEmmanuel Vadot status = "okay"; 358*5f62a964SEmmanuel Vadot}; 359*5f62a964SEmmanuel Vadot 360*5f62a964SEmmanuel Vadot&wdt { 361*5f62a964SEmmanuel Vadot status = "okay"; 362*5f62a964SEmmanuel Vadot}; 363