Path: blob/master/Documentation/devicetree/bindings/bus/st,stm32-etzpc.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/bus/st,stm32-etzpc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: STM32 Extended TrustZone protection controller78description: |9The ETZPC configures TrustZone security in a SoC having bus masters and10devices with programmable-security attributes (securable resources).1112maintainers:13- Gatien Chevallier <gatien.chevallier@foss.st.com>1415select:16properties:17compatible:18contains:19const: st,stm32-etzpc20required:21- compatible2223properties:24compatible:25items:26- const: st,stm32-etzpc27- const: simple-bus2829reg:30maxItems: 13132"#address-cells":33const: 13435"#size-cells":36const: 13738ranges: true3940"#access-controller-cells":41const: 142description:43Contains the firewall ID associated to the peripheral.4445patternProperties:46"^.*@[0-9a-f]+$":47description: Peripherals48type: object4950additionalProperties: true5152required:53- access-controllers5455required:56- compatible57- reg58- "#address-cells"59- "#size-cells"60- "#access-controller-cells"61- ranges6263additionalProperties: false6465examples:66- |67// In this example, the usart2 device refers to rifsc as its access68// controller.69// Access rights are verified before creating devices.7071#include <dt-bindings/interrupt-controller/arm-gic.h>72#include <dt-bindings/clock/stm32mp13-clks.h>73#include <dt-bindings/reset/stm32mp13-resets.h>7475etzpc: bus@5c007000 {76compatible = "st,stm32-etzpc", "simple-bus";77reg = <0x5c007000 0x400>;78#address-cells = <1>;79#size-cells = <1>;80#access-controller-cells = <1>;81ranges;8283usart2: serial@4c001000 {84compatible = "st,stm32h7-uart";85reg = <0x4c001000 0x400>;86interrupts-extended = <&exti 27 IRQ_TYPE_LEVEL_HIGH>;87clocks = <&rcc USART2_K>;88resets = <&rcc USART2_R>;89wakeup-source;90dmas = <&dmamux1 43 0x400 0x5>,91<&dmamux1 44 0x400 0x1>;92dma-names = "rx", "tx";93access-controllers = <&etzpc 17>;94};95};969798