Jagan Teki | bfaf0ac | 2020-07-21 00:25:48 +0530 | [diff] [blame] | 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,rockpi4", "rockchip,rk3399"; |
| 13 | }; |
| 14 | |
| 15 | &sdio0 { |
| 16 | status = "okay"; |
| 17 | |
| 18 | brcmf: wifi@1 { |
| 19 | compatible = "brcm,bcm4329-fmac"; |
| 20 | reg = <1>; |
| 21 | interrupt-parent = <&gpio0>; |
| 22 | interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; |
| 23 | interrupt-names = "host-wake"; |
| 24 | pinctrl-names = "default"; |
| 25 | pinctrl-0 = <&wifi_host_wake_l>; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | &uart0 { |
| 30 | status = "okay"; |
| 31 | |
| 32 | bluetooth { |
| 33 | compatible = "brcm,bcm43438-bt"; |
| 34 | clocks = <&rk808 1>; |
| 35 | clock-names = "ext_clock"; |
| 36 | device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; |
| 37 | host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; |
| 38 | shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; |
| 39 | pinctrl-names = "default"; |
| 40 | pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; |
| 41 | }; |
| 42 | }; |