From b563a54327492606c684a76885b254080e3671c9 Mon Sep 17 00:00:00 2001 From: Suqun Peng Date: Thu, 7 Mar 2024 14:20:45 +0800 Subject: [PATCH] btfm: dts: msm: Add support for SunP HDK Add support for SunP HDK Change-Id: I4ddbe8caf7c710debc57aec713aa255a2f226a3c Signed-off-by: Suqun Peng --- Kbuild | 1 + sun-peach-bt-v8.dtsi | 2 +- sunp-hdk-peach-bt-v8.dts | 17 +++++++++++++++++ sunp-hdk-peach-bt-v8.dtsi | 14 ++++++++++++++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 sunp-hdk-peach-bt-v8.dts create mode 100644 sunp-hdk-peach-bt-v8.dtsi diff --git a/Kbuild b/Kbuild index 4318b43d..f2c15e1b 100644 --- a/Kbuild +++ b/Kbuild @@ -8,6 +8,7 @@ dtbo-y += sun-kiwi-bt.dtbo dtbo-y += sun-peach-bt-v8.dtbo dtbo-y += sun-kiwi-bt-v8.dtbo dtbo-y += sun-wcn788x-v8.dtbo +dtbo-y += sunp-hdk-peach-bt-v8.dtbo endif always-y := $(dtb-y) $(dtbo-y) diff --git a/sun-peach-bt-v8.dtsi b/sun-peach-bt-v8.dtsi index d9ed5a5e..5789308e 100644 --- a/sun-peach-bt-v8.dtsi +++ b/sun-peach-bt-v8.dtsi @@ -76,7 +76,7 @@ // FM changes &qupv3_se5_i2c { status = "ok"; - nq@64 { + fm_rtc6226: nq@64 { compatible = "rtc6226"; reg = <0x64>; fmint-gpio = <&tlmm 84 0>; diff --git a/sunp-hdk-peach-bt-v8.dts b/sunp-hdk-peach-bt-v8.dts new file mode 100644 index 00000000..3b626513 --- /dev/null +++ b/sunp-hdk-peach-bt-v8.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sunp-hdk-peach-bt-v8.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun SoCs HDK"; + compatible = "qcom,sunp-hdk", "qcom,sunp", "qcom,hdk"; + qcom,msm-id = <639 0x10000>, <639 0x20000>, <618 0x10000>, <618 0x20000>; + qcom,board-id = <0x1001f 0>; +}; diff --git a/sunp-hdk-peach-bt-v8.dtsi b/sunp-hdk-peach-bt-v8.dtsi new file mode 100644 index 00000000..24588768 --- /dev/null +++ b/sunp-hdk-peach-bt-v8.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-peach-bt-v8.dtsi" + +/delete-node/ &fm_rtc6226; + +&bluetooth { + /delete-property/ qcom,bt-ant-ldo-supply; + /delete-property/ qcom,bt-ant-ldo-config; +}; \ No newline at end of file