Documentation / devicetree / bindings / bus / fsl,imx8mp-aipstz.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:03 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/bus/fsl,imx8mp-aipstz.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Secure AHB to IP Slave bus (AIPSTZ) bridge

description:
  The secure AIPS bridge (AIPSTZ) acts as a bridge for AHB masters issuing
  transactions to IP Slave peripherals. Additionally, this module offers access
  control configurations meant to restrict which peripherals a master can
  access.

maintainers:
  - Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

properties:
  compatible:
    const: fsl,imx8mp-aipstz

  reg:
    maxItems: 1

  power-domains:
    maxItems: 1
 
  "#address-cells":
    const: 1
 
  "#size-cells":
    const: 1
 
  "#access-controller-cells":
    const: 3
    description:
      First cell - consumer ID
      Second cell - consumer type (master or peripheral)
      Third cell - configuration value

  ranges: true
 
# borrowed from simple-bus.yaml, no additional requirements for children
patternProperties:
  "@(0|[1-9a-f][0-9a-f]*)$":
    type: object
    additionalProperties: true
    properties:
      reg:
        items:
          minItems: 2
          maxItems: 4
        minItems: 1
        maxItems: 1024
      ranges:
        oneOf:
          - items:
              minItems: 3
              maxItems: 7
            minItems: 1
            maxItems: 1024
          - $ref: /schemas/types.yaml#/definitions/flag
    anyOf:
      - required:
          - reg
      - required:
          - ranges

required:
  - compatible
  - reg
  - power-domains
  - "#address-cells"
  - "#size-cells"
  - "#access-controller-cells"
  - ranges

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/imx8mp-clock.h>
    #include <dt-bindings/interrupt-controller/arm-gic.h>
 
    bus@30df0000 {
        compatible = "fsl,imx8mp-aipstz";
        reg = <0x30df0000 0x10000>;
        ranges = <0x30c00000 0x30c00000 0x400000>;
        power-domains = <&pgc_audio>;
        #address-cells = <1>;
        #size-cells = <1>;
        #access-controller-cells = <3>;
 
        dma-controller@30e00000 {
            compatible = "fsl,imx8mp-sdma", "fsl,imx8mq-sdma";
            reg = <0x30e00000 0x10000>;
            #dma-cells = <3>;
            clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SDMA3_ROOT>,
                     <&clk IMX8MP_CLK_AUDIO_ROOT>;
            clock-names = "ipg", "ahb";
            interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
            fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
        };
    };