Debian Codegraph @

scripts/dtc/include-prefixes/arm64/rockchip/rk3576-armsom-sige5-v1.2-wifibt.dtso

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3 * DT-overlay to enable the onboard WiFi and Bluetooth module present in v1.2
4 * boards. Note that v1.1 boards use a different module, so this probably won't
5 * work there.
6 */
7
8 /dts-v1/;
9 /plugin/;
10
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/pinctrl/rockchip.h>
14
15 &sdio {
16 #address-cells = <1>;
17 #size-cells = <0>;
18
19 wifi@1 {
20 compatible = "brcm,bcm4329-fmac";
21 reg = <1>;
22 clock-names = "lpo";
23 clocks = <&hym8563>;
24 interrupt-names = "host-wake";
25 interrupt-parent = <&gpio0>;
26 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_HIGH>;
27 pinctrl-0 = <&wifi_wake_host>;
28 pinctrl-names = "default";
29 };
30 };
31
32 &uart4 {
33 status = "okay";
34
35 bluetooth {
36 compatible = "brcm,bcm43438-bt";
37 clock-names = "lpo";
38 clocks = <&hym8563>;
39 device-wakeup-gpios = <&gpio1 RK_PD7 GPIO_ACTIVE_HIGH>;
40 interrupt-names = "host-wakeup";
41 interrupt-parent = <&gpio0>;
42 interrupts = <RK_PB1 IRQ_TYPE_LEVEL_HIGH>;
43 pinctrl-0 = <&bt_reg_on>, <&bt_wake_host>, <&host_wake_bt>;
44 pinctrl-names = "default";
45 shutdown-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
46 vbat-supply = <&vcc_3v3_s3>;
47 vddio-supply = <&vcc_1v8_s3>;
48 };
49 };