eSE-devicetree: Added support for eSE on multiple tuna boards

As eSE is present in multiple tuna boards, added the board and msm id's
for all the revellant tuna boards.

Change-Id: Ia04cab5be445331bdd8c79ea3e4edb7566bfd74e
(cherry picked from commit 692ca5a0f9db8f55ee6dd7cd254ba55f067f3320)
This commit is contained in:
Ravi Kumar Bokka
2024-10-02 03:42:49 +05:30
committed by Vara Adabala
parent dd1e9845d1
commit c05bfec592
10 changed files with 159 additions and 0 deletions

11
Kbuild
View File

@@ -15,6 +15,17 @@ dtbo-y += sun-v2-ese-cdp.dtbo
dtbo-y += sun-v2-ese-qrd.dtbo dtbo-y += sun-v2-ese-qrd.dtbo
endif endif
ifeq ($(CONFIG_ARCH_TUNA),y)
dtbo-y += tuna-ese-cdp.dtbo
dtbo-y += tuna-ese-mtp.dtbo
dtbo-y += tuna-ese-qrd.dtbo
dtbo-y += tuna-ese-mtp-kiwi-overlay.dtbo
dtbo-y += tuna-ese-rcm-kiwi-overlay.dtbo
dtbo-y += tuna-ese-mtp-qmp1000-overlay.dtbo
dtbo-y += tuna-ese-oemvm-mtp-kiwi.dtbo
dtbo-y += tuna-ese-oemvm-rcm-kiwi.dtbo
endif
always-y := $(dtb-y) $(dtbo-y) always-y := $(dtb-y) $(dtbo-y)
subdir-y := $(dts-dirs) subdir-y := $(dts-dirs)
clean-files := *.dtb *.dtbo clean-files := *.dtb *.dtbo

18
tuna-ese-cdp.dts Normal file
View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna CDP";
compatible = "qcom,tuna-cdp", "qcom,tuna", "qcom,tunap-cdp", "qcom,tunap",
"qcom,cdp";
qcom,msm-id = <681 0x10000>, <655 0x10000>;
qcom,board-id = <1 0>;
};

15
tuna-ese-common.dtsi Normal file
View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
st54spi_gpio {
status = "ok";
compatible = "st,st54spi_gpio";
/* gpio used as SE_nRESET */
gpio-power_nreset = <&tlmm 111 0x00>;
};
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna MTP + kiwi WLAN";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,msm-id = <681 0x10000>, <655 0x10000>;
qcom,board-id = <8 2>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna MTP QMP1000";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,msm-id = <681 0x10000>, <655 0x10000>;
qcom,board-id = <8 1>;
};

17
tuna-ese-mtp.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna MTP";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,msm-id = <681 0x10000>, <655 0x10000>;
qcom,board-id = <8 0>;
};

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM MTP + kiwi WLAN";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,board-id = <8 2>;
};

View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM RCM + kiwi WLAN";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,board-id = <21 1>;
};

17
tuna-ese-qrd.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna QRD";
compatible = "qcom,tuna-qrd", "qcom,tuna", "qcom,tunap-qrd", "qcom,tunap",
"qcom,qrd";
qcom,msm-id = <681 0x10000>, <655 0x10000>;
qcom,board-id = <11 0>;
};

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
#include "tuna-ese-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna RCM + kiwi WLAN";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,msm-id = <681 0x10000>, <655 0x10000>;
qcom,board-id = <21 1>;
};