arm64: dts: marvell: add optee FW definitions
authorKonstantin Porotchkin <kostap@marvell.com>
Wed, 9 Nov 2022 15:07:43 +0000 (17:07 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 28 Nov 2022 00:23:11 +0000 (01:23 +0100)
Add reserved memory and ARM firmware definitions for optee
memory region in Marvell Armada SoCs to avoid protected memory
access.

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi
arch/arm64/boot/dts/marvell/armada-ap80x.dtsi

index df152c7..e300145 100644 (file)
                        reg = <0 0x4000000 0 0x200000>;
                        no-map;
                };
+
+               tee@4400000 {
+                       reg = <0 0x4400000 0 0x1000000>;
+                       no-map;
+               };
        };
 
        cpus {
index a06a0a8..4e6d29a 100644 (file)
                        reg = <0x0 0x4000000 0x0 0x200000>;
                        no-map;
                };
+
+               tee@4400000 {
+                       reg = <0 0x4400000 0 0x1000000>;
+                       no-map;
+               };
        };
 
        AP_NAME {