Skip to content

arm64: dts: qcom: add staging DT overlays for QPS615 enablement#335

Open
ayaan-anwar wants to merge 3 commits intoqualcomm-linux:qcom-6.18.yfrom
ayaan-anwar:qps615_dt
Open

arm64: dts: qcom: add staging DT overlays for QPS615 enablement#335
ayaan-anwar wants to merge 3 commits intoqualcomm-linux:qcom-6.18.yfrom
ayaan-anwar:qps615_dt

Conversation

@ayaan-anwar
Copy link
Copy Markdown
Contributor

@ayaan-anwar ayaan-anwar commented Mar 6, 2026

Add temporary, board‑specific Device Tree overlays to enable the QPS615 PCIe switch Ethernet ports (10GbE + 2.5GbE) without modifying existing base DTBs.

This PR introduces DTBO‑only “staging” overlays for:

  • Lemans EVK IFP Mezz
  • Monaco EVK IFP Mezz
  • Rb3Gen2 (QCS6490)

The overlays wire up PCIe endpoints, WoL interrupts, PHY resets, regulators (where required), and MAC address provisioning. These overlays are intended as a short‑term workaround and will be removed once native upstream driver support lands.

QLI Mainline PR: qualcomm-linux/kernel-topics#909
Exception details: Until the QPS615 driver is upstreamed (third party ETA: end of 2026), an exception has been approved to include the driver and its devicetree entries as an out of tree DLKM only for QLI 2.0. (QLIJIRA-99, QLIJIRA-104).

CRs-Fixed: 4494593

bus-range = <0x5 0xff>;

pci@0,0 {
eth0_pci: pci@0,0 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why you need to add label ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will remove the label and reference pcieport* in the new .dtsi files.

};

pci@0,1 {
eth1_pci: pci@0,1 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack


#include <dt-bindings/interrupt-controller/irq.h>

&eth0_pci {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you use node name directly and avoid adding labelling

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

};
};

&eth1_pci {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack


#include <dt-bindings/interrupt-controller/irq.h>

&eth0_pci {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

};

pci@0,1 {
eth1_pci: pci@0,1 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also can be removed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

};
};

&eth0_pci {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

label

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

};
};

&eth1_pci {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

label

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

bus-range = <0x5 0xff>;

pci@0,0 {
eth0_pci: pci@0,0 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

};

pci@0,1 {
eth1_pci: pci@0,1 {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

@ayaan-anwar ayaan-anwar force-pushed the qps615_dt branch 2 times, most recently from aadfd71 to 302a456 Compare March 9, 2026 19:49
@ayaan-anwar ayaan-anwar requested a review from shashim-quic March 9, 2026 19:51
@ayaan-anwar
Copy link
Copy Markdown
Contributor Author

Changes since the last review:

  • Rebase to 6.18.y tip due to mezz ifp DT name change
  • Update name of the new DTSI's to match the mezz ifp DT name change
  • Define QPS615 layout of EEPROM for mac address retrieval

@ayaan-anwar ayaan-anwar force-pushed the qps615_dt branch 2 times, most recently from 4241004 to efcee48 Compare March 10, 2026 05:57
/delete-property/ power-domains;
};

#include "qcs6490-rb3gen2-qps615.dtsi"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feedback from OSTT is to maintain such addtiton as overlays. Let's sync up offline to get it done that way.

@ayaan-anwar ayaan-anwar requested a review from a team April 8, 2026 05:00
@ayaan-anwar ayaan-anwar changed the title WORKAROUND: arm64: dts: qcom: enable ethernet on the QPS615 switch for RB3Gen2, Lemans EVK, and Monaco EVK arm64: dts: qcom: add staging DT overlays for QPS615 enablement Apr 8, 2026
@ayaan-anwar ayaan-anwar force-pushed the qps615_dt branch 2 times, most recently from 18132bf to 11849ec Compare April 8, 2026 05:13
@ayaan-anwar ayaan-anwar requested a review from shashim-quic April 8, 2026 07:10
@ayaan-anwar ayaan-anwar force-pushed the qps615_dt branch 4 times, most recently from fd483ab to 2313bcd Compare April 9, 2026 04:49
Add an overlay devicetree for Lemans EVK for temporary enablement of the
QPS615 PCIE switch's 10GbE and 2.5Gbe ethernet ports.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Add an overlay devicetree for Monaco EVK for temporary enablement of the
QPS615 PCIE switch's 10GbE and 2.5Gbe ethernet ports.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Add an overlay devicetree for Rb3Gen2 for temporary enablement of the
QPS615 PCIE switch's 10GbE and 2.5Gbe ethernet ports.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
@qcomlnxci
Copy link
Copy Markdown

Test Matrix

Test Case lemans-evk monaco-evk qcs615-ride qcs6490-rb3gen2 qcs8300-ride qcs9100-ride-r3 sm8750-mtp x1e80100-crd
BT_FW_KMD_Service ❌ Fail ❌ Fail ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
BT_ON_OFF ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
BT_SCAN ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
CPUFreq_Validation ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
CPU_affinity ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
DSP_AudioPD ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
Ethernet ✅ Pass ✅ Pass ⚠️ skip ◻️ ✅ Pass ⚠️ skip ◻️ ◻️
Freq_Scaling ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
GIC ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
IPA ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
Interrupts ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
OpenCV ⚠️ skip ⚠️ skip ⚠️ skip ◻️ ⚠️ skip ⚠️ skip ◻️ ◻️
PCIe ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
Probe_Failure_Check ❌ Fail ❌ Fail ✅ Pass ◻️ ✅ Pass ❌ Fail ◻️ ◻️
RMNET ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
UFS_Validation ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
USBHost ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
WiFi_Firmware_Driver ⚠️ skip ✅ Pass ⚠️ skip ◻️ ✅ Pass ✅ Pass ◻️ ◻️
WiFi_OnOff ✅ Pass ⚠️ skip ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
cdsp_remoteproc ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
hotplug ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
irq ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
kaslr ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
pinctrl ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
qcom_hwrng ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
remoteproc ✅ Pass ❌ Fail ✅ Pass ◻️ ❌ Fail ✅ Pass ◻️ ◻️
rngtest ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
shmbridge ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
smmu ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
watchdog ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️
wpss_remoteproc ✅ Pass ✅ Pass ✅ Pass ◻️ ✅ Pass ✅ Pass ◻️ ◻️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants