xref: /freebsd/sys/contrib/device-tree/Bindings/arm/atmel,sama5d2-secumod.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/arm/atmel,sama5d2-secumod.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Microchip AT91 Security Module (SECUMOD)
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Nicolas Ferre <nicolas.ferre@microchip.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  The Security Module also offers the PIOBU pins which can be used as GPIO pins.
14*ae5de77eSEmmanuel Vadot  Note that they maintain their voltage during Backup/Self-refresh.
15*ae5de77eSEmmanuel Vadot
16*ae5de77eSEmmanuel Vadotproperties:
17*ae5de77eSEmmanuel Vadot  compatible:
18*ae5de77eSEmmanuel Vadot    oneOf:
19*ae5de77eSEmmanuel Vadot      - items:
20*ae5de77eSEmmanuel Vadot          - const: atmel,sama5d2-secumod
21*ae5de77eSEmmanuel Vadot          - const: syscon
22*ae5de77eSEmmanuel Vadot      - items:
23*ae5de77eSEmmanuel Vadot          - enum:
24*ae5de77eSEmmanuel Vadot              - microchip,sama7d65-secumod
25*ae5de77eSEmmanuel Vadot              - microchip,sama7g5-secumod
26*ae5de77eSEmmanuel Vadot          - const: atmel,sama5d2-secumod
27*ae5de77eSEmmanuel Vadot          - const: syscon
28*ae5de77eSEmmanuel Vadot  reg:
29*ae5de77eSEmmanuel Vadot    maxItems: 1
30*ae5de77eSEmmanuel Vadot
31*ae5de77eSEmmanuel Vadot  gpio-controller: true
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadot  "#gpio-cells":
34*ae5de77eSEmmanuel Vadot    const: 2
35*ae5de77eSEmmanuel Vadot
36*ae5de77eSEmmanuel Vadotrequired:
37*ae5de77eSEmmanuel Vadot  - compatible
38*ae5de77eSEmmanuel Vadot  - reg
39*ae5de77eSEmmanuel Vadot
40*ae5de77eSEmmanuel VadotunevaluatedProperties: false
41*ae5de77eSEmmanuel Vadot
42*ae5de77eSEmmanuel Vadotexamples:
43*ae5de77eSEmmanuel Vadot  - |
44*ae5de77eSEmmanuel Vadot    security-module@fc040000 {
45*ae5de77eSEmmanuel Vadot      compatible = "atmel,sama5d2-secumod", "syscon";
46*ae5de77eSEmmanuel Vadot      reg = <0xfc040000 0x100>;
47*ae5de77eSEmmanuel Vadot      gpio-controller;
48*ae5de77eSEmmanuel Vadot      #gpio-cells = <2>;
49*ae5de77eSEmmanuel Vadot    };
50