From c180569c63d047816aa00a49b38ff6bdcf0e4404 Mon Sep 17 00:00:00 2001 From: Clement Faure Date: Fri, 13 Apr 2018 11:11:36 +0200 Subject: MLK-18036-1 Add "fsl,optee-lpm-sram" node for optee os power management. This node will be used by the OCRAM driver in optee to: * Get the OCRAM start address for power management in optee. * Add an entry that will overwrite ocrams nodes and dynamically reduce the OCRAM available for mmio-sram in Linux. That way we do not touch the legacy Linux boot and remove the dedicated optee device tree. Signed-off-by: Clement Faure Reviewed-by: Peng Fan --- arch/arm/boot/dts/imx6ul.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'arch/arm/boot/dts/imx6ul.dtsi') diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index efe0ea135ca4..6562c256f241 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -1,6 +1,6 @@ /* * Copyright 2015-2016 Freescale Semiconductor, Inc. - * Copyright 2017 NXP. + * Copyright 2017-2018 NXP * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -185,6 +185,12 @@ reg = <0x00905000 0x1B000>; }; + ocram_optee: sram@00918000 { + compatible = "fsl,optee-lpm-sram"; + reg = <0x00918000 0x8000>; + overw_reg = <&ocram 0x00905000 0x13000>; + }; + dma_apbh: dma-apbh@01804000 { compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh"; reg = <0x01804000 0x2000>; -- cgit v1.2.3