* [PATCH v3 0/3] arm64: dts: qcom: add Monaco Draco EVK board support
@ 2026-11-26 10:34 Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 1/3] dt-bindings: arm: qcom: add Monaco Draco EVK board Faruque Ansari
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Faruque Ansari @ 2026-11-26 10:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Richard Cochran
Cc: linux-arm-msm, devicetree, linux-kernel, netdev, Vishnu Saini,
Khalid Faisal Ansari, Dipa Mantre, Sravani Tella, Monish Chunara,
Ajinkya Inchure, Faruque Ansari, Kishor Buchi, Karthik S
This series adds device tree support for the Monaco Draco EVK, an
evaluation kit based on the QCS8300 SoC targeting automotive and
industrial use cases. The platform consists of a System on Module
(SoM) paired with the Draco carrier board.
The Monaco Draco AC SoM integrates the QCS8300 SoC, two PMM8654AU
PMICs, eMMC and UFS storage, USB0/USB1, the Adreno 623 GPU, USB
and UART interfaces.
The Draco carrier board builds on the SoM and adds:
- DWMAC gigabit Ethernet (2500base-x to HSGMII PHY), MAC from EEPROM
- AMC6821 fan controller on i2c13
- I2C GPIO expanders (4x kts1622 on i2c14, 2x tca9538 on i2c15)
- Native DisplayPort output (DP0) to an on-board DP connector
- Dual PCIe (pcie0/pcie1) via an on-board TC9563 PCIe switch
- ST33HTPM TPM over SPI10
- M.2 E-key slot connectivity
- Audio Playback and Capture over max98091, Audio Capture over
va_macro codec DMA.
This series is functionally dependent on the driver and binding changes
posted here:
https://lore.kernel.org/all/20261123073459.2361169-1-karthik.s@oss.qualcomm.com/
Signed-off-by: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
---
Changes in v3:
- Sort all DT nodes and subnodes, with appropriate spacing and blank lines.
- Link to v2: https://lore.kernel.org/r/20261123-monaco-draco-v2-0-3ee3b2375f16@oss.qualcomm.com
Changes in v2:
- Move PCIe reset and wake gpios to port node (Sashiko-bot)
- Add compatible = "pciclass,0604" for switch dsp to create a platform device and invoke it's
power-on sequence.
- Add Audio Playback and Capture over max98091, Audio Capture over va_macro codec DMA
- Link to v1: https://lore.kernel.org/r/20261117-monaco-draco-v1-0-e42d1673148d@oss.qualcomm.com
---
Faruque Ansari (3):
dt-bindings: arm: qcom: add Monaco Draco EVK board
arm64: dts: qcom: add Monaco Draco AC SoM
arm64: dts: qcom: add Monaco Draco EVK board
Documentation/devicetree/bindings/arm/qcom.yaml | 5 +
arch/arm64/boot/dts/qcom/Makefile | 5 +
arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi | 320 +++++++++
arch/arm64/boot/dts/qcom/monaco-draco-evk.dts | 764 ++++++++++++++++++++++
4 files changed, 1094 insertions(+)
---
base-commit: 6d0933ae9d46674a6ea63a87e9e9ab4e662670c9
change-id: 20261105-monaco-draco-2d725f0d891d
Best regards,
--
Faruque Ansari <faruque.ansari@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3 1/3] dt-bindings: arm: qcom: add Monaco Draco EVK board
2026-11-26 10:34 [PATCH v3 0/3] arm64: dts: qcom: add Monaco Draco EVK board support Faruque Ansari
@ 2026-11-26 10:34 ` Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 3/3] arm64: dts: qcom: add Monaco Draco EVK board Faruque Ansari
2 siblings, 0 replies; 6+ messages in thread
From: Faruque Ansari @ 2026-11-26 10:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Richard Cochran
Cc: linux-arm-msm, devicetree, linux-kernel, netdev, Vishnu Saini,
Khalid Faisal Ansari, Dipa Mantre, Sravani Tella, Monish Chunara,
Ajinkya Inchure, Faruque Ansari
Document the compatible strings for the Qualcomm Monaco Draco AC
System-on-Module (SoM) and its Monaco Draco EVK board.
The SoM is populated with a QCS8300 SoC, two PMM8654AU PMICs, eMMC and
UFS storage. The SoM is then connected to the EVK carrier board, which
provides a multitude of connectors for peripherals.
Signed-off-by: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 121ca557ce1e..d78bd8a9e373 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -472,6 +472,11 @@ properties:
- qcom,qcs8300-ride
- const: qcom,qcs8300
+ - items:
+ - const: qcom,monaco-draco-evk
+ - const: qcom,monaco-draco-ac-som
+ - const: qcom,qcs8300
+
- description: Qualcomm Technologies, Inc. Distributed Unit 1000 platform
items:
- enum:
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM
2026-11-26 10:34 [PATCH v3 0/3] arm64: dts: qcom: add Monaco Draco EVK board support Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 1/3] dt-bindings: arm: qcom: add Monaco Draco EVK board Faruque Ansari
@ 2026-11-26 10:34 ` Faruque Ansari
2026-11-27 10:35 ` sashiko-bot
2026-11-26 10:34 ` [PATCH v3 3/3] arm64: dts: qcom: add Monaco Draco EVK board Faruque Ansari
2 siblings, 1 reply; 6+ messages in thread
From: Faruque Ansari @ 2026-11-26 10:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Richard Cochran
Cc: linux-arm-msm, devicetree, linux-kernel, netdev, Vishnu Saini,
Khalid Faisal Ansari, Dipa Mantre, Sravani Tella, Monish Chunara,
Ajinkya Inchure, Faruque Ansari, Kishor Buchi
Introduce the device tree for the QCS8300-based Monaco Draco AC
SoM. The Monaco Draco AC SoM is a compact compute module integrating
the QCS8300 SoC, two PMM8654AU PMICs, eMMC, UFS storage, an Adreno
623 GPU, USB and UART interfaces, designed to mount on carrier
boards.
The initial SoM device tree includes basic support for:
- RPMH regulators for two PMM8654AU PMICs
- QUP firmware paths (qupv3_id_0/1)
- Remoteproc instances (ADSP, CDSP, GPDSP) with firmware paths
- Console UART (uart7, serial0) and secondary UART (uart6, serial2)
- eMMC storage
- UFS storage
- USB1 in peripheral mode with HS PHY and QMP SuperSpeed PHY, and USB2
with HS PHY
- GPU (Adreno 623) with ZAP shader firmware
Co-developed-by: Kishor Buchi <kbuchi@qti.qualcomm.com>
Signed-off-by: Kishor Buchi <kbuchi@qti.qualcomm.com>
Signed-off-by: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi | 320 ++++++++++++++++++++++
1 file changed, 320 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi b/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi
new file mode 100644
index 000000000000..2016cdbb3ef0
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi
@@ -0,0 +1,320 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
+#include <dt-bindings/sound/qcom,q6afe.h>
+
+#include "monaco.dtsi"
+#include "monaco-pmics.dtsi"
+
+/ {
+ aliases {
+ serial0 = &uart7;
+ serial2 = &uart6;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ /* This comes from a PMIC handled within the SAIL domain */
+ vreg_s2s: vreg-s2s {
+ compatible = "regulator-fixed";
+ regulator-name = "vreg_s2s";
+
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+};
+
+&apps_rsc {
+ regulators-0 {
+ compatible = "qcom,pmm8654au-rpmh-regulators";
+ qcom,pmic-id = "a";
+
+ vreg_l3a: ldo3 {
+ regulator-name = "vreg_l3a";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l4a: ldo4 {
+ regulator-name = "vreg_l4a";
+ regulator-min-microvolt = <880000>;
+ regulator-max-microvolt = <912000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l5a: ldo5 {
+ regulator-name = "vreg_l5a";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l6a: ldo6 {
+ regulator-name = "vreg_l6a";
+ regulator-min-microvolt = <880000>;
+ regulator-max-microvolt = <912000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l7a: ldo7 {
+ regulator-name = "vreg_l7a";
+ regulator-min-microvolt = <880000>;
+ regulator-max-microvolt = <912000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l8a: ldo8 {
+ regulator-name = "vreg_l8a";
+ regulator-min-microvolt = <2504000>;
+ regulator-max-microvolt = <2960000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l9a: ldo9 {
+ regulator-name = "vreg_l9a";
+ regulator-min-microvolt = <2970000>;
+ regulator-max-microvolt = <3072000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_s4a: smps4 {
+ regulator-name = "vreg_s4a";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_s9a: smps9 {
+ regulator-name = "vreg_s9a";
+ regulator-min-microvolt = <1352000>;
+ regulator-max-microvolt = <1352000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ };
+ };
+
+ regulators-1 {
+ compatible = "qcom,pmm8654au-rpmh-regulators";
+ qcom,pmic-id = "c";
+
+ vreg_l1c: ldo1 {
+ regulator-name = "vreg_l1c";
+ regulator-min-microvolt = <300000>;
+ regulator-max-microvolt = <512000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l2c: ldo2 {
+ regulator-name = "vreg_l2c";
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <904000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l4c: ldo4 {
+ regulator-name = "vreg_l4c";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l7c: ldo7 {
+ regulator-name = "vreg_l7c";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l8c: ldo8 {
+ regulator-name = "vreg_l8c";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l9c: ldo9 {
+ regulator-name = "vreg_l9c";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_s5c: smps5 {
+ regulator-name = "vreg_s5c";
+ regulator-min-microvolt = <1104000>;
+ regulator-max-microvolt = <1104000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ };
+ };
+};
+
+&gpu {
+ status = "okay";
+};
+
+&gpu_zap_shader {
+ firmware-name = "qcom/qcs8300/a623_zap.mbn";
+};
+
+&mdss_dp0_phy {
+ vdda-phy-supply = <&vreg_l5a>;
+ vdda-pll-supply = <&vreg_l4a>;
+
+ status = "okay";
+};
+
+&pcie0_phy {
+ vdda-phy-supply = <&vreg_l6a>;
+ vdda-pll-supply = <&vreg_l5a>;
+ vdda-qref-supply = <&vreg_l4a>;
+ vdda-refgen-supply = <&vreg_l7a>;
+
+ status = "okay";
+};
+
+&pcie1_phy {
+ vdda-phy-supply = <&vreg_l6a>;
+ vdda-pll-supply = <&vreg_l5a>;
+ vdda-qref-supply = <&vreg_l4a>;
+ vdda-refgen-supply = <&vreg_l7a>;
+
+ status = "okay";
+};
+
+&qupv3_id_0 {
+ firmware-name = "qcom/qcs8300/qupv3fw.elf";
+
+ status = "okay";
+};
+
+&qupv3_id_1 {
+ firmware-name = "qcom/qcs8300/qupv3fw.elf";
+
+ status = "okay";
+};
+
+&remoteproc_adsp {
+ firmware-name = "qcom/qcs8300/adsp.mbn";
+
+ status = "okay";
+};
+
+&remoteproc_cdsp {
+ firmware-name = "qcom/qcs8300/cdsp0.mbn";
+
+ status = "okay";
+};
+
+&remoteproc_gpdsp {
+ firmware-name = "qcom/qcs8300/gpdsp0.mbn";
+
+ status = "okay";
+};
+
+&sdhc_1 {
+ vmmc-supply = <&vreg_l8a>;
+ vqmmc-supply = <&vreg_s2s>;
+
+ no-sd;
+ no-sdio;
+ non-removable;
+
+ status = "okay";
+};
+
+&serdes0 {
+ vdda-0p9-supply = <&vreg_l4a>;
+ vdda-1p2-supply = <&vreg_l5a>;
+
+ status = "okay";
+};
+
+&uart6 {
+ status = "okay";
+};
+
+&uart7 {
+ status = "okay";
+};
+
+&ufs_mem_hc {
+ reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
+ vcc-supply = <&vreg_l8a>;
+ vcc-max-microamp = <1100000>;
+ vccq-supply = <&vreg_l4c>;
+ vccq-max-microamp = <1200000>;
+
+ status = "okay";
+};
+
+&ufs_mem_phy {
+ vdda-phy-supply = <&vreg_l4a>;
+ vdda-pll-supply = <&vreg_l5a>;
+
+ status = "okay";
+};
+
+&usb_1 {
+ dr_mode = "peripheral";
+
+ status = "okay";
+};
+
+&usb_1_hsphy {
+ vdda-pll-supply = <&vreg_l7a>;
+ vdda18-supply = <&vreg_l7c>;
+ vdda33-supply = <&vreg_l9a>;
+
+ status = "okay";
+};
+
+&usb_2 {
+ status = "okay";
+};
+
+&usb_2_hsphy {
+ vdda-pll-supply = <&vreg_l7a>;
+ vdda18-supply = <&vreg_l7c>;
+ vdda33-supply = <&vreg_l9a>;
+
+ status = "okay";
+};
+
+&usb_qmpphy {
+ vdda-phy-supply = <&vreg_l7a>;
+ vdda-pll-supply = <&vreg_l5a>;
+
+ status = "okay";
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 3/3] arm64: dts: qcom: add Monaco Draco EVK board
2026-11-26 10:34 [PATCH v3 0/3] arm64: dts: qcom: add Monaco Draco EVK board support Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 1/3] dt-bindings: arm: qcom: add Monaco Draco EVK board Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM Faruque Ansari
@ 2026-11-26 10:34 ` Faruque Ansari
2026-11-27 10:35 ` sashiko-bot
2 siblings, 1 reply; 6+ messages in thread
From: Faruque Ansari @ 2026-11-26 10:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Richard Cochran
Cc: linux-arm-msm, devicetree, linux-kernel, netdev, Vishnu Saini,
Khalid Faisal Ansari, Dipa Mantre, Sravani Tella, Monish Chunara,
Ajinkya Inchure, Faruque Ansari, Karthik S
The Monaco Draco EVK pairs the Monaco Draco AC SoM with the Draco
carrier board. Add its device tree, describing the board-specific
peripherals layered on top of the SoM:
- I2C GPIO expanders: 4x KTS1622 on i2c14 and 2x TCA9538 on i2c15
- EEPROM with a MAC-address nvmem layout on i2c15
- Native DisplayPort output (DP0)
- Gigabit Ethernet (ethernet0, 2500base-x) over an HSGMII PHY, with
the MAC address sourced from the EEPROM
- Dual PCIe (pcie0/pcie1) behind an on-board TC9563 PCIe switch
- ST33HTPM TPM over spi10
- AMC6821 fan controller on i2c13
- M.2 E-key slot connector and carrier debug UART (uart2)
- Audio Playback and Capture over max98091, Audio Capture over
va_macro codec DMA.
Also hook the board dtb into the Makefile, together with an EL2
overlay variant that boots the kernel at EL2 for KVM.
Co-developed-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
Co-developed-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
Co-developed-by: Dipa Mantre <dipa.mantre@oss.qualcomm.com>
Signed-off-by: Dipa Mantre <dipa.mantre@oss.qualcomm.com>
Co-developed-by: Sravani Tella <tella@hu-tella-hyd.qualcomm.com>
Signed-off-by: Sravani Tella <tella@hu-tella-hyd.qualcomm.com>
Co-developed-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
Signed-off-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
Co-developed-by: Ajinkya Inchure <ainchure@qti.qualcomm.com>
Signed-off-by: Ajinkya Inchure <ainchure@qti.qualcomm.com>
Co-developed-by: Karthik S <karthik.s@oss.qualcomm.com>
Signed-off-by: Karthik S <karthik.s@oss.qualcomm.com>
Signed-off-by: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/Makefile | 5 +
arch/arm64/boot/dts/qcom/monaco-draco-evk.dts | 764 ++++++++++++++++++++++++++
2 files changed, 769 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 88230c4e00ea..7212bd1d2358 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -69,6 +69,11 @@ dtb-$(CONFIG_ARCH_QCOM) += milos-fairphone-fp6.dtb
dtb-$(CONFIG_ARCH_QCOM) += milos-nothing-asteroids.dtb
dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza.dtb
dtb-$(CONFIG_ARCH_QCOM) += monaco-ac-evk.dtb
+dtb-$(CONFIG_ARCH_QCOM) += monaco-draco-evk.dtb
+
+monaco-draco-evk-el2-dtbs := monaco-draco-evk.dtb monaco-el2.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += monaco-draco-evk-el2.dtb
+
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk.dtb
monaco-evk-camera-imx577-dtbs := monaco-evk.dtb monaco-evk-camera-imx577.dtbo
diff --git a/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts
new file mode 100644
index 000000000000..290ad62d5bea
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts
@@ -0,0 +1,764 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/pwm/pwm.h>
+
+#include "monaco-draco-ac-som.dtsi"
+
+/ {
+ model = "Qualcomm Technologies, Inc. Monaco Draco EVK";
+ compatible = "qcom,monaco-draco-evk", "qcom,monaco-draco-ac-som",
+ "qcom,qcs8300";
+ chassis-type = "embedded";
+
+ aliases {
+ ethernet0 = ðernet0;
+ serial1 = &uart2;
+ };
+
+ dp0-connector {
+ compatible = "dp-connector";
+ label = "DP0";
+ type = "full-size";
+ dp-pwr-supply = <&vreg_dp0_pwr>;
+
+ port {
+ dp0_connector_in: endpoint {
+ remote-endpoint = <&mdss_dp0_out>;
+ };
+ };
+ };
+
+ vreg_0p9: regulator-0v9 {
+ compatible = "regulator-fixed";
+ regulator-name = "VREG_0P9";
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <900000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vreg_1p8: regulator-1v8 {
+ compatible = "regulator-fixed";
+ regulator-name = "VREG_1P8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vreg_dp0_pwr: regulator-dp0-pwr {
+ compatible = "regulator-fixed";
+ regulator-name = "VREG_DP0_PWR_3P3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&expander1 7 GPIO_ACTIVE_HIGH>;
+ };
+
+ vreg_keye_3p3: regulator-keye-3p3 {
+ compatible = "regulator-fixed";
+ regulator-name = "vreg_keye_3p3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ vreg_va_micb_1p8: regulator-va-micb-1p8 {
+ compatible = "regulator-fixed";
+ regulator-name = "vreg_va_micb_1p8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ gpio = <&expander1 5 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ vin-supply = <&vreg_va_micb_en>;
+ };
+
+ vreg_va_micb_en: regulator-va-micb-en {
+ compatible = "regulator-fixed";
+ regulator-name = "vreg_va_micb_en";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ gpio = <&expander1 4 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ sound {
+ compatible = "qcom,qcs8300-draco-sndcard";
+ model = "MONACO_DRACO_EVK";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mi2s_mclk_a>, <&mi2s2_data0>, <&mi2s2_data1>,
+ <&mi2s2_sck>, <&mi2s2_ws>;
+
+ mi2s2-capture-dai-link {
+ link-name = "Tertiary MI2S Capture";
+
+ codec {
+ sound-dai = <&max98091>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai TERTIARY_MI2S_TX>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
+ mi2s2-playback-dai-link {
+ link-name = "Tertiary MI2S Playback";
+
+ codec {
+ sound-dai = <&max98091>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai TERTIARY_MI2S_RX>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
+ va-dai-link {
+ link-name = "Codec DMA Capture";
+
+ codec {
+ sound-dai = <&lpass_va_macro 0>;
+ };
+
+ cpu {
+ sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+ };
+
+ wifi-bt-connector {
+ compatible = "pcie-m2-e-connector";
+ vpcie3v3-supply = <&vreg_keye_3p3>;
+
+ w-disable2-gpios = <&tlmm 55 GPIO_ACTIVE_LOW>;
+
+ pinctrl-0 = <&bt_en>;
+ pinctrl-names = "default";
+
+ 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 = <&tc9563_pcie1_ep>;
+ };
+ };
+
+ port@3 {
+ reg = <3>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ m2_e_uart_ep: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&uart2_ep>;
+ };
+ };
+ };
+ };
+};
+
+ðernet0 {
+ phy-handle = <&hsgmii_phy0>;
+ phy-mode = "2500base-x";
+
+ pinctrl-0 = <ðernet0_default>;
+ pinctrl-names = "default";
+
+ snps,mtl-rx-config = <&mtl_rx_setup>;
+ snps,mtl-tx-config = <&mtl_tx_setup>;
+
+ nvmem-cells = <&mac_addr0>;
+ nvmem-cell-names = "mac-address";
+
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ hsgmii_phy0: ethernet-phy@1c {
+ compatible = "ethernet-phy-id004d.d101";
+ reg = <0x1c>;
+ reset-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <11000>;
+ reset-deassert-us = <70000>;
+ };
+ };
+
+ mtl_rx_setup: rx-queues-config {
+ snps,rx-queues-to-use = <4>;
+ snps,rx-sched-sp;
+
+ queue0 {
+ snps,dcb-algorithm;
+ snps,map-to-dma-channel = <0x0>;
+ snps,route-up;
+ snps,priority = <0x1>;
+ };
+
+ queue1 {
+ snps,dcb-algorithm;
+ snps,map-to-dma-channel = <0x1>;
+ snps,route-ptp;
+ };
+
+ queue2 {
+ snps,avb-algorithm;
+ snps,map-to-dma-channel = <0x2>;
+ snps,route-avcp;
+ };
+
+ queue3 {
+ snps,avb-algorithm;
+ snps,map-to-dma-channel = <0x3>;
+ snps,priority = <0xc>;
+ };
+ };
+
+ mtl_tx_setup: tx-queues-config {
+ snps,tx-queues-to-use = <4>;
+
+ queue0 {
+ snps,dcb-algorithm;
+ };
+
+ queue1 {
+ snps,dcb-algorithm;
+ };
+
+ queue2 {
+ snps,avb-algorithm;
+ snps,send_slope = <0x1000>;
+ snps,idle_slope = <0x1000>;
+ snps,high_credit = <0x3e800>;
+ snps,low_credit = <0xffc18000>;
+ };
+
+ queue3 {
+ snps,avb-algorithm;
+ snps,send_slope = <0x1000>;
+ snps,idle_slope = <0x1000>;
+ snps,high_credit = <0x3e800>;
+ snps,low_credit = <0xffc18000>;
+ };
+ };
+};
+
+&i2c12 {
+ status = "okay";
+
+ max98091: max98091@10 {
+ compatible = "maxim,max98091";
+ reg = <0x10>;
+ #sound-dai-cells = <0>;
+ clock-names = "mclk";
+ clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+ assigned-clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+ assigned-clock-rates = <12288000>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <51 IRQ_TYPE_NONE>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&int_codec>;
+ };
+};
+
+&i2c13 {
+ status = "okay";
+
+ fan_controller: fan@1a {
+ compatible = "ti,amc6821";
+ reg = <0x1a>;
+ #pwm-cells = <2>;
+
+ fan {
+ pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>;
+ };
+ };
+};
+
+&i2c14 {
+ status = "okay";
+
+ expander0: gpio@20 {
+ compatible = "kinetic,kts1622", "ti,tcal6416";
+ reg = <0x20>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ expander1: gpio@21 {
+ compatible = "kinetic,kts1622", "ti,tcal6416";
+ reg = <0x21>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ expander2: gpio@22 {
+ compatible = "kinetic,kts1622", "ti,tcal6416";
+ reg = <0x22>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ expander3: gpio@23 {
+ compatible = "kinetic,kts1622", "ti,tcal6416";
+ reg = <0x23>;
+ #gpio-cells = <2>;
+ gpio-controller;
+
+ keye-pwr-en1-hog {
+ gpio-hog;
+ gpios = <9 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "keye_pwr_en1";
+ };
+
+ keye-pwr-en2-hog {
+ gpio-hog;
+ gpios = <10 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "keye_pwr_en2";
+ };
+
+ pwr-en0-hog {
+ gpio-hog;
+ gpios = <0 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "pwr_en0";
+ };
+
+ pwr-en1-hog {
+ gpio-hog;
+ gpios = <1 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "pwr_en1";
+ };
+
+ pwr-en4-hog {
+ gpio-hog;
+ gpios = <4 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "pwr_en4";
+ };
+
+ pwr-en6-hog {
+ gpio-hog;
+ gpios = <6 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "pwr_en6";
+ };
+
+ pwr-en8-hog {
+ gpio-hog;
+ gpios = <8 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "pwr_en8";
+ };
+ };
+};
+
+&i2c15 {
+ status = "okay";
+
+ expander4: gpio@38 {
+ compatible = "ti,tca9538";
+ reg = <0x38>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ expander5: gpio@3c {
+ compatible = "ti,tca9538";
+ reg = <0x3c>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ eeprom@50 {
+ compatible = "giantec,gt24c256c", "atmel,24c256";
+ reg = <0x50>;
+ pagesize = <64>;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ mac_addr0: mac-addr@0 {
+ reg = <0x0 0x6>;
+ };
+ };
+ };
+};
+
+&mdss {
+ status = "okay";
+};
+
+&mdss_dp0 {
+ pinctrl-0 = <&dp_hot_plug_det>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
+&mdss_dp0_out {
+ data-lanes = <0 1 2 3>;
+ link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+ remote-endpoint = <&dp0_connector_in>;
+};
+
+&pcie0 {
+ pinctrl-0 = <&pcie0_default_state>;
+ pinctrl-names = "default";
+
+ iommu-map = <0x0 &pcie_smmu 0x0 0x0 0x1>,
+ <0x100 &pcie_smmu 0x1 0x0 0x1>,
+ <0x208 &pcie_smmu 0x2 0x0 0x1>,
+ <0x210 &pcie_smmu 0x3 0x0 0x1>,
+ <0x218 &pcie_smmu 0x4 0x0 0x1>,
+ <0x300 &pcie_smmu 0x5 0x0 0x1>,
+ <0x400 &pcie_smmu 0x6 0x0 0x1>,
+ <0x500 &pcie_smmu 0x7 0x0 0x1>,
+ <0x501 &pcie_smmu 0x8 0x0 0x1>;
+
+ status = "okay";
+};
+
+&pcie1 {
+ pinctrl-0 = <&pcie1_default_state>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
+&pcieport0 {
+ #address-cells = <3>;
+ #size-cells = <2>;
+
+ reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
+ wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
+
+ pcie@0,0 {
+ compatible = "pci1179,0623";
+ reg = <0x10000 0x0 0x0 0x0 0x0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges;
+ bus-range = <0x2 0xff>;
+
+ vddc-supply = <&vreg_0p9>;
+ vdd18-supply = <&vreg_1p8>;
+ vdd09-supply = <&vreg_0p9>;
+ vddio1-supply = <&vreg_1p8>;
+ vddio2-supply = <&vreg_1p8>;
+ vddio18-supply = <&vreg_1p8>;
+ i2c-parent = <&i2c15 0x77>;
+ resx-gpios = <&tlmm 96 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&tc9563_resx_n>;
+ pinctrl-names = "default";
+
+ pcie@1,0 {
+ compatible = "pciclass,0604";
+ reg = <0x20800 0x0 0x0 0x0 0x0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges;
+ bus-range = <0x3 0xff>;
+
+ port {
+ tc9563_pcie1_ep: endpoint {
+ remote-endpoint = <&m2_e_pcie_ep>;
+ };
+ };
+ };
+
+ pcie@2,0 {
+ reg = <0x21000 0x0 0x0 0x0 0x0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges;
+ bus-range = <0x4 0xff>;
+ };
+
+ pcie@3,0 {
+ reg = <0x21800 0x0 0x0 0x0 0x0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges;
+ bus-range = <0x5 0xff>;
+
+ pcie@0,0 {
+ reg = <0x50000 0x0 0x0 0x0 0x0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges;
+ };
+
+ pcie@0,1 {
+ reg = <0x50100 0x0 0x0 0x0 0x0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges;
+ };
+ };
+ };
+};
+
+&pcieport1 {
+ reset-gpios = <&tlmm 23 GPIO_ACTIVE_LOW>;
+ wake-gpios = <&tlmm 21 GPIO_ACTIVE_LOW>;
+};
+
+&qup_i2c13_data_clk {
+ drive-strength = <6>;
+ bias-pull-up;
+};
+
+&soc {
+ lpass_va_macro: codec@33F0000 {
+ compatible = "qcom,sc7280-lpass-va-macro";
+ reg = <0 0x33F0000 0 0x1000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&lpass_dmic01_clk>, <&lpass_dmic01_data>,
+ <&lpass_dmic23_clk>, <&lpass_dmic23_data>,
+ <&lpass_dmic45_clk>, <&lpass_dmic45_data>;
+ clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
+ <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
+ <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+ clock-names = "mclk", "macro", "dcodec";
+
+ #clock-cells = <0>;
+ #sound-dai-cells = <1>;
+ status = "okay";
+ qcom,dmic-sample-rate = <4800000>;
+ vdd-micb-supply = <&vreg_va_micb_1p8>;
+ };
+
+ lpass_tlmm: pinctrl@3440000 {
+ compatible = "qcom,sm8450-lpass-lpi-pinctrl";
+ reg = <0x0 0x03440000 0x0 0x20000>,
+ <0x0 0x034d0000 0x0 0x10000>;
+ clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
+ <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+ clock-names = "core", "audio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&lpass_tlmm 0 0 23>;
+
+ lpass_dmic01_clk: dmic01-clk-state {
+ pins = "gpio6";
+ function = "dmic1_clk";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ lpass_dmic01_data: dmic01-data-state {
+ pins = "gpio7";
+ function = "dmic1_data";
+ drive-strength = <8>;
+ bias-pull-down;
+ };
+
+ lpass_dmic23_clk: dmic23-clk-state {
+ pins = "gpio8";
+ function = "dmic2_clk";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ lpass_dmic23_data: dmic23-data-state {
+ pins = "gpio9";
+ function = "dmic2_data";
+ drive-strength = <8>;
+ bias-pull-down;
+ };
+
+ lpass_dmic45_clk: dmic45-clk-state {
+ pins = "gpio12";
+ function = "dmic3_clk";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ lpass_dmic45_data: dmic45-data-state {
+ pins = "gpio13";
+ function = "dmic3_data";
+ drive-strength = <8>;
+ bias-pull-down;
+ };
+ };
+};
+
+&spi10 {
+ status = "okay";
+
+ tpm@0 {
+ compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
+ reg = <0>;
+ spi-max-frequency = <20000000>;
+ };
+};
+
+&tlmm {
+ bt_en: bt-en-state {
+ pins = "gpio55";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ ethernet0_default: ethernet0-default-state {
+ ethernet0_mdc: ethernet0-mdc-pins {
+ pins = "gpio5";
+ function = "emac0_mdc";
+ drive-strength = <16>;
+ bias-pull-up;
+ };
+
+ ethernet0_mdio: ethernet0-mdio-pins {
+ pins = "gpio6";
+ function = "emac0_mdio";
+ drive-strength = <16>;
+ bias-pull-up;
+ };
+ };
+
+ int_codec: gpio-irq-state {
+ pins = "gpio51";
+ function = "gpio";
+ };
+
+ mi2s_mclk_a: mi2s-mclk-a-state {
+ pins = "gpio97";
+ function = "mi2s_mclk0";
+ drive-strength = <16>;
+ bias-disable;
+ output-high;
+ };
+
+ mi2s2_data0: mi2s2-data0-state {
+ pins = "gpio104";
+ function = "mi2s2_data0";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ mi2s2_data1: mi2s2-data1-state {
+ pins = "gpio105";
+ function = "mi2s2_data1";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ mi2s2_sck: mi2s2-sck-state {
+ pins = "gpio102";
+ function = "mi2s2_sck";
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+ };
+
+ mi2s2_ws: mi2s2-ws-state {
+ pins = "gpio103";
+ function = "mi2s2_ws";
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+ };
+
+ pcie0_default_state: pcie0-default-state {
+ clkreq-pins {
+ pins = "gpio1";
+ function = "pcie0_clkreq";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ perst-pins {
+ pins = "gpio2";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ wake-pins {
+ pins = "gpio0";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+ };
+
+ pcie1_default_state: pcie1-default-state {
+ clkreq-pins {
+ pins = "gpio22";
+ function = "pcie1_clkreq";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ perst-pins {
+ pins = "gpio23";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ wake-pins {
+ pins = "gpio21";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+ };
+
+ tc9563_resx_n: tc9563-resx-state {
+ pins = "gpio96";
+ function = "gpio";
+ bias-disable;
+ output-high;
+ };
+};
+
+&uart2 {
+ status = "okay";
+
+ port {
+ uart2_ep: endpoint {
+ remote-endpoint = <&m2_e_uart_ep>;
+ };
+ };
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM
2026-11-26 10:34 ` [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM Faruque Ansari
@ 2026-11-27 10:35 ` sashiko-bot
0 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-11-27 10:35 UTC (permalink / raw)
To: Faruque Ansari; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Medium] arm64: dts: qcom: invalid supply properties on pcie0_phy and
pcie1_phy
- [Low] arm64: dts: qcom: non-generic deprecated node name vreg-s2s
- [Low] arm64: dts: qcom: unused qcom,q6afe.h include in
monaco-draco-ac-som.dtsi
- [Low] arm64: dts: qcom: carrier-specific nodes and incomplete usb_2 in
Draco SoM
--
commit 1c0150a95b8a63dc6f41dc92e13b09d30745d0a6
Author: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
arm64: dts: qcom: add Monaco Draco AC SoM
This commit adds the initial device tree include file for the
QCS8300-based Monaco Draco AC System-on-Module.
> diff --git a/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi b/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi
> new file mode 100644
> index 0000000000000..2016cdbb3ef02
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/monaco-draco-ac-som.dtsi
> @@ -0,0 +1,320 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> +#include <dt-bindings/sound/qcom,q6afe.h>
[Severity: Low]
Is <dt-bindings/sound/qcom,q6afe.h> needed here? No audio nodes or macros
are used in this file, and monaco.dtsi already includes
<dt-bindings/sound/qcom,q6dsp-lpass-ports.h>.
> +
> +#include "monaco.dtsi"
> +#include "monaco-pmics.dtsi"
> +
> +/ {
> + aliases {
> + serial0 = &uart7;
> + serial2 = &uart6;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +
> + /* This comes from a PMIC handled within the SAIL domain */
> + vreg_s2s: vreg-s2s {
> + compatible = "regulator-fixed";
> + regulator-name = "vreg_s2s";
> +
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> +};
[Severity: Low]
Should vreg_s2s use a generic regulator-s2s node name instead of vreg-s2s?
fixed-regulator.yaml marks node names not matching the regulator-* pattern
as deprecated.
[ ... ]
> +&pcie0_phy {
> + vdda-phy-supply = <&vreg_l6a>;
> + vdda-pll-supply = <&vreg_l5a>;
> + vdda-qref-supply = <&vreg_l4a>;
> + vdda-refgen-supply = <&vreg_l7a>;
> +
> + status = "okay";
> +};
> +
> +&pcie1_phy {
> + vdda-phy-supply = <&vreg_l6a>;
> + vdda-pll-supply = <&vreg_l5a>;
> + vdda-qref-supply = <&vreg_l4a>;
> + vdda-refgen-supply = <&vreg_l7a>;
> +
> + status = "okay";
> +};
[Severity: Medium]
Are vdda-qref-supply and vdda-refgen-supply valid on pcie0_phy and
pcie1_phy?
In monaco.dtsi, pcie0_phy uses qcom,qcs8300-qmp-gen4x2-pcie-phy and
pcie1_phy uses qcom,sa8775p-qmp-gen4x4-pcie-phy. Both bindings are
covered by qcom,sc8280xp-qmp-pcie-phy.yaml, which has additionalProperties:
false and does not allow vdda-refgen-supply, causing dtbs_check failures on
boards including this dtsi. In drivers/phy/qualcomm/phy-qcom-qmp-pcie.c,
both qcs8300_qmp_gen4x2_pciephy_cfg and sa8775p_qmp_gen4x4_pciephy_cfg use
qmp_phy_vreg_l, which only requests vdda-phy and vdda-pll, so neither
vdda-qref-supply nor vdda-refgen-supply is requested or enabled by the
driver.
[ ... ]
> +&uart6 {
> + status = "okay";
> +};
> +
> +&uart7 {
> + status = "okay";
> +};
[ ... ]
> +&usb_1 {
> + dr_mode = "peripheral";
> +
> + status = "okay";
> +};
> +
> +&usb_1_hsphy {
> + vdda-pll-supply = <&vreg_l7a>;
> + vdda18-supply = <&vreg_l7c>;
> + vdda33-supply = <&vreg_l9a>;
> +
> + status = "okay";
> +};
> +
> +&usb_2 {
> + status = "okay";
> +};
[Severity: Low]
How is usb_2's role configured when it is enabled here without dr_mode or a
remote connector endpoint?
In monaco.dtsi, usb_2 defines usb-role-switch and a usb_2_dwc3_hs port
endpoint without dr_mode. Enabling usb_2 without setting dr_mode or
linking usb_2_dwc3_hs to a connector causes dwc3_setup_role_switch() to
default the controller to device mode with no role-switch driver attached
and without dwc3_qcom_probe() enabling VBUS override.
More broadly, should carrier-dependent nodes and policies (serial aliases,
chosen stdout-path, uart6, uart7, usb_1 dr_mode, usb_2, and mdss_dp0_phy
status = "okay" while mdss and mdss_dp0 remain disabled) live in the
carrier board dts rather than the SoM dtsi, matching monaco-monza-som.dtsi?
Also, mdss_dp0_phy, pcie0_phy, pcie1_phy, and serdes0 are enabled in this
patch but not mentioned in the commit message.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-monaco-draco-v3-0-0b603afa1328@oss.qualcomm.com?part=2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3 3/3] arm64: dts: qcom: add Monaco Draco EVK board
2026-11-26 10:34 ` [PATCH v3 3/3] arm64: dts: qcom: add Monaco Draco EVK board Faruque Ansari
@ 2026-11-27 10:35 ` sashiko-bot
0 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-11-27 10:35 UTC (permalink / raw)
To: Faruque Ansari; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 7 potential
issues to consider:
- [High] arm64: dts: qcom: unmatched compatible and missing routing on
sound node
- [High] arm64: dts: qcom: missing enable-active-high on vreg_dp0_pwr
regulator
- [High] arm64: dts: qcom: non-routable hostname email in Signed-off-by
trailer
- [Medium] arm64: dts: qcom: lpass_tlmm redefinition and uppercase
codec@33F0000
- [Medium] arm64: dts: qcom: TC9563 Ethernet endpoints modeled as PCI
bridges
- [Low] arm64: dts: qcom: non-generic max98091@10 node name and
IRQ_TYPE_NONE
- [Low] arm64: dts: qcom: commit message mismatch for uart2 and pcie1
topology
--
commit 4a4aee471caca85b8295cf0f9cea819831b850fb
Author: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
> arm64: dts: qcom: add Monaco Draco EVK board
>
> The Monaco Draco EVK pairs the Monaco Draco AC SoM with the Draco
> carrier board. Add its device tree, describing the board-specific
> peripherals layered on top of the SoM:
>
> - I2C GPIO expanders: 4x KTS1622 on i2c14 and 2x TCA9538 on i2c15
> - EEPROM with a MAC-address nvmem layout on i2c15
> - Native DisplayPort output (DP0)
> - Gigabit Ethernet (ethernet0, 2500base-x) over an HSGMII PHY, with
> the MAC address sourced from the EEPROM
> - Dual PCIe (pcie0/pcie1) behind an on-board TC9563 PCIe switch
> - ST33HTPM TPM over spi10
> - AMC6821 fan controller on i2c13
> - M.2 E-key slot connector and carrier debug UART (uart2)
[Severity: Low]
Does the commit message match the pcie1 and uart2 topology described in the
device tree?
In the device tree, only pcieport0 sits upstream of the TC9563 PCIe switch
while pcieport1 is an independent root port, and uart2 connects to port@3
of wifi-bt-connector as the M.2 Key E Bluetooth UART rather than a debug
UART (the console UART is uart7 in monaco-draco-ac-som.dtsi).
> - Audio Playback and Capture over max98091, Audio Capture over
> va_macro codec DMA.
>
> Also hook the board dtb into the Makefile, together with an EL2
> overlay variant that boots the kernel at EL2 for KVM.
>
> Co-developed-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> Co-developed-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
> Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
> Co-developed-by: Dipa Mantre <dipa.mantre@oss.qualcomm.com>
> Signed-off-by: Dipa Mantre <dipa.mantre@oss.qualcomm.com>
> Co-developed-by: Sravani Tella <tella@hu-tella-hyd.qualcomm.com>
> Signed-off-by: Sravani Tella <tella@hu-tella-hyd.qualcomm.com>
[Severity: High]
These Co-developed-by and Signed-off-by trailers use an internal
workstation hostname (hu-tella-hyd.qualcomm.com) instead of a valid
routable email address.
[ ... ]
> diff --git a/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts
> new file mode 100644
> index 0000000000000..290ad62d5beac
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/monaco-draco-evk.dts
> @@ -0,0 +1,764 @@
[ ... ]
> + vreg_dp0_pwr: regulator-dp0-pwr {
> + compatible = "regulator-fixed";
> + regulator-name = "VREG_DP0_PWR_3P3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + gpio = <&expander1 7 GPIO_ACTIVE_HIGH>;
> + };
[Severity: High]
Should vreg_dp0_pwr include enable-active-high?
For regulator-fixed nodes, of_gpio_quirk_polarity() ignores GPIO_ACTIVE_HIGH
in the gpio property and forces active-low polarity unless
enable-active-high is present, which inverts the DisplayPort 3.3V power
enable line at runtime.
[ ... ]
> + sound {
> + compatible = "qcom,qcs8300-draco-sndcard";
> + model = "MONACO_DRACO_EVK";
> + pinctrl-names = "default";
> + pinctrl-0 = <&mi2s_mclk_a>, <&mi2s2_data0>, <&mi2s2_data1>,
> + <&mi2s2_sck>, <&mi2s2_ws>;
[Severity: High]
Can the sound node bind to a machine driver or power the DMIC bias supply
with this configuration?
"qcom,qcs8300-draco-sndcard" is neither documented in
Documentation/devicetree/bindings/sound/qcom,sm8250.yaml nor matched by any
driver in the kernel; sound/soc/qcom/sc8280xp.c matches
"qcom,qcs8275-sndcard" for QCS8300 boards using the MAX98090/MAX98091
codec. The sound node also omits audio-routing, so the vdd-micb DAPM
regulator supply widget on lpass_va_macro (backed by vreg_va_micb_1p8,
which is not always-on) and the MAX98091 codec widgets will not be routed
or enabled during capture and playback.
[ ... ]
> +&i2c12 {
> + status = "okay";
> +
> + max98091: max98091@10 {
> + compatible = "maxim,max98091";
> + reg = <0x10>;
> + #sound-dai-cells = <0>;
> + clock-names = "mclk";
> + clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + assigned-clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + assigned-clock-rates = <12288000>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <51 IRQ_TYPE_NONE>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&int_codec>;
> + };
> +};
[Severity: Low]
Will interrupts = <51 IRQ_TYPE_NONE> trigger a warning in
gic_irq_domain_translate() when the codec probes?
On QCS8300, TLMM GPIO 51 is wake-capable and routes through PDC pin 215 to
GICv3, where gic_irq_domain_translate() executes WARN_ON(*type ==
IRQ_TYPE_NONE). Also, per the Devicetree specification and
Documentation/devicetree/bindings/sound/maxim,max98090.yaml, the node name
should use the generic form audio-codec@10 rather than max98091@10.
[ ... ]
> + pcie@2,0 {
> + reg = <0x21000 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + bus-range = <0x4 0xff>;
> + };
> +
> + pcie@3,0 {
> + reg = <0x21800 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + bus-range = <0x5 0xff>;
> +
> + pcie@0,0 {
> + reg = <0x50000 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + };
> +
> + pcie@0,1 {
> + reg = <0x50100 0x0 0x0 0x0 0x0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + device_type = "pci";
> + ranges;
> + };
> + };
[Severity: Medium]
Should the TC9563 integrated Ethernet endpoints under pcie@3,0 be
ethernet@0,0 and ethernet@0,1 without PCI bridge properties?
Modeling these endpoint functions as pcie@0,0 and pcie@0,1 with
device_type = "pci", #address-cells, #size-cells, and ranges violates
Documentation/devicetree/bindings/pci/toshiba,tc9563.yaml, triggers dtc
avoid_unnecessary_addr_size warnings, and causes PCI bridge walkers such as
qcom_pcie_parse_perst() to treat the endpoints as PCI-to-PCI bridges. The
downstream bridge nodes pcie@2,0 and pcie@3,0 are also missing compatible =
"pciclass,0604".
[ ... ]
> +&soc {
> + lpass_va_macro: codec@33F0000 {
> + compatible = "qcom,sc7280-lpass-va-macro";
> + reg = <0 0x33F0000 0 0x1000>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&lpass_dmic01_clk>, <&lpass_dmic01_data>,
> + <&lpass_dmic23_clk>, <&lpass_dmic23_data>,
> + <&lpass_dmic45_clk>, <&lpass_dmic45_data>;
> + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
> + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
> + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + clock-names = "mclk", "macro", "dcodec";
> +
> + #clock-cells = <0>;
> + #sound-dai-cells = <1>;
> + status = "okay";
> + qcom,dmic-sample-rate = <4800000>;
> + vdd-micb-supply = <&vreg_va_micb_1p8>;
> + };
> +
> + lpass_tlmm: pinctrl@3440000 {
> + compatible = "qcom,sm8450-lpass-lpi-pinctrl";
> + reg = <0x0 0x03440000 0x0 0x20000>,
> + <0x0 0x034d0000 0x0 0x10000>;
> + clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
> + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + clock-names = "core", "audio";
> + gpio-controller;
> + #gpio-cells = <2>;
> + gpio-ranges = <&lpass_tlmm 0 0 23>;
[Severity: Medium]
Does redefining lpass_tlmm under &soc overwrite the compatible string from
monaco.dtsi?
arch/arm64/boot/dts/qcom/monaco.dtsi already defines lpass_tlmm:
pinctrl@3440000 with compatible = "qcom,qcs8300-lpass-lpi-pinctrl",
"qcom,sm8450-lpass-lpi-pinctrl". Re-declaring the controller node here
instead of referencing &lpass_tlmm drops "qcom,qcs8300-lpass-lpi-pinctrl"
and violates
Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml.
In addition, lpass_va_macro is an SoC-internal MMIO block that belongs in
monaco.dtsi rather than the board DTS, and its uppercase hex unit-address
(codec@33F0000 instead of codec@33f0000) triggers a dtc simple_bus_reg
warning.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-monaco-draco-v3-0-0b603afa1328@oss.qualcomm.com?part=3
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-11-27 10:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 10:34 [PATCH v3 0/3] arm64: dts: qcom: add Monaco Draco EVK board support Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 1/3] dt-bindings: arm: qcom: add Monaco Draco EVK board Faruque Ansari
2026-11-26 10:34 ` [PATCH v3 2/3] arm64: dts: qcom: add Monaco Draco AC SoM Faruque Ansari
2026-11-27 10:35 ` sashiko-bot
2026-11-26 10:34 ` [PATCH v3 3/3] arm64: dts: qcom: add Monaco Draco EVK board Faruque Ansari
2026-11-27 10:35 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox