ARM: dts: qcom: bluetooth node for ravelin

Added bluetooth dtsi node for ravelin.

Change-Id: Id15b1f851eee0d3229fe7fafe4373724bdb3926d
This commit is contained in:
Adesh Mohanrao Pathare
2024-07-25 11:05:01 +05:30
parent 523eb1e504
commit e071a70414
3 changed files with 52 additions and 0 deletions

4
Kbuild Normal file → Executable file
View File

@@ -11,6 +11,10 @@ dtbo-y += sun-wcn786x-v8.dtbo
dtbo-y += sunp-hdk-peach-bt-v8.dtbo
endif
ifeq ($(CONFIG_ARCH_RAVELIN), y)
dtbo-y += ravelin-bt.dtbo
endif
always-y := $(dtb-y) $(dtbo-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb *.dtbo

17
ravelin-bt.dts Executable file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "ravelin-bt.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Ravelin SoC";
compatible = "qcom,ravelin";
qcom,msm-id = <568 0x10000>, <581 0x10000>, <582 0x10000>, <602 0x10000>, <653 0x10000>, <654 0x10000>;
qcom,board-id = <0 0>;
};

31
ravelin-bt.dtsi Executable file
View File

@@ -0,0 +1,31 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,ravelin.h>
&soc {
bluetooth: bt_wcn3990 {
compatible = "qcom,wcn3990";
qcom,bt-sw-ctrl-gpio = <&tlmm 56 GPIO_ACTIVE_HIGH>;
qcom,bt-vdd-io-supply = <&L21B>;
qcom,bt-vdd-core-supply = <&L14B>;
qcom,bt-vdd-pa-supply = <&L7E>;
qcom,bt-vdd-xtal-supply = <&L23B>;
qcom,bt-vdd-io-config = <1700000 1900000 1 0>;
qcom,bt-vdd-core-config = <1304000 1304000 1 0>;
qcom,bt-vdd-pa-config = <3000000 3312000 1 0>;
qcom,bt-vdd-xtal-config = <1700000 1900000 1 0>;
};
};
//uart instance
&qupv3_se2_4uart {
status = "ok";
};