18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com> 48c2ecf20Sopenharmony_ci * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/dts-v1/; 88c2ecf20Sopenharmony_ci#include "rk3399-rock-pi-4.dtsi" 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci/ { 118c2ecf20Sopenharmony_ci model = "Radxa ROCK Pi 4B"; 128c2ecf20Sopenharmony_ci compatible = "radxa,rockpi4b", "radxa,rockpi4", "rockchip,rk3399"; 138c2ecf20Sopenharmony_ci}; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci&sdio0 { 168c2ecf20Sopenharmony_ci status = "okay"; 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci brcmf: wifi@1 { 198c2ecf20Sopenharmony_ci compatible = "brcm,bcm4329-fmac"; 208c2ecf20Sopenharmony_ci reg = <1>; 218c2ecf20Sopenharmony_ci interrupt-parent = <&gpio0>; 228c2ecf20Sopenharmony_ci interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 238c2ecf20Sopenharmony_ci interrupt-names = "host-wake"; 248c2ecf20Sopenharmony_ci pinctrl-names = "default"; 258c2ecf20Sopenharmony_ci pinctrl-0 = <&wifi_host_wake_l>; 268c2ecf20Sopenharmony_ci }; 278c2ecf20Sopenharmony_ci}; 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci&uart0 { 308c2ecf20Sopenharmony_ci status = "okay"; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci bluetooth { 338c2ecf20Sopenharmony_ci compatible = "brcm,bcm43438-bt"; 348c2ecf20Sopenharmony_ci clocks = <&rk808 1>; 358c2ecf20Sopenharmony_ci clock-names = "ext_clock"; 368c2ecf20Sopenharmony_ci device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 378c2ecf20Sopenharmony_ci host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 388c2ecf20Sopenharmony_ci shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 398c2ecf20Sopenharmony_ci pinctrl-names = "default"; 408c2ecf20Sopenharmony_ci pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 418c2ecf20Sopenharmony_ci }; 428c2ecf20Sopenharmony_ci}; 43