ARM: dts: qcom: Add SPU related nodes to sun dtsi

Needed for SPU pil on sun dtsi.

Remoteproc-spss, spcom and spss_utils are disabled.

Change-Id: I97519bacccee2f7094edbcf32e3fdac29d67ac77
Signed-off-by: Nurit Lichtenstein <quic_nuritl@quicinc.com>
This commit is contained in:
Nurit Lichtenstein
2023-10-19 17:44:13 +03:00
parent 07e8205d36
commit d04fa7ba64
4 changed files with 300 additions and 2 deletions

View File

@@ -0,0 +1,35 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom, spcom.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Secure Proccessor Communication (spcom)
maintainers:
- Nurit Lichtenstein <quic_nuritl@quicinc.com>
description: |
This document defines the binding for a component that implements the secure processor communication.
required:
- compatible
- qcom,spcom-ch-names
- qcom,spcom-sp2soc-rmb-reg-addr
- qcom,spcom-sp2soc-rmb-initdone-bit
- qcom,spcom-sp2soc-rmb-pbldone-bit
- qcom,spcom-soc2sp-rmb-reg-addr
- qcom,spcom-soc2sp-rmb-sp-ssr-bit
examples:
#The following example represents the spcom node on a sun device.
- |
qcom,spcom {
compatible = "qcom,spcom";
qcom,spcom-ch-names = "sp_kernel" , "sp_ssr";
qcom,spcom-sp2soc-rmb-reg-addr = <0x01881020>;
qcom,spcom-sp2soc-rmb-initdone-bit = <24>;
qcom,spcom-sp2soc-rmb-pbldone-bit = <25>;
qcom,spcom-soc2sp-rmb-reg-addr = <0x01881030>;
qcom,spcom-soc2sp-rmb-sp-ssr-bit = <0>;
};

View File

@@ -0,0 +1,47 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/remoteproc/qcom,spss-utils.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: QTI Secure Processor SubSystem Utilities
maintainers:
- Nurit Lichtenstein <quic_nuritl@quicinc.com>
description:
The Secure Processor SubSystem (SPSS) is a dedicated subsystem for security.
It has its own CPU, memories, and cryptographic engine.
It shall provide cryptographic services to other subsystems.
The SPSS firmware is loaded by PIL driver.
The communication with SPSS is done via spcom driver, using glink.
This document defines the binding for a component that selects the SPSS firmware file, according to a dedicated fuse and the platform HW version.
required:
- compatible
- qcom,spss-fuse1-addr
- qcom,spss-fuse1-bit
- qcom,spss-fuse2-addr
- qcom,spss-fuse2-bit
- qcom,spss-dev-firmware-name
- qcom,spss-test-firmware-name
- qcom,spss-prod-firmware-name
- qcom,spss-debug-reg-addr
- qcom,spss-emul-type-reg-addr
examples:
#The following example represents the spss-utils node on a sun device.
- |
qcom,spss_utils {
compatible = "qcom,spss-utils";
qcom,spss-fuse1-addr = <0x007841c4>;
qcom,spss-fuse1-bit = <27>;
qcom,spss-fuse2-addr = <0x007841c4>;
qcom,spss-fuse2-bit = <26>;
qcom,spss-dev-firmware-name = "spss1d"; /* 8 chars max */
qcom,spss-test-firmware-name = "spss1t"; /* 8 chars max */
qcom,spss-prod-firmware-name = "spss1p"; /* 8 chars max */
qcom,spss-debug-reg-addr = <0x01886020>;
qcom,spss-emul-type-reg-addr = <0x01fc8004>;
};