1c1075b7fSJagan Teki// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c1075b7fSJagan Teki/* 3c1075b7fSJagan Teki * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com> 4c1075b7fSJagan Teki * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com> 5c1075b7fSJagan Teki */ 6c1075b7fSJagan Teki 7c1075b7fSJagan Teki/dts-v1/; 8c1075b7fSJagan Teki#include "rk3399-rock-pi-4.dtsi" 9c1075b7fSJagan Teki 10c1075b7fSJagan Teki/ { 11c1075b7fSJagan Teki model = "Radxa ROCK Pi 4B"; 12c1075b7fSJagan Teki compatible = "radxa,rockpi4b", "radxa,rockpi4", "rockchip,rk3399"; 135dcbe7e3SHeiko Stuebner 145dcbe7e3SHeiko Stuebner aliases { 155dcbe7e3SHeiko Stuebner mmc2 = &sdio0; 165dcbe7e3SHeiko Stuebner }; 17c1075b7fSJagan Teki}; 18c1075b7fSJagan Teki 19c1075b7fSJagan Teki&sdio0 { 20c1075b7fSJagan Teki status = "okay"; 21c1075b7fSJagan Teki 22c1075b7fSJagan Teki brcmf: wifi@1 { 23c1075b7fSJagan Teki compatible = "brcm,bcm4329-fmac"; 24c1075b7fSJagan Teki reg = <1>; 25c1075b7fSJagan Teki interrupt-parent = <&gpio0>; 26c1075b7fSJagan Teki interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 27c1075b7fSJagan Teki interrupt-names = "host-wake"; 28c1075b7fSJagan Teki pinctrl-names = "default"; 29c1075b7fSJagan Teki pinctrl-0 = <&wifi_host_wake_l>; 30c1075b7fSJagan Teki }; 31c1075b7fSJagan Teki}; 32c1075b7fSJagan Teki 33c1075b7fSJagan Teki&uart0 { 34c1075b7fSJagan Teki status = "okay"; 35c1075b7fSJagan Teki 36c1075b7fSJagan Teki bluetooth { 37*f471b1b2SJagan Teki compatible = "brcm,bcm4345c5"; 38c1075b7fSJagan Teki clocks = <&rk808 1>; 39*f471b1b2SJagan Teki clock-names = "lpo"; 40c1075b7fSJagan Teki device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 41c1075b7fSJagan Teki host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 42c1075b7fSJagan Teki shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 43*f471b1b2SJagan Teki max-speed = <1500000>; 44c1075b7fSJagan Teki pinctrl-names = "default"; 45c1075b7fSJagan Teki pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 46*f471b1b2SJagan Teki vbat-supply = <&vcc3v3_sys>; 47*f471b1b2SJagan Teki vddio-supply = <&vcc_1v8>; 48c1075b7fSJagan Teki }; 49c1075b7fSJagan Teki}; 50