ARM: dts: stm32mp13: add OP-TEE nodes
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 6 Jul 2022 16:20:24 +0000 (18:20 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 12 Jul 2022 09:46:18 +0000 (11:46 +0200)
Add the node for OP-TEE firmware with the associated reserved memory nodes

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32mp13-u-boot.dtsi
arch/arm/dts/stm32mp131.dtsi
arch/arm/dts/stm32mp135f-dk.dts

index 1b5b358..adc7e67 100644 (file)
        u-boot,dm-pre-reloc;
 };
 
+&optee {
+       u-boot,dm-pre-reloc;
+};
+
 &pinctrl {
        u-boot,dm-pre-reloc;
 };
index 950e172..652743f 100644 (file)
                interrupt-parent = <&intc>;
        };
 
+       firmware {
+               optee: optee {
+                       method = "smc";
+                       compatible = "linaro,optee-tz";
+               };
+       };
+
        clocks {
                clk_axi: clk-axi {
                        #clock-cells = <0>;
index ee100d1..31c510f 100644 (file)
                reg = <0xc0000000 0x20000000>;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               optee@de000000 {
+                       reg = <0xde000000 0x2000000>;
+                       no-map;
+               };
+       };
+
        vdd_sd: vdd-sd {
                compatible = "regulator-fixed";
                regulator-name = "vdd_sd";