Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Documentation/devicetree/bindings/arm/qcom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,13 @@ properties:
- const: qcom,hamoa-iot-som
- const: qcom,x1e80100

- items:
- enum:
- advantech,som-db5830
- const: advantech,som-6820
- const: qcom,iq-x7181-evk-som
- const: qcom,x1e80100

- items:
- enum:
- qcom,purwa-iot-evk
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk-camera-imx577.dtbo
hamoa-iot-evk-camera-imx577-dtbs := hamoa-iot-evk.dtb hamoa-iot-evk-camera-imx577.dtbo

dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk-camera-imx577.dtb
dtb-$(CONFIG_ARCH_QCOM) += hamoa-som-db5830.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
Expand Down
54 changes: 54 additions & 0 deletions arch/arm64/boot/dts/qcom/hamoa-som-6820.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*
* SoM: https://advdownload.advantech.com.cn/productfile/PIS/SOM-6820/file/SOM-6820_DS(052925)20250529110758.pdf
*/

#include "hamoa-iot-som.dtsi"

/ {
vph_pwr: regulator-vph-pwr {
compatible = "regulator-fixed";

regulator-name = "vph_pwr";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;

regulator-always-on;
regulator-boot-on;
};
};

&ufs_mem_phy {
vdda-phy-supply = <&vreg_l3i_0p8>;
vdda-pll-supply = <&vreg_l3e_1p2>;

status = "okay";
};

&ufs_mem_hc {
reset-gpios = <&tlmm 238 GPIO_ACTIVE_LOW>;

vcc-supply = <&vreg_l17b_2p5>;
vcc-max-microamp = <1300000>;
vccq-supply = <&vreg_l2i_1p2>;
vccq-max-microamp = <1200000>;

status = "okay";
};

&usb_1_ss0 {
/delete-property/ usb-role-switch;
dr_mode = "peripheral";
};

&usb_1_ss1 {
/delete-property/ usb-role-switch;
dr_mode = "host";
};

&usb_1_ss2 {
/delete-property/ usb-role-switch;
dr_mode = "host";
};
119 changes: 119 additions & 0 deletions arch/arm64/boot/dts/qcom/hamoa-som-db5830.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*
* SoM: https://advdownload.advantech.com.cn/productfile/PIS/SOM-6820/file/SOM-6820_DS(052925)20250529110758.pdf
* carrier board: https://www.advantech.com.cn/zh-cn/products/1-fc23ff/som-db5830/mod_16b1a718-27d6-4a4c-8684-e8f2a8e9c57b
*/

/dts-v1/;

#include "hamoa-som-6820.dtsi"

/ {
model = "Advantech SOM-6820 on SOM-DB5830";
compatible = "advantech,som-db5830", "advantech,som-6820",
"qcom,iq-x7181-evk-som", "qcom,x1e80100";
chassis-type = "embedded";

aliases {
serial0 = &uart21;
};

chosen {
stdout-path = "serial0:115200n8";
};

};

&pcie3_port0 {
reset-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
};

&pcie4_port0 {
reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
};

&pcie5_port0 {
reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
};

&pcie6a_port0 {
reset-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
};

&thermal_zones {
gpuss-0-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};

gpuss-1-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};

gpuss-2-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};

gpuss-3-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};

gpuss-4-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};

gpuss-5-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};

gpuss-6-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};

gpuss-7-thermal {
trips {
trip-point0 {
temperature = <105000>;
};
};
};
};

&uart21 {
compatible = "qcom,geni-debug-uart";

status = "okay";
};
Loading