[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200423131913.30786-4-benjamin.gaignard@st.com>
Date: Thu, 23 Apr 2020 15:19:11 +0200
From: Benjamin Gaignard <benjamin.gaignard@...com>
To: <robh+dt@...nel.org>, <mcoquelin.stm32@...il.com>,
<alexandre.torgue@...com>, <gregkh@...uxfoundation.org>,
<loic.pallardy@...com>, <linus.walleij@...aro.org>
CC: <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
Benjamin Gaignard <benjamin.gaignard@...com>
Subject: [PATCH v2 3/5] dt-bindings: bus: Add STM32 ETZPC firewall controller
Document STM32 ETZPC firewall controller bindings
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@...com>
---
version 2:
- fix unit name into st,stm32-etzpc.yaml example
.../bindings/bus/stm32/st,stm32-etzpc.yaml | 46 ++++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/bus/stm32/st,stm32-etzpc.yaml
diff --git a/Documentation/devicetree/bindings/bus/stm32/st,stm32-etzpc.yaml b/Documentation/devicetree/bindings/bus/stm32/st,stm32-etzpc.yaml
new file mode 100644
index 000000000000..d92865fda40c
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/stm32/st,stm32-etzpc.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bus/stm32/st,stm32-etzpc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STM32 Extended TrustZone Protection controller
+
+maintainers:
+ - Benjamin Gaignard <benjamin.gaignard@...com>
+
+description: STMicroelectronics's STM32 firewall bus controller implementation
+
+allOf:
+ - $ref: "firewall-provider.yaml#"
+ - $ref: /schemas/simple-bus.yaml#
+
+properties:
+ compatible:
+ contains:
+ enum:
+ - st,stm32-etzpc-bus
+
+ reg:
+ maxItems: 1
+
+ '#firewall-cells':
+ const: 2
+
+required:
+ - compatible
+ - reg
+ - '#firewall-cells'
+
+examples:
+ - |
+ soc@...07000 {
+ compatible = "st,stm32-etzpc-bus", "simple-bus";
+ reg = <0x5c007000 0x400>;
+ #firewall-cells = <2>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ };
+
+...
--
2.15.0
Powered by blists - more mailing lists