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