1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 4 * Copyright (c) 2019 Radxa Limited 5 * Copyright (c) 2019 Amarula Solutions(India) 6 */ 7 8/dts-v1/; 9#include "rk3399-rock-pi-4.dtsi" 10 11/ { 12 model = "Radxa ROCK Pi 4C"; 13 compatible = "radxa,rockpi4c", "radxa,rockpi4", "rockchip,rk3399"; 14 15 aliases { 16 mmc2 = &sdio0; 17 }; 18}; 19 20&sdio0 { 21 status = "okay"; 22 23 brcmf: wifi@1 { 24 compatible = "brcm,bcm4329-fmac"; 25 reg = <1>; 26 interrupt-parent = <&gpio0>; 27 interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 28 interrupt-names = "host-wake"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&wifi_host_wake_l>; 31 }; 32}; 33 34&uart0 { 35 status = "okay"; 36 37 bluetooth { 38 compatible = "brcm,bcm43438-bt"; 39 clocks = <&rk808 1>; 40 clock-names = "ext_clock"; 41 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 42 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 43 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 44 pinctrl-names = "default"; 45 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 46 }; 47}; 48 49&vcc5v0_host { 50 gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; 51}; 52 53&vcc5v0_host_en { 54 rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 55}; 56