summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/arm/atmel,sama5d2-secumod.yaml
blob: ad4a98a4ee674c673b56812b1a0c78f43c4a4d23 (plain)
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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/atmel,sama5d2-secumod.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip AT91 Security Module (SECUMOD)

maintainers:
  - Nicolas Ferre <nicolas.ferre@microchip.com>

description:
  The Security Module also offers the PIOBU pins which can be used as GPIO pins.
  Note that they maintain their voltage during Backup/Self-refresh.

properties:
  compatible:
    oneOf:
      - items:
          - const: atmel,sama5d2-secumod
          - const: syscon
      - items:
          - enum:
              - microchip,sama7d65-secumod
              - microchip,sama7g5-secumod
          - const: atmel,sama5d2-secumod
          - const: syscon
  reg:
    maxItems: 1

  gpio-controller: true

  "#gpio-cells":
    const: 2

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    security-module@fc040000 {
      compatible = "atmel,sama5d2-secumod", "syscon";
      reg = <0xfc040000 0x100>;
      gpio-controller;
      #gpio-cells = <2>;
    };