From patchwork Thu Mar 1 13:58:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 130228 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2828198edc; Thu, 1 Mar 2018 05:58:31 -0800 (PST) X-Google-Smtp-Source: AG47ELucahfDdWbxDOVPkgdp/QejgxDGVue5d2HpdUYoB2zioPmCaAFvaosZ7VOfo8MKVRhIZ21s X-Received: by 10.98.64.146 with SMTP id f18mr2075069pfd.30.1519912711531; Thu, 01 Mar 2018 05:58:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519912711; cv=none; d=google.com; s=arc-20160816; b=G0TSE5W1W8LdW1s5F9D/NHP4S3Q8Z43Dcid854isRmgyhWj9P6vAZVk1/WTIX/IG3f fmPLarx8GcQbnURZmrn/pLzEAQnLmLx9VkgU957Z4ccOJvGG5fNsLcFBIaNd75zFN5xV FNeprkN6ZFvDRBMJrAZ+BqLvJM80YcBR6h4/Mb2tj7XnesP1tgFkmZtPqU6ZbeuDO5Zh AJBB6VAhqZvJ+9FSaBujfIeYgy1HsyQ9CI0pDGpNmWXBFDRM9fEhqoxTrGtBL5iDRMZY n8A37lEgkxCNw1uXUtNkE/FE+P34QU5ZhTwiJ1n5Lzh3Za2VaVzjkqonD1hzTXxCbWyk Sw1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Z3PH4YXAvu6PGNgsXBwki1yUbjaW0iSJApF+wQcsHKQ=; b=tbzCuHJxjlzOkLIQZh6T8TwGIWwBejLyP+VmJc1oHvg1cgkL9Rzy3MjkpIWi56P39R jjtgq/XNAVKl/qzeDqv7nf9dIYqIMNRWswCG7+tTBNQbMJYFJFBKTFWT9GVxyWaY+yYQ l42Y/OFN8kZS1iP64S8AvmC4hJJz2ONWyWRReRwfNg5T9+NGn50cYCYF/pK/Ru9d0G1i qXoqwrQ4dRBn6OXTP6x+0GYC6YCYKYnZp2890k/Hi9q68ZGoK1H+5MoS7FNdeGLsX/OQ oQNPTv4r76R7b2aXfuTfIJL71OmXPhZdIFatv+kvq0bhWkW4AedGGCsGfe1w1z0qhbu8 15DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cJolsdgN; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u123si2544268pgb.16.2018.03.01.05.58.31; Thu, 01 Mar 2018 05:58:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cJolsdgN; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031002AbeCAN63 (ORCPT + 6 others); Thu, 1 Mar 2018 08:58:29 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:54866 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030833AbeCAN6Z (ORCPT ); Thu, 1 Mar 2018 08:58:25 -0500 Received: by mail-wm0-f68.google.com with SMTP id z81so11843940wmb.4 for ; Thu, 01 Mar 2018 05:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nVrukGrRijRZWu+qMWPxMCwlS23q444xkQmkLHiDLo8=; b=cJolsdgNVtXMUCa3SjU9ychsLEUf8MVOW4m4rOxLjvWzb4n/FNzsumb9vTmU5iXBcP tGTth4VID4oivU+KhP+tb0o8P+4nIQ5aFFvQN6Y01gof0vAF09AYRB8ZuIAFfn5+2cUG s49h0RBLSJBJTAMHwsHxRpXGetpjvGoHYZto0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nVrukGrRijRZWu+qMWPxMCwlS23q444xkQmkLHiDLo8=; b=a8dRUsTwR8uoPmp8t1bd2FIWsRZyXplGW9p4LcEtjfBlZCJX2EZCW5QxpaBnIOx5Jn xbPlrmxvv2VpWXL815lKICTSnEeImX6ihU6KDEqeVjfs5f7xPOP2rvxp1QK9QhqDpU1g kaIYenxmAr4E0a4uQmHohAJsDJHVl7YJYzXuoO6635rVFgWyqlTqgs80D6j5Y4UtkmJ4 dzSvSY+M8Gy1NElQ4rlkyOQfghEKr+bydK0/lpn/7xxlm7+oVVPbzno5M9vqjjyrmRYq N4nJJ4vWFV/kPEICE5Apu/G8CwOKhv3OXQP26b3AexWZcepVFLnktX9kZuYSWDceIpl2 soVQ== X-Gm-Message-State: APf1xPB8IjQCXQS4eKKwcE/vufUn0RoOk7pEvXFfIZjjUcLEcBMJBFRt JtdjtWm9I3R9PaqlqzQKQBnfHA== X-Received: by 10.28.124.5 with SMTP id x5mr1745968wmc.11.1519912704120; Thu, 01 Mar 2018 05:58:24 -0800 (PST) Received: from lmecxl0911.lme.st.com ([80.215.14.109]) by smtp.gmail.com with ESMTPSA id e6sm3826304wra.67.2018.03.01.05.58.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 05:58:23 -0800 (PST) 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; +};