Initial support for Qualcomm Hamoa IOT EVK board
v2 cover Initial support for Qualcomm Hamoa IOT EVK board
Introduce the device tree, DT bindings, and driver modifications required to bring up the HAMOA-IOT-EVK evaluation board—based on the X1E80100 SoC—to a UART shell.
This patch set focuses on two key hardware components: the HAMOA-IOT-SOM and the HAMOA-IOT-EVK carrier board.
The HAMOA-IOT-SOM is a compact System on Module that integrates the SoC, GPIOs, and PMICs. It is designed to be modular and can be paired with various carrier boards to support different use cases.
The HAMOA-IOT-EVK is one such carrier board, designed for IoT scenarios. It provides essential peripherals such as UART, on-board PMICs, and USB-related components.
Together, these components form a flexible and scalable platform, and this patch set enables their initial bring-up through proper device tree configuration and driver support.
Qualcomm SoCs often have multiple product variants, each identified by a different SoC ID. For instance, the x1e80100 SoC has closely related variants such as x1e78100 and x1e001de. This diversity in SoC identifiers can lead to confusion and unnecessary maintenance complexity in the device tree and related subsystems.
To address this, code names offer a more consistent and project-agnostic way to represent SoC families. They tend to remain stable across development efforts.
This patch series introduces "hamoa" as the codename for the x1e80100 SoC. Going forward, all x1e80100-related variants—including x1e81000 and others in the same family—will be represented under the "hamoa" designation in the device tree.
This improves readability, streamlines future maintenance, and aligns with common naming practices across Qualcomm-based platforms.
Features added and enabled:
- UART
- On-board regulators
- Regulators on the SOM
- PMIC GLINK
- USB0 through USB6 and their PHYs
- Embedded USB (eUSB) repeaters
- USB Type-C mux
- PCIe6a and its PHY
- PCIe4 and its PHY
- Reserved memory regions
- Pinctrl
- NVMe
- ADSP, CDSP
- WLAN, Bluetooth (M.2 interface)
- USB DisplayPort
---
To: Bjorn Andersson <[email protected]>
To: Konrad Dybcio <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
Changes in v2:
- Merge the compatible rules and remove the compatible string map.
- Align the ADSP and CDSP firmware paths with other x1e80100 platforms.
- Remove the regulators on the M.2 card, as well as those managed by UEFI on this board.
- Merge another patch series that enables USB DisplayPort functionality on this platform: https://lore.kernel.org/all/[email protected]/
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Yijie Yang (4):
dt-bindings: arm: qcom: Document HAMOA-IOT-EVK board
firmware: qcom: scm: Allow QSEECOM on HAMOA-IOT-EVK
arm64: dts: qcom: Add HAMOA-IOT-SOM platform
arm64: dts: qcom: Add base HAMOA-IOT-EVK board
Documentation/devicetree/bindings/arm/qcom.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 915 ++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi | 607 ++++++++++++++++ drivers/firmware/qcom/qcom_scm.c | 1 + 5 files changed, 1525 insertions(+)
---
base-commit: 4d088c49d1e49e0149aa66908c3e8722af68ed07
change-id: 20250604-hamoa_initial-0cd7036d7271
Best regards,
Signature · 1 line
Yijie Yang <[email protected]>
PATCH v2 1/4 dt-bindings: arm: qcom: Document HAMOA-IOT-EVK board
Document the device tree binding for a new board named "EVK" based on the Qualcomm Hamoa-IoT platform.
The "hamoa" name refers to a family of SoCs that share the same silicon die but are offered in multiple speed bins. The specific SoC used in this board is the x1e80100, which represents one such bin within the Hamoa family.
Although "qcom,hamoa-iot-evk" is introduced as the board-specific compatible, the fallback compatible remains "qcom,x1e80100" to preserve compatibility with existing in-kernel drivers and software that already depend on this identifier.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -1161,6 +1161,7 @@ properties: - lenovo,yoga-slim7x - microsoft,romulus13 - microsoft,romulus15 + - qcom,hamoa-iot-evk - qcom,x1e80100-crd - qcom,x1e80100-qcp - const: qcom,x1e80100
Signature · 1 line
2.34.1
Re: [PATCH v2 1/4] dt-bindings: arm: qcom: Document HAMOA-IOT-EVK board
Quoted 2 lines · Yijie Yang
Document the device tree binding for a new board named "EVK" based on the Qualcomm Hamoa-IoT platform.
What is hamoa-iot?
Later patches claim this is a SoM, so explain here why you are not expecting it to be used outside of EVK (not following standard SoM rules like every other vendor)?
Quoted 5 lines
The "hamoa" name refers to a family of SoCs that share the same silicon die but are offered in multiple speed bins. The specific SoC used in this board is the x1e80100, which represents one such bin within the Hamoa family.
Isn't this obvious from the schema?
Quoted 5 lines
Although "qcom,hamoa-iot-evk" is introduced as the board-specific compatible, the fallback compatible remains "qcom,x1e80100" to preserve compatibility with existing in-kernel drivers and software that already depend on this identifier.
Not relevant. This is x1e80100 SoC. We do not explain that microsoft,romulus15 is using fallback x1e80100, do we?
You explain less relevant topics but you do not explain the main concerns here. It does not matter how you name your board. Can be hamoa, can be lemans - we don't care about board names.
Quoted 12 lines
Signed-off-by Yijie Yang <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/arm/qcom.yaml +0
-0
Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 1167
Quoted 7 lines
Documentation/devicetree/bindings/arm/qcom.yaml +1
-0@@ -1161,6 +1161,7 @@ properties: - lenovo,yoga-slim7x - microsoft,romulus13 - microsoft,romulus15 + - qcom,hamoa-iot-evk - qcom,x1e80100-crd - qcom,x1e80100-qcp - const: qcom,x1e80100
Best regards,
Krzysztof
Re: [PATCH v2 1/4] dt-bindings: arm: qcom: Document HAMOA-IOT-EVK board
Quoted 9 lines · Krzysztof Kozlowski
Quoted 2 lines · Yijie Yang
Document the device tree binding for a new board named "EVK" based on the Qualcomm Hamoa-IoT platform.
What is hamoa-iot?
Later patches claim this is a SoM, so explain here why you are not expecting it to be used outside of EVK (not following standard SoM rules like every other vendor)?
The SoM can be used outside of the EVK. Regarding the standard SoM rules you mentioned—are you referring to the expectation that a SoM should have its own compatible string, such as 'qcom,hamoa-iot-som'?
Quoted 8 lines
Quoted 6 lines
The "hamoa" name refers to a family of SoCs that share the same silicon die but are offered in multiple speed bins. The specific SoC used in this board is the x1e80100, which represents one such bin within the Hamoa family.
Isn't this obvious from the schema?
This is the first patch set where the Hamoa code name is introduced, so I’d like to clarify the relationship between the Hamoa family and the SoC ID. Additionally, I want to explain why the compatible string includes both the board’s code name and the SoC name.
Quoted 9 lines
Quoted 6 lines
Although "qcom,hamoa-iot-evk" is introduced as the board-specific compatible, the fallback compatible remains "qcom,x1e80100" to preserve compatibility with existing in-kernel drivers and software that already depend on this identifier.
Not relevant. This is x1e80100 SoC. We do not explain that microsoft,romulus15 is using fallback x1e80100, do we?
Same as above.
Quoted 5 lines
You explain less relevant topics but you do not explain the main concerns here. It does not matter how you name your board. Can be hamoa, can be lemans - we don't care about board names.
I will add more details to describe the relationship between the board and the SoM. This is what people are most concerned about, right?
Quoted 23 lines
Quoted 12 lines
Signed-off-by Yijie Yang <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/arm/qcom.yaml +0
-0Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 1167
Quoted 7 lines
Documentation/devicetree/bindings/arm/qcom.yaml +1
-0@@ -1161,6 +1161,7 @@ properties: - lenovo,yoga-slim7x - microsoft,romulus13 - microsoft,romulus15 + - qcom,hamoa-iot-evk - qcom,x1e80100-crd - qcom,x1e80100-qcp - const: qcom,x1e80100Best regards,
Krzysztof
Signature · 2 lines
Best Regards, Yijie
Re: [PATCH v2 1/4] dt-bindings: arm: qcom: Document HAMOA-IOT-EVK board
Quoted 9 lines · Yijie Yang
Quoted 6 lines · Krzysztof Kozlowski
Quoted 2 lines · Yijie Yang
Document the device tree binding for a new board named "EVK" based on the Qualcomm Hamoa-IoT platform.
What is hamoa-iot?
Quoted 7 lines
Quoted 3 lines
Later patches claim this is a SoM, so explain here why you are not expecting it to be used outside of EVK (not following standard SoM rules like every other vendor)?
The SoM can be used outside of the EVK. Regarding the standard SoM rules you mentioned—are you referring to the expectation that a SoM should have its own compatible string, such as 'qcom,hamoa-iot-som'?
Yes. We already discussed this with qcom last time for other soc/som. Just look how all other vendors do it.
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
The "hamoa" name refers to a family of SoCs that share the same silicon die but are offered in multiple speed bins. The specific SoC used in this board is the x1e80100, which represents one such bin within the Hamoa family.
Quoted 6 lines
Quoted 1 line
Isn't this obvious from the schema?
This is the first patch set where the Hamoa code name is introduced, so I’d like to clarify the relationship between the Hamoa family and the SoC ID. Additionally, I want to explain why the compatible string includes both the board’s code name and the SoC name.
There is no SoC name here. The SoC name stays the same and you do not change it just because your internal policy changes every X years.
Quoted 14 lines
Quoted 10 lines
Quoted 7 lines
Although "qcom,hamoa-iot-evk" is introduced as the board-specific compatible, the fallback compatible remains "qcom,x1e80100" to preserve compatibility with existing in-kernel drivers and software that already depend on this identifier.
Not relevant. This is x1e80100 SoC. We do not explain that microsoft,romulus15 is using fallback x1e80100, do we?
Same as above.
Quoted 1 line
Quoted 7 lines
Quoted 4 lines
You explain less relevant topics but you do not explain the main concerns here. It does not matter how you name your board. Can be hamoa, can be lemans - we don't care about board names.
I will add more details to describe the relationship between the board and the SoM. This is what people are most concerned about, right?
No. Drop all references to Hamoa because it is irrelevant. You do not get to change existing bindings or existing meanings just because you decided to use some other model names.
Best regards,
Krzysztof
Re: [PATCH v2 1/4] dt-bindings: arm: qcom: Document HAMOA-IOT-EVK board
In reply to Krzysztof KozlowskiQuoted 5 lines · Krzysztof Kozlowski
Quoted 2 lines · Yijie Yang
Document the device tree binding for a new board named "EVK" based on the Qualcomm Hamoa-IoT platform.
What is hamoa-iot?
Marketing
Quoted 4 lines
Later patches claim this is a SoM, so explain here why you are not expecting it to be used outside of EVK (not following standard SoM rules like every other vendor)?
The SoM is unsurprisingly called... hamoa-iot-som.
EVK is the reference carrier board. The expectation is that more boards will be added in the future, as the SoM is adopted by third parties.
Konrad
PATCH v2 2/4 firmware: qcom: scm: Allow QSEECOM on HAMOA-IOT-EVK
In reply to Yijie YangAdd the Hamoa-IoT-EVK board to the list to enable access to EFI variables.
--- drivers/firmware/qcom/qcom_scm.c | 1 + 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_scm.c +1 -0
@@ -2006,6 +2006,7 @@ static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = { { .compatible = "microsoft,blackrock" }, { .compatible = "microsoft,romulus13", }, { .compatible = "microsoft,romulus15", }, + { .compatible = "qcom,hamoa-iot-evk" }, { .compatible = "qcom,sc8180x-primus" }, { .compatible = "qcom,x1e001de-devkit" }, { .compatible = "qcom,x1e80100-crd" },
Signature · 1 line
2.34.1
PATCH v2 3/4 arm64: dts: qcom: Add HAMOA-IOT-SOM platform
In reply to Yijie YangThe HAMOA-IOT-SOM is a compact computing module that integrates a System on Chip (SoC) — specifically the x1e80100 — along with essential components optimized for IoT applications. It is designed to be mounted on carrier boards, enabling the development of complete embedded systems.
This change enables and overlays the following components:
- Regulators on the SOM
- Reserved memory regions
- PCIe6a and its PHY
- PCIe4 and its PHY
- USB0 through USB6 and their PHYs
- ADSP, CDSP
- WLAN, Bluetooth (M.2 interface)
Written with contributions from Yingying Tang (added PCIe4 and its PHY to enable WLAN).
--- arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi | 607 ++++++++++++++++++++++++++++ 1 file changed, 607 insertions(+)
arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi new file +607 -0
@@ -0,0 +1,607 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +#include "x1e80100.dtsi" +#include "x1e80100-pmics.dtsi" +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/regulator/qcom,rpmh-regulator.h> + +/ { + reserved-memory { + linux,cma { + compatible = "shared-dma-pool"; + size = <0x0 0x8000000>; + reusable; + linux,cma-default; + }; + }; +}; + +&apps_rsc { + /* PMC8380C_B */ + regulators-0 { + compatible = "qcom,pm8550-rpmh-regulators"; + qcom,pmic-id = "b"; + + vdd-bob1-supply = <&vph_pwr>; + vdd-bob2-supply = <&vph_pwr>; + vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; + vdd-l2-l13-l14-supply = <&vreg_bob1>; + vdd-l5-l16-supply = <&vreg_bob1>; + vdd-l6-l7-supply = <&vreg_bob2>; + vdd-l8-l9-supply = <&vreg_bob1>; + vdd-l12-supply = <&vreg_s5j_1p2>; + vdd-l15-supply = <&vreg_s4c_1p8>; + vdd-l17-supply = <&vreg_bob2>; + + vreg_bob1: bob1 { + regulator-name = "vreg_bob1"; + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <3960000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_bob2: bob2 { + regulator-name = "vreg_bob2"; + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l1b_1p8: ldo1 { + regulator-name = "vreg_l1b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2b_3p0: ldo2 { + regulator-name = "vreg_l2b_3p0"; + regulator-min-microvolt = <3072000>; + regulator-max-microvolt = <3100000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l4b_1p8: ldo4 { + regulator-name = "vreg_l4b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l5b_3p0: ldo5 { + regulator-name = "vreg_l5b_3p0"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l6b_1p8: ldo6 { + regulator-name = "vreg_l6b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l7b_2p8: ldo7 { + regulator-name = "vreg_l7b_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l8b_3p0: ldo8 { + regulator-name = "vreg_l8b_3p0"; + regulator-min-microvolt = <3072000>; + regulator-max-microvolt = <3072000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l9b_2p9: ldo9 { + regulator-name = "vreg_l9b_2p9"; + regulator-min-microvolt = <2960000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l10b_1p8: ldo10 { + regulator-name = "vreg_l10b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l12b_1p2: ldo12 { + regulator-name = "vreg_l12b_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + regulator-always-on; + }; + + vreg_l13b_3p0: ldo13 { + regulator-name = "vreg_l13b_3p0"; + regulator-min-microvolt = <3072000>; + regulator-max-microvolt = <3100000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l14b_3p0: ldo14 { + regulator-name = "vreg_l14b_3p0"; + regulator-min-microvolt = <3072000>; + regulator-max-microvolt = <3072000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l15b_1p8: ldo15 { + regulator-name = "vreg_l15b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + regulator-always-on; + }; + + vreg_l16b_2p9: ldo16 { + regulator-name = "vreg_l16b_2p9"; + regulator-min-microvolt = <2912000>; + regulator-max-microvolt = <2912000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l17b_2p5: ldo17 { + regulator-name = "vreg_l17b_2p5"; + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2504000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + /* PMC8380VE_C */ + regulators-1 { + compatible = "qcom,pm8550ve-rpmh-regulators"; + qcom,pmic-id = "c"; + + vdd-l1-supply = <&vreg_s5j_1p2>; + vdd-l2-supply = <&vreg_s1f_0p7>; + vdd-l3-supply = <&vreg_s1f_0p7>; + vdd-s4-supply = <&vph_pwr>; + + vreg_s4c_1p8: smps4 { + regulator-name = "vreg_s4c_1p8"; + regulator-min-microvolt = <1856000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l1c_1p2: ldo1 { + regulator-name = "vreg_l1c_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2c_0p8: ldo2 { + regulator-name = "vreg_l2c_0p8"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3c_0p8: ldo3 { + regulator-name = "vreg_l3c_0p8"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + /* PMC8380_D */ + regulators-2 { + compatible = "qcom,pmc8380-rpmh-regulators"; + qcom,pmic-id = "d"; + + vdd-l1-supply = <&vreg_s1f_0p7>; + vdd-l2-supply = <&vreg_s1f_0p7>; + vdd-l3-supply = <&vreg_s4c_1p8>; + vdd-s1-supply = <&vph_pwr>; + + vreg_l1d_0p8: ldo1 { + regulator-name = "vreg_l1d_0p8"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2d_0p9: ldo2 { + regulator-name = "vreg_l2d_0p9"; + regulator-min-microvolt = <912000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3d_1p8: ldo3 { + regulator-name = "vreg_l3d_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + /* PMC8380_E */ + regulators-3 { + compatible = "qcom,pmc8380-rpmh-regulators"; + qcom,pmic-id = "e"; + + vdd-l2-supply = <&vreg_s1f_0p7>; + vdd-l3-supply = <&vreg_s5j_1p2>; + + vreg_l2e_0p8: ldo2 { + regulator-name = "vreg_l2e_0p8"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3e_1p2: ldo3 { + regulator-name = "vreg_l3e_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + /* PMC8380_F */ + regulators-4 { + compatible = "qcom,pmc8380-rpmh-regulators"; + qcom,pmic-id = "f"; + + vdd-l1-supply = <&vreg_s5j_1p2>; + vdd-l2-supply = <&vreg_s5j_1p2>; + vdd-l3-supply = <&vreg_s5j_1p2>; + vdd-s1-supply = <&vph_pwr>; + + vreg_s1f_0p7: smps1 { + regulator-name = "vreg_s1f_0p7"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1100000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l1f_1p0: ldo1 { + regulator-name = "vreg_l1f_1p0"; + regulator-min-microvolt = <1024000>; + regulator-max-microvolt = <1024000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2f_1p0: ldo2 { + regulator-name = "vreg_l2f_1p0"; + regulator-min-microvolt = <1024000>; + regulator-max-microvolt = <1024000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3f_1p0: ldo3 { + regulator-name = "vreg_l3f_1p0"; + regulator-min-microvolt = <1024000>; + regulator-max-microvolt = <1024000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + /* PMC8380VE_I */ + regulators-6 { + compatible = "qcom,pm8550ve-rpmh-regulators"; + qcom,pmic-id = "i"; + + vdd-l1-supply = <&vreg_s4c_1p8>; + vdd-l2-supply = <&vreg_s5j_1p2>; + vdd-l3-supply = <&vreg_s1f_0p7>; + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + + vreg_s1i_0p9: smps1 { + regulator-name = "vreg_s1i_0p9"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_s2i_1p0: smps2 { + regulator-name = "vreg_s2i_1p0"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1100000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l1i_1p8: ldo1 { + regulator-name = "vreg_l1i_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2i_1p2: ldo2 { + regulator-name = "vreg_l2i_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3i_0p8: ldo3 { + regulator-name = "vreg_l3i_0p8"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + /* PMC8380VE_J */ + regulators-7 { + compatible = "qcom,pm8550ve-rpmh-regulators"; + qcom,pmic-id = "j"; + + vdd-l1-supply = <&vreg_s1f_0p7>; + vdd-l2-supply = <&vreg_s5j_1p2>; + vdd-l3-supply = <&vreg_s1f_0p7>; + vdd-s5-supply = <&vph_pwr>; + + vreg_s5j_1p2: smps5 { + regulator-name = "vreg_s5j_1p2"; + regulator-min-microvolt = <1256000>; + regulator-max-microvolt = <1304000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l1j_0p8: ldo1 { + regulator-name = "vreg_l1j_0p8"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2j_1p2: ldo2 { + regulator-name = "vreg_l2j_1p2"; + regulator-min-microvolt = <1256000>; + regulator-max-microvolt = <1256000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3j_0p8: ldo3 { + regulator-name = "vreg_l3j_0p8"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; +}; + +&pcie4 { + perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; + + pinctrl-0 = <&pcie4_default>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pcie4_phy { + vdda-phy-supply = <&vreg_l3i_0p8>; + vdda-pll-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&pcie6a { + perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; + + pinctrl-0 = <&pcie6a_default>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pcie6a_phy { + vdda-phy-supply = <&vreg_l1d_0p8>; + vdda-pll-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&qupv3_0 { + status = "okay"; +}; + +&qupv3_1 { + status = "okay"; +}; + +&qupv3_2 { + status = "okay"; +}; + +&remoteproc_adsp { + firmware-name = "qcom/x1e80100/adsp.mbn", + "qcom/x1e80100/adsp_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/x1e80100/cdsp.mbn", + "qcom/x1e80100/cdsp_dtb.mbn"; + + status = "okay"; +}; + +&tlmm { + gpio-reserved-ranges = <34 2>, /* TPM LP & INT */ + <44 4>; /* SPI (TPM) */ + + pcie4_default: pcie4-default-state { + clkreq-n-pins { + pins = "gpio147"; + function = "pcie4_clk"; + drive-strength = <2>; + bias-pull-up; + }; + + perst-n-pins { + pins = "gpio146"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + wake-n-pins { + pins = "gpio148"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + + pcie6a_default: pcie6a-default-state { + clkreq-n-pins { + pins = "gpio153"; + function = "pcie6a_clk"; + drive-strength = <2>; + bias-pull-up; + }; + + perst-n-pins { + pins = "gpio152"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + wake-n-pins { + pins = "gpio154"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + + }; + }; +}; + +&usb_1_ss0 { + status = "okay"; +}; + +&usb_1_ss0_dwc3 { + dr_mode = "otg"; + usb-role-switch; +}; + +&usb_1_ss0_hsphy { + vdd-supply = <&vreg_l3j_0p8>; + vdda12-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&usb_1_ss0_qmpphy { + vdda-phy-supply = <&vreg_l2j_1p2>; + vdda-pll-supply = <&vreg_l1j_0p8>; + + status = "okay"; +}; + +&usb_1_ss1 { + status = "okay"; +}; + +&usb_1_ss1_dwc3 { + dr_mode = "otg"; + usb-role-switch; +}; + +&usb_1_ss1_hsphy { + vdd-supply = <&vreg_l3j_0p8>; + vdda12-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&usb_1_ss1_qmpphy { + vdda-phy-supply = <&vreg_l2j_1p2>; + vdda-pll-supply = <&vreg_l2d_0p9>; + + status = "okay"; +}; + +&usb_1_ss2 { + status = "okay"; +}; + +&usb_1_ss2_dwc3 { + dr_mode = "otg"; + usb-role-switch; +}; + +&usb_1_ss2_hsphy { + vdd-supply = <&vreg_l3j_0p8>; + vdda12-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&usb_1_ss2_qmpphy { + vdda-phy-supply = <&vreg_l2j_1p2>; + vdda-pll-supply = <&vreg_l2d_0p9>; + + status = "okay"; +}; + +&usb_2 { + status = "okay"; +}; + +&usb_2_dwc3 { + dr_mode = "host"; +}; + +&usb_2_hsphy { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_mp { + status = "okay"; +}; + +&usb_mp_hsphy0 { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_mp_hsphy1 { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_mp_qmpphy0 { + vdda-phy-supply = <&vreg_l3e_1p2>; + vdda-pll-supply = <&vreg_l3c_0p8>; + + status = "okay"; +}; + +&usb_mp_qmpphy1 { + vdda-phy-supply = <&vreg_l3e_1p2>; + vdda-pll-supply = <&vreg_l3c_0p8>; + + status = "okay"; +};
Signature · 1 line
2.34.1
PATCH v2 4/4 arm64: dts: qcom: Add base HAMOA-IOT-EVK board
In reply to Yijie YangThe HAMOA-IOT-EVK is an evaluation platform for IoT products, composed of the Hamoa IoT SoM and a carrier board. Together, they form a complete embedded system capable of booting to UART.
This change enables and overlays the following peripherals on the carrier board:
- UART
- On-board regulators
- USB Type-C mux
- Pinctrl
- Embedded USB (EUSB) repeaters
- NVMe
- pmic-glink
- USB DisplayPorts
Written with contributions from Shuai Zhang (added Bluetooth) and Yongxing Mou (added USB DisplayPorts).
--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 915 +++++++++++++++++++++++++++++ 2 files changed, 916 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -13,6 +13,7 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8039-t2.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8094-sony-xperia-kitakami-karin_windy.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb +dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5018-rdp432-c2.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5018-tplink-archer-ax55-v1.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp441.dtb
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts new file +915 -0
915 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH v2 4/4] arm64: dts: qcom: Add base HAMOA-IOT-EVK board
Quoted 15 lines · Yijie Yang
The HAMOA-IOT-EVK is an evaluation platform for IoT products, composed of the Hamoa IoT SoM and a carrier board. Together, they form a complete embedded system capable of booting to UART.
This change enables and overlays the following peripherals on the carrier board:
- UART
- On-board regulators
- USB Type-C mux
- Pinctrl
- Embedded USB (EUSB) repeaters
- NVMe
- pmic-glink
- USB DisplayPorts
Quoted 5 lines
Written with contributions from Shuai Zhang (added Bluetooth) and Yongxing Mou (added USB DisplayPorts).
Signed-off-by Yijie Yang <[email protected]>---
This still wasn't tested. Use the automated tools instead of community reviewers... Your internal guideline documents how to do it.
Best regards,
Krzysztof
Re: [PATCH v2 4/4] arm64: dts: qcom: Add base HAMOA-IOT-EVK board
Quoted 16 lines · Krzysztof Kozlowski
Quoted 15 lines · Yijie Yang
The HAMOA-IOT-EVK is an evaluation platform for IoT products, composed of the Hamoa IoT SoM and a carrier board. Together, they form a complete embedded system capable of booting to UART.
This change enables and overlays the following peripherals on the carrier board:
- UART
- On-board regulators
- USB Type-C mux
- Pinctrl
- Embedded USB (EUSB) repeaters
- NVMe
- pmic-glink
- USB DisplayPorts
Quoted 8 lines
Quoted 5 lines
Written with contributions from Shuai Zhang (added Bluetooth) and Yongxing Mou (added USB DisplayPorts).
Signed-off-by Yijie Yang <[email protected]>---
This still wasn't tested. Use the automated tools instead of community reviewers... Your internal guideline documents how to do it.
Thanks for pointing that out. I’ll update the node name from wcn_usb_sw_n_state to wcn-usb-sw-n-state to align with the schema pattern and eliminate unevaluated property warnings.
Regarding the regulator properties for wcn7850-pmu, as discussed in the previous version, the required supplies are already configured via UEFI. Therefore, redefining them in the device tree would be redundant. To satisfy schema validation without introducing unnecessary definitions, I plan to use a dummy regulator as a placeholder.
Here’s the pseudocode I intend to use:
dummy_reg: regulator-dummy {
compatible = "regulator-dummy";
};wcn7850_pmu: wcn7850-pmu@xxxx {
compatible = "qcom,wcn7850-pmu";
reg = <0x...>;
vdd-supply = <&dummy_reg>;
vddaon-supply = <&dummy_reg>;
vdddig-supply = <&dummy_reg>;
vddrfa1p2-supply = <&dummy_reg>;
vddrfa1p8-supply = <&dummy_reg>;
};This approach ensures the DTB passes schema checks while keeping the implementation clean and consistent with the actual platform setup. Do you think this is appropriate?
Quoted 3 lines
Best regards,
Krzysztof
Signature · 2 lines
Best Regards, Yijie
Re: [PATCH v2 4/4] arm64: dts: qcom: Add base HAMOA-IOT-EVK board
Quoted 10 lines · Yijie Yang
wcn7850_pmu: wcn7850-pmu@xxxx {
compatible = "qcom,wcn7850-pmu";
reg = <0x...>;
vdd-supply = <&dummy_reg>;
vddaon-supply = <&dummy_reg>;
vdddig-supply = <&dummy_reg>;
vddrfa1p2-supply = <&dummy_reg>;
vddrfa1p8-supply = <&dummy_reg>;
};Quoted 3 lines
This approach ensures the DTB passes schema checks while keeping the implementation clean and consistent with the actual platform setup. Do you think this is appropriate?
No. There is no dummy regulator in the hardware, so you cannot add it to the DTS.
Best regards,
Krzysztof
Re: [PATCH v2 4/4] arm64: dts: qcom: Add base HAMOA-IOT-EVK board
Quoted 15 lines · Krzysztof Kozlowski
Quoted 10 lines · Yijie Yang
wcn7850_pmu: wcn7850-pmu@xxxx { compatible = "qcom,wcn7850-pmu"; reg = <0x...>; vdd-supply = <&dummy_reg>; vddaon-supply = <&dummy_reg>; vdddig-supply = <&dummy_reg>; vddrfa1p2-supply = <&dummy_reg>; vddrfa1p8-supply = <&dummy_reg>; };Quoted 3 lines
This approach ensures the DTB passes schema checks while keeping the implementation clean and consistent with the actual platform setup. Do you think this is appropriate?
Quoted 2 lines
No. There is no dummy regulator in the hardware, so you cannot add it to the DTS.
What should I do in this case? Is it acceptable to deviate from the dt-binding rules due to differences in firmware behavior? Otherwise, I’ll need to revert to the first version, leave a TODO in the DTS, and wait for someone to properly model the M.2 card.
Quoted 3 lines
Best regards,
Krzysztof
Signature · 2 lines
Best Regards, Yijie
Re: [PATCH v2 4/4] arm64: dts: qcom: Add base HAMOA-IOT-EVK board
Quoted 18 lines · Yijie Yang
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Yijie Yang
wcn7850_pmu: wcn7850-pmu@xxxx {
compatible = "qcom,wcn7850-pmu";
reg = <0x...>;
vdd-supply = <&dummy_reg>;
vddaon-supply = <&dummy_reg>;
vdddig-supply = <&dummy_reg>;
vddrfa1p2-supply = <&dummy_reg>;
vddrfa1p8-supply = <&dummy_reg>;
};
This approach ensures the DTB passes schema checks while keeping the implementation clean and consistent with the actual platform setup. Do you think this is appropriate?
Quoted 4 lines
Quoted 2 lines
No. There is no dummy regulator in the hardware, so you cannot add it to the DTS.
What should I do in this case? Is it acceptable to deviate from the dt-binding rules due to differences in firmware behavior? Otherwise, I’ll need to revert to the first version, leave a TODO in the DTS, and wait for someone to properly model the M.2 card.
The reason we describe the regulators is so that the Wi-Fi can be powered off and back on. Please don't invent any hacks.
Konrad
Rob Herring (Arm)
maintainerQuoted 79 lines · Yijie Yang
Introduce the device tree, DT bindings, and driver modifications required to bring up the HAMOA-IOT-EVK evaluation board—based on the X1E80100 SoC—to a UART shell.
This patch set focuses on two key hardware components: the HAMOA-IOT-SOM and the HAMOA-IOT-EVK carrier board.
The HAMOA-IOT-SOM is a compact System on Module that integrates the SoC, GPIOs, and PMICs. It is designed to be modular and can be paired with various carrier boards to support different use cases.
The HAMOA-IOT-EVK is one such carrier board, designed for IoT scenarios. It provides essential peripherals such as UART, on-board PMICs, and USB-related components.
Together, these components form a flexible and scalable platform, and this patch set enables their initial bring-up through proper device tree configuration and driver support.Qualcomm SoCs often have multiple product variants, each identified by a different SoC ID. For instance, the x1e80100 SoC has closely related variants such as x1e78100 and x1e001de. This diversity in SoC identifiers can lead to confusion and unnecessary maintenance complexity in the device tree and related subsystems.
To address this, code names offer a more consistent and project-agnostic way to represent SoC families. They tend to remain stable across development efforts.
This patch series introduces "hamoa" as the codename for the x1e80100 SoC. Going forward, all x1e80100-related variants—including x1e81000 and others in the same family—will be represented under the "hamoa" designation in the device tree.
This improves readability, streamlines future maintenance, and aligns with common naming practices across Qualcomm-based platforms.Features added and enabled:
- UART
- On-board regulators
- Regulators on the SOM
- PMIC GLINK
- USB0 through USB6 and their PHYs
- Embedded USB (eUSB) repeaters
- USB Type-C mux
- PCIe6a and its PHY
- PCIe4 and its PHY
- Reserved memory regions
- Pinctrl
- NVMe
- ADSP, CDSP
- WLAN, Bluetooth (M.2 interface)
- USB DisplayPortSigned-off-by Yijie Yang <[email protected]>---
To: Bjorn Andersson <[email protected]>
To: Konrad Dybcio <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]---
Changes in v2:
- Merge the compatible rules and remove the compatible string map.
- Align the ADSP and CDSP firmware paths with other x1e80100 platforms.
- Remove the regulators on the M.2 card, as well as those managed by UEFI on this board.
- Merge another patch series that enables USB DisplayPort functionality on this platform: https://lore.kernel.org/all/[email protected]/
- Link to v1: https://lore.kernel.org/r/[email protected]---
Yijie Yang (4):
dt-bindings: arm: qcom: Document HAMOA-IOT-EVK board
firmware: qcom: scm: Allow QSEECOM on HAMOA-IOT-EVK
arm64: dts: qcom: Add HAMOA-IOT-SOM platform
arm64: dts: qcom: Add base HAMOA-IOT-EVK boardDocumentation/devicetree/bindings/arm/qcom.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 915 ++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi | 607 ++++++++++++++++ drivers/firmware/qcom/qcom_scm.c | 1 + 5 files changed, 1525 insertions(+)
Quoted 10 lines
---
base-commit:4d088c49d1e49e0149aa66908c3e8722af68ed07
change-id: 20250604-hamoa_initial-0cd7036d7271Best regards,
--
Yijie Yang <[email protected]>
My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: using specified base-commit 4d088c49d1e49e0149aa66908c3e8722af68ed07
If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for [email protected]:
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dtb: pinctrl@f100000 (qcom,x1e80100-tlmm): Unevaluated properties are not allowed ('wcn_usb_sw_n_state' was unexpected)
from schema $id: http://devicetree.org/schemas/pinctrl/qcom,x1e80100-tlmm.yaml#arch/arm64/boot/dts/qcom/hamoa-iot-evk.dtb: wcn7850-pmu (qcom,wcn7850-pmu): 'vdd-supply' is a required property
from schema $id: http://devicetree.org/schemas/regulator/qcom,qca6390-pmu.yaml#arch/arm64/boot/dts/qcom/hamoa-iot-evk.dtb: wcn7850-pmu (qcom,wcn7850-pmu): 'vddaon-supply' is a required property
from schema $id: http://devicetree.org/schemas/regulator/qcom,qca6390-pmu.yaml#arch/arm64/boot/dts/qcom/hamoa-iot-evk.dtb: wcn7850-pmu (qcom,wcn7850-pmu): 'vdddig-supply' is a required property
from schema $id: http://devicetree.org/schemas/regulator/qcom,qca6390-pmu.yaml#arch/arm64/boot/dts/qcom/hamoa-iot-evk.dtb: wcn7850-pmu (qcom,wcn7850-pmu): 'vddrfa1p2-supply' is a required property
from schema $id: http://devicetree.org/schemas/regulator/qcom,qca6390-pmu.yaml#arch/arm64/boot/dts/qcom/hamoa-iot-evk.dtb: wcn7850-pmu (qcom,wcn7850-pmu): 'vddrfa1p8-supply' is a required property
from schema $id: http://devicetree.org/schemas/regulator/qcom,qca6390-pmu.yaml#