Skip to content

Commit

Permalink
dt-bindings: reset: atmel,at91sam9260-reset: add sama7g5 bindings
Browse files Browse the repository at this point in the history
Add documentation for SAMA7G5 reset controller. Compared with previous
versions of reset controllers this one contains support for resetting
in SoC devices (e.g. USB PHYs).

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
  • Loading branch information
Claudiu Beznea authored and Sebastian Reichel committed Jun 17, 2022
1 parent e9405be commit a261ba4
Showing 1 changed file with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ maintainers:
- Claudiu Beznea <claudiu.beznea@microchip.com>

description: |
The system reset controller can be used to reset the CPU.
The system reset controller can be used to reset the CPU. In case of
SAMA7G5 it can also reset some devices (e.g. USB PHYs).
properties:
compatible:
Expand All @@ -21,21 +22,39 @@ properties:
- atmel,at91sam9g45-rstc
- atmel,sama5d3-rstc
- microchip,sam9x60-rstc
- microchip,sama7g5-rstc
- items:
- const: atmel,sama5d3-rstc
- const: atmel,at91sam9g45-rstc

reg:
maxItems: 1
minItems: 1
items:
- description: base registers for system reset control
- description: registers for device specific reset control

clocks:
maxItems: 1

"#reset-cells":
const: 1

required:
- compatible
- reg
- clocks

allOf:
- if:
properties:
compatible:
contains:
enum:
- microchip,sama7g5-rstc
then:
required:
- "#reset-cells"

additionalProperties: false

examples:
Expand Down

0 comments on commit a261ba4

Please sign in to comment.