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/imx6sx.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/arm/boot/dts/imx6sx.dtsi') diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 152926d500e5..78bbfe900e5a 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -1,5 +1,6 @@ /* * Copyright 2014-2016 Freescale Semiconductor, Inc. + * Copyright 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 @@ -219,6 +220,15 @@ clocks = <&clks IMX6SX_CLK_OCRAM>; }; + ocram_optee { + compatible = "fsl,optee-lpm-sram"; + reg = <0x008f8000 0x4000>; + overw_reg = <&ocrams_ddr 0x00904000 0x1000>, + <&ocram 0x00905000 0x1b000>, + <&ocrams 0x00900000 0x4000>; + overw_clock = <&ocrams &clks IMX6SX_CLK_OCRAM>; + }; + L2: l2-cache@00a02000 { compatible = "arm,pl310-cache"; reg = <0x00a02000 0x1000>; -- cgit v1.2.3