18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 48c2ecf20Sopenharmony_ci * Copyright (c) 2019 Radxa Limited 58c2ecf20Sopenharmony_ci * Copyright (c) 2019 Amarula Solutions(India) 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci/dts-v1/; 98c2ecf20Sopenharmony_ci#include "rk3399-rock-pi-4.dtsi" 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/ { 128c2ecf20Sopenharmony_ci model = "Radxa ROCK Pi 4C"; 138c2ecf20Sopenharmony_ci compatible = "radxa,rockpi4c", "radxa,rockpi4", "rockchip,rk3399"; 148c2ecf20Sopenharmony_ci}; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci&sdio0 { 178c2ecf20Sopenharmony_ci status = "okay"; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci brcmf: wifi@1 { 208c2ecf20Sopenharmony_ci compatible = "brcm,bcm4329-fmac"; 218c2ecf20Sopenharmony_ci reg = <1>; 228c2ecf20Sopenharmony_ci interrupt-parent = <&gpio0>; 238c2ecf20Sopenharmony_ci interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 248c2ecf20Sopenharmony_ci interrupt-names = "host-wake"; 258c2ecf20Sopenharmony_ci pinctrl-names = "default"; 268c2ecf20Sopenharmony_ci pinctrl-0 = <&wifi_host_wake_l>; 278c2ecf20Sopenharmony_ci }; 288c2ecf20Sopenharmony_ci}; 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci&uart0 { 318c2ecf20Sopenharmony_ci status = "okay"; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci bluetooth { 348c2ecf20Sopenharmony_ci compatible = "brcm,bcm43438-bt"; 358c2ecf20Sopenharmony_ci clocks = <&rk808 1>; 368c2ecf20Sopenharmony_ci clock-names = "ext_clock"; 378c2ecf20Sopenharmony_ci device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 388c2ecf20Sopenharmony_ci host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 398c2ecf20Sopenharmony_ci shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 408c2ecf20Sopenharmony_ci pinctrl-names = "default"; 418c2ecf20Sopenharmony_ci pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 428c2ecf20Sopenharmony_ci }; 438c2ecf20Sopenharmony_ci}; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci&vcc5v0_host { 468c2ecf20Sopenharmony_ci gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; 478c2ecf20Sopenharmony_ci}; 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci&vcc5v0_host_en { 508c2ecf20Sopenharmony_ci rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 518c2ecf20Sopenharmony_ci}; 52