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