summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/reset
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-06-10 12:24:08 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-06-17 17:20:00 +0200
commita261ba4138b55d4ccf98d7bd08062d134cbd02d8 (patch)
tree795cb517ffba3f436c2b2bed5ab28c2e1308f9af /Documentation/devicetree/bindings/reset
parente9405be8f9c204ea7e103b37821efea8aba5a79a (diff)
downloadlinux-a261ba4138b55d4ccf98d7bd08062d134cbd02d8.tar.gz
linux-a261ba4138b55d4ccf98d7bd08062d134cbd02d8.tar.bz2
linux-a261ba4138b55d4ccf98d7bd08062d134cbd02d8.zip
dt-bindings: reset: atmel,at91sam9260-reset: add sama7g5 bindings
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>
Diffstat (limited to 'Documentation/devicetree/bindings/reset')
-rw-r--r--Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml23
1 files changed, 21 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml b/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml
index 34c40b875e20..98465d26949e 100644
--- a/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml
+++ b/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml
@@ -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:
@@ -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: