From: Rahul Samana <rahul.samana@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Marcel Holtmann <marcel@holtmann.org>,
Bartosz Golaszewski <brgl@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org,
quic_hbandi@quicinc.com, devicetree@vger.kernel.org,
linux-arm-msm@vger.kernel.org, quic_anubhavg@quicinc.com,
quic_mohamull@quicinc.com
Subject: Re: [PATCH 3/3] arm64: dts: qcom: rb3gen2: add Industrial BT UART overlay
Date: Fri, 24 Jul 2026 13:40:03 +0530 [thread overview]
Message-ID: <60caa38e-9294-493a-8749-98687e4bd55d@oss.qualcomm.com> (raw)
In-Reply-To: <x7cbergf7m3jyhvgjatscbznferq24tfb4gvzinqvnn7morvkg@3jnmaarqwh2t>
On 24-07-2026 00:40, Dmitry Baryshkov wrote:
> On Thu, Jul 23, 2026 at 06:01:09PM +0530, Rahul Samana wrote:
>> Add an overlay for the RB3 Gen 2 Industrial mezzanine variant that routes
>> QCC2072 Bluetooth over UART4 and models the M.2 E-key connector graph
>> endpoints for PCIe and UART.
>>
>> The default Industrial mezzanine overlay describes the common mezzanine
>> hardware. Build this variant by applying the common Industrial mezzanine
>> overlay first, followed by the BT UART overlay, because the reworked board
>> keeps the common mezzanine description and only changes the Bluetooth
>> transport routing.
>>
>> The overlay also disables the on-board WCN6750 PMU and UART7 path so the
>> M.2 QCC2072 Bluetooth controller can be used instead.
>>
>> Signed-off-by: Rahul Samana <rahul.samana@oss.qualcomm.com>
>> ---
>> arch/arm64/boot/dts/qcom/Makefile | 2 +
>> ...s6490-rb3gen2-industrial-mezzanine-bt-uart.dtso | 133 +++++++++++++++++++++
>> 2 files changed, 135 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
>> index 6f33c4e2f09c..45786d3db14a 100644
>> --- a/arch/arm64/boot/dts/qcom/Makefile
>> +++ b/arch/arm64/boot/dts/qcom/Makefile
>> @@ -179,8 +179,10 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb
>>
>> qcs6490-rb3gen2-vision-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-vision-mezzanine.dtbo
>> qcs6490-rb3gen2-industrial-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-industrial-mezzanine.dtbo
>> +qcs6490-rb3gen2-industrial-mezzanine-bt-uart-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-industrial-mezzanine.dtbo qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtbo
>>
>> dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-industrial-mezzanine.dtb
>> +dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-vision-mezzanine.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += qcs6490-thundercomm-minipc-g1iot.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += qcs6490-thundercomm-rubikpi3.dtb
>> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtso
>> new file mode 100644
>> index 000000000000..06560df0a719
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtso
>> @@ -0,0 +1,133 @@
>> +// SPDX-License-Identifier: BSD-3-Clause
>> +/*
>> + * Copyright (c) 2026 Qualcomm Innovation Center, Inc. All rights reserved.
>> + */
>> +
>> +/dts-v1/;
>> +/plugin/;
>> +
>> +#include <dt-bindings/gpio/gpio.h>
>> +#include <dt-bindings/interrupt-controller/arm-gic.h>
>> +
>> +&{/} {
>> + vreg_wcn_3p3: regulator-wcn-3p3 {
>> + compatible = "regulator-fixed";
>> + regulator-name = "VREG_WCN_3P3";
>> + regulator-min-microvolt = <3300000>;
>> + regulator-max-microvolt = <3300000>;
>> +
>> + regulator-boot-on;
>> + };
>> +
>> + m2_e_connector: m2-e-connector {
>
> Kill unused labels. Everywhere.
>
>> + compatible = "pcie-m2-e-connector";
>> + vpcie3v3-supply = <&vreg_wcn_3p3>;
>> +
>> + m2_e_ports: ports {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + port@0 {
>> + reg = <0>;
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + m2_e_pcie_ep: endpoint@0 {
>> + reg = <0>;
>> + remote-endpoint = <&pcie0_m2_e_ep>;
>> + };
>> + };
>> +
>> + port@3 {
>> + reg = <3>;
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + m2_e_uart_ep: endpoint@0 {
>> + reg = <0>;
>> + remote-endpoint = <&uart4_m2_e_ep>;
>> + };
>> + };
>> + };
>> + };
>> +};
>> +
>> +&qup_uart4_cts {
>> + bias-bus-hold;
>> +};
>> +
>> +&qup_uart4_rts {
>> + drive-strength = <2>;
>> + bias-disable;
>> +};
>> +
>> +&qup_uart4_rx {
>> + bias-pull-up;
>> +};
>> +
>> +&qup_uart4_tx {
>> + drive-strength = <2>;
>> + bias-disable;
>> +};
>> +
>> +&tlmm {
>> + qup_uart4_sleep_cts: qup-uart4-sleep-cts-state {
>> + pins = "gpio16";
>> + function = "gpio";
>> + bias-bus-hold;
>> + };
>> +
>> + qup_uart4_sleep_rts: qup-uart4-sleep-rts-state {
>> + pins = "gpio17";
>> + function = "gpio";
>> + bias-pull-down;
>> + };
>> +
>> + qup_uart4_sleep_tx: qup-uart4-sleep-tx-state {
>> + pins = "gpio18";
>> + function = "gpio";
>> + bias-pull-up;
>> + };
>> +
>> + qup_uart4_sleep_rx: qup-uart4-sleep-rx-state {
>> + pins = "gpio19";
>> + function = "gpio";
>> + bias-pull-up;
>> + };
>> +};
>> +
>> +&pcie0_port {
>> + pcie@0,0 {
>> + pcie@2,0 {
>> + port {
>
> The house that Jack built. Don't use multiple nested nodes to patch it.
> The node might go away and nobody will notice it. Add a label to the
> exact location and patch only it.
>
>> + pcie0_m2_e_ep: endpoint {
>> + remote-endpoint = <&m2_e_pcie_ep>;
>> + };
>> + };
>> + };
>> + };
>> +};
>> +
>> +&uart4 {
>> + status = "okay";
>> + /delete-property/ interrupts;
>> + interrupts-extended = <&intc GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>,
>> + <&tlmm 19 IRQ_TYPE_EDGE_FALLING>;
>> + pinctrl-names = "default", "sleep";
>> + pinctrl-1 = <&qup_uart4_sleep_cts>, <&qup_uart4_sleep_rts>,
>> + <&qup_uart4_sleep_tx>, <&qup_uart4_sleep_rx>;
>> +
>> + port {
>> + uart4_m2_e_ep: endpoint {
>> + remote-endpoint = <&m2_e_uart_ep>;
>> + };
>> + };
>> +};
>> +
>> +&uart7 {
>> + status = "disabled";
>> +};
>> +
>> +&{/wcn6750-pmu} {
>
> label
>
>> + status = "disabled";
>> +};
>>
>> --
>> 2.34.1
>>
>
Hi Dmitry,
Ack, I will clean this up in v2.
I will remove the unused connector/ports labels and add labels to the
existing nodes that the overlay needs to patch, including the WCN6750 PMU
node and the relevant PCI child node below pcie0_port.
I will then update the BT UART overlay to reference those labels directly
instead of reconstructing the full nested path or using the /wcn6750-pmu
path reference.
Thanks,
Rahul
next prev parent reply other threads:[~2026-07-24 8:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260723-rb3-industrial-bt-uart-v1-0-3c8e580c09d1@oss.qualcomm.com>
[not found] ` <20260723-rb3-industrial-bt-uart-v1-1-3c8e580c09d1@oss.qualcomm.com>
2026-07-23 15:46 ` Bluetooth: qca: enable QCC2072 on RB3 Gen 2 Industrial Mezz reworked for BT over UART bluez.test.bot
2026-07-23 19:06 ` [PATCH 1/3] Bluetooth: qca: add QCC2072 support Dmitry Baryshkov
2026-07-23 19:26 ` Krzysztof Kozlowski
2026-07-24 7:21 ` Rahul Samana
2026-07-23 19:19 ` Krzysztof Kozlowski
2026-07-24 7:38 ` Rahul Samana
[not found] ` <20260723-rb3-industrial-bt-uart-v1-3-3c8e580c09d1@oss.qualcomm.com>
2026-07-23 19:10 ` [PATCH 3/3] arm64: dts: qcom: rb3gen2: add Industrial BT UART overlay Dmitry Baryshkov
2026-07-24 8:10 ` Rahul Samana [this message]
[not found] ` <20260723-rb3-industrial-bt-uart-v1-2-3c8e580c09d1@oss.qualcomm.com>
2026-07-23 19:07 ` [PATCH 2/3] arm64: dts: qcom: kodiak: mark PCIe root port as bridge Dmitry Baryshkov
2026-07-23 19:31 ` Krzysztof Kozlowski
2026-07-24 8:02 ` Rahul Samana
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60caa38e-9294-493a-8749-98687e4bd55d@oss.qualcomm.com \
--to=rahul.samana@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=quic_anubhavg@quicinc.com \
--cc=quic_hbandi@quicinc.com \
--cc=quic_mohamull@quicinc.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox