14b718ae7SAlex Bee// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
24b718ae7SAlex Bee/*
34b718ae7SAlex Bee * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
44b718ae7SAlex Bee * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
54b718ae7SAlex Bee */
64b718ae7SAlex Bee
74b718ae7SAlex Bee/dts-v1/;
84b718ae7SAlex Bee#include "rk3399-rock-pi-4.dtsi"
94b718ae7SAlex Bee#include "rk3399-op1-opp.dtsi"
104b718ae7SAlex Bee
114b718ae7SAlex Bee/ {
124b718ae7SAlex Bee	model = "Radxa ROCK Pi 4B+";
134b718ae7SAlex Bee	compatible = "radxa,rockpi4b-plus", "radxa,rockpi4", "rockchip,rk3399";
144b718ae7SAlex Bee
154b718ae7SAlex Bee	aliases {
164b718ae7SAlex Bee		mmc2 = &sdio0;
174b718ae7SAlex Bee	};
184b718ae7SAlex Bee};
194b718ae7SAlex Bee
20c681c6fcSAlex Bee&es8316 {
21c681c6fcSAlex Bee	pinctrl-0 = <&hp_detect &hp_int>;
22c681c6fcSAlex Bee	pinctrl-names = "default";
23c681c6fcSAlex Bee	interrupt-parent = <&gpio1>;
24c681c6fcSAlex Bee	interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>;
25c681c6fcSAlex Bee};
26c681c6fcSAlex Bee
274b718ae7SAlex Bee&sdio0 {
284b718ae7SAlex Bee	status = "okay";
294b718ae7SAlex Bee
304b718ae7SAlex Bee	brcmf: wifi@1 {
314b718ae7SAlex Bee		compatible = "brcm,bcm4329-fmac";
324b718ae7SAlex Bee		reg = <1>;
334b718ae7SAlex Bee		interrupt-parent = <&gpio0>;
34*cfa12c32SKrzysztof Kozlowski		interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
354b718ae7SAlex Bee		interrupt-names = "host-wake";
364b718ae7SAlex Bee		pinctrl-names = "default";
374b718ae7SAlex Bee		pinctrl-0 = <&wifi_host_wake_l>;
384b718ae7SAlex Bee	};
394b718ae7SAlex Bee};
404b718ae7SAlex Bee
41c681c6fcSAlex Bee&sound {
42c681c6fcSAlex Bee	hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
43c681c6fcSAlex Bee};
44c681c6fcSAlex Bee
454b718ae7SAlex Bee&uart0 {
464b718ae7SAlex Bee	status = "okay";
474b718ae7SAlex Bee
484b718ae7SAlex Bee	bluetooth {
49f471b1b2SJagan Teki		compatible = "brcm,bcm4345c5";
504b718ae7SAlex Bee		clocks = <&rk808 1>;
51f471b1b2SJagan Teki		clock-names = "lpo";
524b718ae7SAlex Bee		device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
534b718ae7SAlex Bee		host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
544b718ae7SAlex Bee		shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
55f471b1b2SJagan Teki		max-speed = <1500000>;
564b718ae7SAlex Bee		pinctrl-names = "default";
574b718ae7SAlex Bee		pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
58f471b1b2SJagan Teki		vbat-supply = <&vcc3v3_sys>;
59f471b1b2SJagan Teki		vddio-supply = <&vcc_1v8>;
604b718ae7SAlex Bee	};
614b718ae7SAlex Bee};
62