]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 1b5b3586905f182c1d5834388dc23ef71ae9b2c8..adc7e67ee583af0c9665108de61c5b1cae6f50c6 100644 (file)
        u-boot,dm-pre-reloc;
 };
 
+&optee {
+       u-boot,dm-pre-reloc;
+};
+
 &pinctrl {
        u-boot,dm-pre-reloc;
 };
index 950e172e455f8a9988a0c2a5c2276f02a9cab275..652743fd06ed8495bfbe38e1d152bb8ebf06e5b0 100644 (file)
                interrupt-parent = <&intc>;
        };
 
+       firmware {
+               optee: optee {
+                       method = "smc";
+                       compatible = "linaro,optee-tz";
+               };
+       };
+
        clocks {
                clk_axi: clk-axi {
                        #clock-cells = <0>;
index ee100d108ea2116f8492515e0252b58dee2280bc..31c510f976a7c564fc84355f23c6d06a257a75d7 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";