diff mbox series

[v2] arm64: zynqmp: Add an OP-TEE node to the device tree

Message ID 20230216133921.866786-1-ilias.apalodimas@linaro.org
State New
Headers show
Series [v2] arm64: zynqmp: Add an OP-TEE node to the device tree | expand

Commit Message

Ilias Apalodimas Feb. 16, 2023, 1:39 p.m. UTC
Since the zynqmp boards can run upstream OP-TEE, and having the DT node
present doesn't cause any side effects add it in case someone tries to
load OP-TEE.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
changes since v1:
- move the defintion to the .dtsi covering all zynqmp boards

 arch/arm/dts/zynqmp.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

--
2.38.1

Comments

Michal Simek Feb. 20, 2023, 8:17 a.m. UTC | #1
On 2/16/23 14:39, Ilias Apalodimas wrote:
> Since the zynqmp boards can run upstream OP-TEE, and having the DT node
> present doesn't cause any side effects add it in case someone tries to
> load OP-TEE.
> 
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> ---
> changes since v1:
> - move the defintion to the .dtsi covering all zynqmp boards
> 
>   arch/arm/dts/zynqmp.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
> index 0a06c73390b2..793ce59d8d94 100644
> --- a/arch/arm/dts/zynqmp.dtsi
> +++ b/arch/arm/dts/zynqmp.dtsi
> @@ -147,6 +147,11 @@
>   	};
> 
>   	firmware {
> +		optee: optee  {
> +			compatible = "linaro,optee-tz";
> +			method = "smc";
> +		};
> +
>   		zynqmp_firmware: zynqmp-firmware {
>   			compatible = "xlnx,zynqmp-firmware";
>   			#power-domain-cells = <1>;
> --
> 2.38.1
> 

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index 0a06c73390b2..793ce59d8d94 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -147,6 +147,11 @@ 
 	};

 	firmware {
+		optee: optee  {
+			compatible = "linaro,optee-tz";
+			method = "smc";
+		};
+
 		zynqmp_firmware: zynqmp-firmware {
 			compatible = "xlnx,zynqmp-firmware";
 			#power-domain-cells = <1>;