1*86a0e14aSChristopher Obbard// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*86a0e14aSChristopher Obbard/* 3*86a0e14aSChristopher Obbard * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com> 4*86a0e14aSChristopher Obbard * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com> 5*86a0e14aSChristopher Obbard */ 6*86a0e14aSChristopher Obbard 7*86a0e14aSChristopher Obbard/dts-v1/; 8*86a0e14aSChristopher Obbard#include "rk3399-rock-pi-4.dtsi" 9*86a0e14aSChristopher Obbard#include "rk3399-t-opp.dtsi" 10*86a0e14aSChristopher Obbard 11*86a0e14aSChristopher Obbard/ { 12*86a0e14aSChristopher Obbard model = "Radxa ROCK 4SE"; 13*86a0e14aSChristopher Obbard compatible = "radxa,rock-4se", "rockchip,rk3399"; 14*86a0e14aSChristopher Obbard 15*86a0e14aSChristopher Obbard aliases { 16*86a0e14aSChristopher Obbard mmc2 = &sdio0; 17*86a0e14aSChristopher Obbard }; 18*86a0e14aSChristopher Obbard}; 19*86a0e14aSChristopher Obbard 20*86a0e14aSChristopher Obbard&pinctrl { 21*86a0e14aSChristopher Obbard usb2 { 22*86a0e14aSChristopher Obbard vcc5v0_host_en: vcc5v0-host-en { 23*86a0e14aSChristopher Obbard rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; 24*86a0e14aSChristopher Obbard }; 25*86a0e14aSChristopher Obbard }; 26*86a0e14aSChristopher Obbard}; 27*86a0e14aSChristopher Obbard 28*86a0e14aSChristopher Obbard&sdio0 { 29*86a0e14aSChristopher Obbard status = "okay"; 30*86a0e14aSChristopher Obbard 31*86a0e14aSChristopher Obbard brcmf: wifi@1 { 32*86a0e14aSChristopher Obbard compatible = "brcm,bcm4329-fmac"; 33*86a0e14aSChristopher Obbard reg = <1>; 34*86a0e14aSChristopher Obbard interrupt-parent = <&gpio0>; 35*86a0e14aSChristopher Obbard interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>; 36*86a0e14aSChristopher Obbard interrupt-names = "host-wake"; 37*86a0e14aSChristopher Obbard pinctrl-names = "default"; 38*86a0e14aSChristopher Obbard pinctrl-0 = <&wifi_host_wake_l>; 39*86a0e14aSChristopher Obbard }; 40*86a0e14aSChristopher Obbard}; 41*86a0e14aSChristopher Obbard 42*86a0e14aSChristopher Obbard&uart0 { 43*86a0e14aSChristopher Obbard status = "okay"; 44*86a0e14aSChristopher Obbard 45*86a0e14aSChristopher Obbard bluetooth { 46*86a0e14aSChristopher Obbard compatible = "brcm,bcm4345c5"; 47*86a0e14aSChristopher Obbard clocks = <&rk808 1>; 48*86a0e14aSChristopher Obbard clock-names = "lpo"; 49*86a0e14aSChristopher Obbard device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 50*86a0e14aSChristopher Obbard host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 51*86a0e14aSChristopher Obbard shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 52*86a0e14aSChristopher Obbard max-speed = <1500000>; 53*86a0e14aSChristopher Obbard pinctrl-names = "default"; 54*86a0e14aSChristopher Obbard pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 55*86a0e14aSChristopher Obbard vbat-supply = <&vcc3v3_sys>; 56*86a0e14aSChristopher Obbard vddio-supply = <&vcc_1v8>; 57*86a0e14aSChristopher Obbard }; 58*86a0e14aSChristopher Obbard}; 59*86a0e14aSChristopher Obbard 60*86a0e14aSChristopher Obbard&vcc5v0_host { 61*86a0e14aSChristopher Obbard enable-active-high; 62*86a0e14aSChristopher Obbard gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; 63*86a0e14aSChristopher Obbard pinctrl-names = "default"; 64*86a0e14aSChristopher Obbard pinctrl-0 = <&vcc5v0_host_en>; 65*86a0e14aSChristopher Obbard}; 66