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