0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
0004 * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
0005 */
0006
0007 /dts-v1/;
0008 #include "rk3399-rock-pi-4.dtsi"
0009
0010 / {
0011 model = "Radxa ROCK Pi 4B";
0012 compatible = "radxa,rockpi4b", "radxa,rockpi4", "rockchip,rk3399";
0013
0014 aliases {
0015 mmc2 = &sdio0;
0016 };
0017 };
0018
0019 &sdio0 {
0020 status = "okay";
0021
0022 brcmf: wifi@1 {
0023 compatible = "brcm,bcm4329-fmac";
0024 reg = <1>;
0025 interrupt-parent = <&gpio0>;
0026 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
0027 interrupt-names = "host-wake";
0028 pinctrl-names = "default";
0029 pinctrl-0 = <&wifi_host_wake_l>;
0030 };
0031 };
0032
0033 &uart0 {
0034 status = "okay";
0035
0036 bluetooth {
0037 compatible = "brcm,bcm4345c5";
0038 clocks = <&rk808 1>;
0039 clock-names = "lpo";
0040 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
0041 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
0042 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
0043 max-speed = <1500000>;
0044 pinctrl-names = "default";
0045 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
0046 vbat-supply = <&vcc3v3_sys>;
0047 vddio-supply = <&vcc_1v8>;
0048 };
0049 };