From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031029AbeCAN6c (ORCPT ); Thu, 1 Mar 2018 08:58:32 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:55517 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031001AbeCAN6Z (ORCPT ); Thu, 1 Mar 2018 08:58:25 -0500 X-Google-Smtp-Source: AG47ELt7kDBwU9C+wkL+HIVIfxPLJ9sLfcP1t/7Ly1zOdiJRID5M8GrxBoLOwBXLEHwHXUPXyAPAdA== From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: robh+dt@kernel.org, mark.rutland@arm.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, robin.murphy@arm.com, arnd@arndb.de, loic.pallardy@st.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard Subject: [PATCH v2 1/2] dt-bindings: stm32: Add bindings for Extended TrustZone Protection Date: Thu, 1 Mar 2018 14:58:05 +0100 Message-Id: <20180301135806.19982-2-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180301135806.19982-1-benjamin.gaignard@st.com> References: <20180301135806.19982-1-benjamin.gaignard@st.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Extended TrustZone Protection driver is very basic and only needs to know where are the registers (no clock, no interrupt) Signed-off-by: Benjamin Gaignard --- .../bindings/arm/stm32/st,stm32mp1-etzpc.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/stm32/st,stm32mp1-etzpc.txt diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32mp1-etzpc.txt b/Documentation/devicetree/bindings/arm/stm32/st,stm32mp1-etzpc.txt new file mode 100644 index 000000000000..9407e37f7d15 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32mp1-etzpc.txt @@ -0,0 +1,25 @@ +STMicroelectronics STM32 Extended TrustZone Protection driver + +Required properties: + - compatible : value should be "st,stm32mp1-etzpc" + - reg : physical base address of the IP registers and length of memory + mapped region. + - protected-devices: list of phandle of devices protected by etzpc. + Because etzpc driver rely on the phandle index in + the list, holes must be filled with a disabled node. + +Example for stm32mp1: + +reserved: disabled_node { + status = "disabled"; +}; + +etzpc: etzpc@5c007000 { + compatible = "st,stm32mp1-etzpc"; + reg = <0x5c007000 0x400>; + protected-devices = <&usart1>, + <&spi6>, + <&i2c4>, + <&reserved>, + <&rng1>; +}; -- 2.15.0