brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 98465d2 Raw
69 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/reset/atmel,at91sam9260-reset.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Atmel/Microchip System Reset Controller8 9maintainers:10  - Claudiu Beznea <claudiu.beznea@microchip.com>11 12description: |13  The system reset controller can be used to reset the CPU. In case of14  SAMA7G5 it can also reset some devices (e.g. USB PHYs).15 16properties:17  compatible:18    oneOf:19      - items:20          - enum:21              - atmel,at91sam9260-rstc22              - atmel,at91sam9g45-rstc23              - atmel,sama5d3-rstc24              - microchip,sam9x60-rstc25              - microchip,sama7g5-rstc26      - items:27          - const: atmel,sama5d3-rstc28          - const: atmel,at91sam9g45-rstc29 30  reg:31    minItems: 132    items:33      - description: base registers for system reset control34      - description: registers for device specific reset control35 36  clocks:37    maxItems: 138 39  "#reset-cells":40    const: 141 42required:43  - compatible44  - reg45  - clocks46 47allOf:48  - if:49      properties:50        compatible:51          contains:52            enum:53              - microchip,sama7g5-rstc54    then:55      required:56        - "#reset-cells"57 58additionalProperties: false59 60examples:61  - |62    #include <dt-bindings/clock/at91.h>63 64    reset-controller@fffffd00 {65        compatible = "atmel,at91sam9260-rstc";66        reg = <0xfffffd00 0x10>;67        clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>;68    };69