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 16&sdio0 { 17 status = "okay"; 18 19 brcmf: wifi@1 { 20 compatible = "brcm,bcm4329-fmac"; 21 reg = <1>; 22 interrupt-parent = <&gpio0>; 23 interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 24 interrupt-names = "host-wake"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&wifi_host_wake_l>; 27 }; 28}; 29 30&uart0 { 31 status = "okay"; 32 33 bluetooth { 34 compatible = "brcm,bcm43438-bt"; 35 clocks = <&rk808 1>; 36 clock-names = "ext_clock"; 37 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 38 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 39 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 40 pinctrl-names = "default"; 41 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 42 }; 43}; 44 45&vcc5v0_host { 46 gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; 47}; 48 49&vcc5v0_host_en { 50 rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 51}; 52