dt-bindings: Microchip/Atmel AT91/SAMA system peripherals: convert to YAML
Subsystems (2)
v4 cover dt-bindings: Microchip/Atmel AT91/SAMA system peripherals: convert to YAML
Convert various legacy .txt bindings for Microchip (formerly Atmel) AT91/SAMA family system peripherals to proper YAML schemas. This includes:
- CHIPID (SoC ID register block)
- PIT (Period Interval Timer, old style)
- PIT64B (64-bit Period Interval Timer, newer parts)
- ST (System Timer, including watchdog subnode)
- RAMC/SDRAMC/DDRAMC/UDDRC (SDRAM/DDR memory controller
---
Changes in v4:
- atmel,at91rm9200-sdramc: remove "- items enum:" and replace it with "- enum:" for compatible property.
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Change email for maintainers.
- atmel,at91rm9200-st: redefine watchdog node as a pattern property.
- Remove corresponding binding node from txt document for every yaml patch.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Change email for maintainers.
- microchip,sam9x60-pit64b: modify compatible and clock-names in properties.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Akhila YS (5):
dt-bindings: arm: microchip,sama7g5-chipid : convert to DT schema
dt-bindings: arm: atmel,at91sam9260-pit: convert to DT schema
dt-bindings: arm: microchip,sam9x60-pit64b : convert to DT schema
dt-bindings: arm: atmel,at91rm9200-st: convert to DT schema
dt-bindings: arm: atmel,at91rm9200-sdramc: convert to DT schema
.../bindings/arm/atmel,at91rm9200-sdramc.yaml | 66 +++++++++++++++++++++ .../bindings/arm/atmel,at91rm9200-st.yaml | 69 ++++++++++++++++++++++ .../bindings/arm/atmel,at91sam9260-pit.yaml | 49 +++++++++++++++ .../devicetree/bindings/arm/atmel-sysregs.txt | 48 --------------- .../bindings/arm/microchip,sam9x60-pit64b.yaml | 68 +++++++++++++++++++++ .../bindings/arm/microchip,sama7g5-chipid.yaml | 41 +++++++++++++ 6 files changed, 293 insertions(+), 48 deletions(-)
---
base-commit: ca3a02fda4da8e2c1cb6baee5d72352e9e2cfaea
change-id: 20260128-arm-microchip-c0c0515024e6
Best regards,
Signature · 1 line
Akhila YS <[email protected]>
PATCH v4 1/5 dt-bindings: arm: microchip,sama7g5-chipid : convert to DT schema
Convert Atmel system registers binding to YAML format.
--- .../devicetree/bindings/arm/atmel-sysregs.txt | 5 --- .../bindings/arm/microchip,sama7g5-chipid.yaml | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0 -5
@@ -1,10 +1,5 @@ Atmel system registers -Chipid required properties: -- compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid" - "microchip,sama7d65-chipid" -- reg : Should contain registers location and length - PIT Timer required properties: - compatible: Should be "atmel,at91sam9260-pit" - reg: Should contain registers location and length
Documentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yaml new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH v4 2/5 dt-bindings: arm: atmel,at91sam9260-pit: convert to DT schema
In reply to Akhila YSConvert Atmel Periodic interval timer (PIT) binding to YAML format.
--- .../bindings/arm/atmel,at91sam9260-pit.yaml | 49 ++++++++++++++++++++++ .../devicetree/bindings/arm/atmel-sysregs.txt | 6 --- 2 files changed, 49 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/arm/atmel,at91sam9260-pit.yaml new file +49 -0
@@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/atmel,at91sam9260-pit.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91SAM9260 Periodic Interval Timer (PIT) + +maintainers: + - Nicolas Ferre <[email protected]> + - Claudiu Beznea <[email protected]> + +description: + The Periodic Interval Timer (PIT) is part of the System Controller of + various Microchip 32-bit ARM-based SoCs (formerly Atmel AT91 series). + It is a simple down-counter timer used mainly as the kernel tick source. + The PIT is clocked from the slow clock and shares a single IRQ line with + other System Controller peripherals. + +properties: + compatible: + const: atmel,at91sam9260-pit + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + timer@fffffd30 { + compatible = "atmel,at91sam9260-pit"; + reg = <0xfffffd30 0x10>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk32k>; + }; +...
Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0 -6
@@ -1,11 +1,5 @@ Atmel system registers -PIT Timer required properties: -- compatible: Should be "atmel,at91sam9260-pit" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt for the PIT which is the IRQ line - shared across all System Controller members. - PIT64B Timer required properties: - compatible: Should be "microchip,sam9x60-pit64b" or "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b"
Signature · 1 line
2.43.0
PATCH v4 3/5 dt-bindings: arm: microchip,sam9x60-pit64b : convert to DT schema
In reply to Akhila YSConvert Atmel Periodic interval timer of 64bit (PIT64b) binding to YAML format.
Changes during conversion:
- Add missing compatible "microchip,sama7g5-pit64b" along with a fallback compatible "microchip,sam9x60-pit64b".
--- .../devicetree/bindings/arm/atmel-sysregs.txt | 8 --- .../bindings/arm/microchip,sam9x60-pit64b.yaml | 68 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0 -8
@@ -1,13 +1,5 @@ Atmel system registers -PIT64B Timer required properties: -- compatible: Should be "microchip,sam9x60-pit64b" or - "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b" - "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt for PIT64B timer -- clocks: Should contain the available clock sources for PIT64B timer. - System Timer (ST) required properties: - compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd" - reg: Should contain registers location and length
Documentation/devicetree/bindings/arm/microchip,sam9x60-pit64b.yaml new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH v4 4/5 dt-bindings: arm: atmel,at91rm9200-st: convert to DT schema
In reply to Akhila YSConvert System Timer binding to YAML format.
Changes during conversion:
- Add "#address-cells" and "#size-cells" to the properties and required as watchdog is defined as a child node to the timer parent node.
- Define watchdog as a pattern property along with unit address in examples.
--- .../bindings/arm/atmel,at91rm9200-st.yaml | 69 ++++++++++++++++++++++ .../devicetree/bindings/arm/atmel-sysregs.txt | 9 --- 2 files changed, 69 insertions(+), 9 deletions(-)
Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml new file +69 -0
@@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/atmel,at91rm9200-st.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel System Timer + +maintainers: + - Nicolas Ferre <[email protected]> + - Claudiu Beznea <[email protected]> + +description: + The System Timer (ST) module in AT91RM9200 provides periodic tick and + alarm capabilities. It is exposed as a simple multi-function device + (simple-mfd + syscon) because it shares its register space and interrupt + with other System Controller blocks. + +properties: + compatible: + items: + - const: atmel,at91rm9200-st + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "^watchdog@[0-9a-f]+$": + $ref: /schemas/watchdog/atmel,at91rm9200-wdt.yaml# + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + timer@fffffd00 { + compatible = "atmel,at91rm9200-st", "syscon", "simple-mfd"; + reg = <0xfffffd00 0x100>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&slow_xtal>; + #address-cells = <1>; + #size-cells = <1>; + + watchdog@fffffd40 { + compatible = "atmel,at91rm9200-wdt"; + reg = <0xfffffd40 0x40>; + }; + }; +...
Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0 -9
@@ -1,14 +1,5 @@ Atmel system registers -System Timer (ST) required properties: -- compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt for the ST which is the IRQ line - shared across all System Controller members. -- clocks: phandle to input clock. -Its subnodes can be: -- watchdog: compatible should be "atmel,at91rm9200-wdt" - RAMC SDRAM/DDR Controller required properties: - compatible: Should be "atmel,at91rm9200-sdramc", "syscon" or "atmel,at91sam9260-sdramc" or
Signature · 1 line
2.43.0
PATCH v4 5/5 dt-bindings: arm: atmel,at91rm9200-sdramc: convert to DT schema
In reply to Akhila YSConvert RAMC SDRAM/DDR controller binding to YAML format.
--- .../bindings/arm/atmel,at91rm9200-sdramc.yaml | 66 ++++++++++++++++++++++ .../devicetree/bindings/arm/atmel-sysregs.txt | 20 ------- 2 files changed, 66 insertions(+), 20 deletions(-)
Documentation/devicetree/bindings/arm/atmel,at91rm9200-sdramc.yaml new file +66 -0
@@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/atmel,at91rm9200-sdramc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip (Atmel) SDRAM / DDR Controller (RAMC / DDRAMC / UDDRC) + +maintainers: + - Nicolas Ferre <[email protected]> + - Claudiu Beznea <[email protected]> + +description: + The SDRAM/DDR Controller (often called RAMC or DDRAMC) in various + Atmel/Microchip ARM9 and Cortex-A5/A7 SoCs manages external + SDRAM / DDR memory. It is typically exposed as a syscon node for + register access from other drivers (e.g. for initialization or mode + configuration). No interrupts or clocks are usually required in the + binding. + +properties: + compatible: + oneOf: + - items: + - const: atmel,at91rm9200-sdramc + - const: syscon + - items: + - const: microchip,sama7d65-uddrc + - const: microchip,sama7g5-uddrc + - enum: + - atmel,at91sam9260-sdramc + - atmel,at91sam9g45-ddramc + - atmel,sama5d3-ddramc + - microchip,sam9x60-ddramc + - microchip,sam9x7-ddramc + - microchip,sama7g5-uddrc + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + items: + - const: ddrck + - const: mpddr + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/clock/at91.h> + ramc@ffffe400 { + compatible = "atmel,at91sam9g45-ddramc"; + reg = <0xffffe400 0x200>; + clocks = <&pmc PMC_TYPE_SYSTEM 2>; + clock-names = "ddrck"; + }; +...
Documentation/devicetree/bindings/arm/atmel-sysregs.txt deleted +0 -20
@@ -1,20 +0,0 @@ -Atmel system registers - -RAMC SDRAM/DDR Controller required properties: -- compatible: Should be "atmel,at91rm9200-sdramc", "syscon" or - "atmel,at91sam9260-sdramc" or - "atmel,at91sam9g45-ddramc" or - "atmel,sama5d3-ddramc" or - "microchip,sam9x60-ddramc" or - "microchip,sama7g5-uddrc" or - "microchip,sama7d65-uddrc", "microchip,sama7g5-uddrc" or - "microchip,sam9x7-ddramc", "atmel,sama5d3-ddramc". -- reg: Should contain registers location and length - -Examples: - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; -
Signature · 1 line
2.43.0
Re: [PATCH v4 5/5] dt-bindings: arm: atmel,at91rm9200-sdramc: convert to DT schema
pw-bot: not-applicable
Re: [PATCH v4 1/5] dt-bindings: arm: microchip,sama7g5-chipid : convert to DT schema
In reply to Akhila YSHi, Akhila,
Quoted 44 lines · Akhila YS
Convert Atmel system registers binding to YAML format.
Acked-by Conor Dooley <[email protected]>Signed-off-by Akhila YS <[email protected]>--- .../devicetree/bindings/arm/atmel-sysregs.txt | 5 --- .../bindings/arm/microchip,sama7g5-chipid.yaml | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 5 deletions(-)Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0
-5@@ -1,10 +1,5 @@ Atmel system registers -Chipid required properties: -- compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid" - "microchip,sama7d65-chipid" -- reg : Should contain registers location and length - PIT Timer required properties: - compatible: Should be "atmel,at91sam9260-pit" - reg: Should contain registers location and lengthDocumentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yaml new file +14
-0@@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/microchip,sama7g5-chipid.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel/Microchip RAMC SDRAM/DDR Controller + +maintainers: + - Nicolas Ferre <[email protected]> + - Claudiu Beznea <[email protected]> + +description: + This binding describes the Atmel/Microchip Chip ID register block used
Documentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yaml line 24
Quoted 10 lines
Documentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yaml new file +10
-0+ for SoC identification and revision information. It requires compatible + strings matching specific SoC families and a reg property defining the + register address and size. + +properties: + compatible: + enum: + - atmel,sama5d2-chipid + - microchip,sama7g5-chipid + - microchip,sama7d65-chipid
I'll keep this alphanumerically sorted, thus "microchip,sama7d64-chipid" in the middle. I'll adjust it while applying. Other than that:
Quoted 18 lines
Documentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yaml new file +17
-0+ + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + chipid@fc069000 { + compatible = "atmel,sama5d2-chipid"; + reg = <0xfc069000 0x8>; + }; +...
Re: [PATCH v4 2/5] dt-bindings: arm: atmel,at91sam9260-pit: convert to DT schema
In reply to Akhila YSQuoted 4 lines · Akhila YS
Convert Atmel Periodic interval timer (PIT) binding to YAML format.
Acked-by Conor Dooley <[email protected]>Signed-off-by Akhila YS <[email protected]>
Re: [PATCH v4 4/5] dt-bindings: arm: atmel,at91rm9200-st: convert to DT schema
In reply to Akhila YSQuoted 9 lines · Akhila YS
Convert System Timer binding to YAML format.
Changes during conversion:
- Add "#address-cells" and "#size-cells" to the properties and required as watchdog is defined as a child node to the timer parent node.
- Define watchdog as a pattern property along with unit address in examples.Acked-by Conor Dooley <[email protected]>Signed-off-by Akhila YS <[email protected]>
Re: [PATCH v4 3/5] dt-bindings: arm: microchip,sam9x60-pit64b : convert to DT schema
In reply to Akhila YSQuoted 55 lines · Akhila YS
Convert Atmel Periodic interval timer of 64bit (PIT64b) binding to YAML format.
Changes during conversion:
- Add missing compatible "microchip,sama7g5-pit64b" along with a fallback compatible "microchip,sam9x60-pit64b".Acked-by Conor Dooley <[email protected]>Signed-off-by Akhila YS <[email protected]>--- .../devicetree/bindings/arm/atmel-sysregs.txt | 8 --- .../bindings/arm/microchip,sam9x60-pit64b.yaml | 68 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0
-8@@ -1,13 +1,5 @@ Atmel system registers -PIT64B Timer required properties: -- compatible: Should be "microchip,sam9x60-pit64b" or - "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b" - "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b" -- reg: Should contain registers location and length -- interrupts: Should contain interrupt for PIT64B timer -- clocks: Should contain the available clock sources for PIT64B timer. - System Timer (ST) required properties: - compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd" - reg: Should contain registers location and lengthDocumentation/devicetree/bindings/arm/microchip,sam9x60-pit64b.yaml new file +18
-0@@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/microchip,sam9x60-pit64b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip PIT64B 64-bit Periodic Interval Timer + +maintainers: + - Nicolas Ferre <[email protected]> + - Claudiu Beznea <[email protected]> + +description: + The Microchip PIT64B is a 64-bit periodic interval timer used in + several modern Microchip ARM SoCs including SAM9X60, SAM9X7 and + SAMA7D65 families. It provides extended timing range, flexible + clock selection and supports both periodic and one-shot interrupt + generation modes.
Documentation/devicetree/bindings/arm/microchip,sam9x60-pit64b.yaml line 28
Quoted 10 lines
Documentation/devicetree/bindings/arm/microchip,sam9x60-pit64b.yaml new file +10
-0+ +properties: + compatible: + oneOf: + - const: microchip,sam9x60-pit64b + - items: + - enum: + - microchip,sama7d65-pit64b + - microchip,sama7g5-pit64b + - microchip,sam9x7-pit64b
Same here, I'll adjust this list to be alphanumerically sorted, thus, microchip,sam9x7-pit64b first. Other than that:
Re: [PATCH v4 5/5] dt-bindings: arm: atmel,at91rm9200-sdramc: convert to DT schema
In reply to Akhila YSQuoted 3 lines · Akhila YS
Convert RAMC SDRAM/DDR controller binding to YAML format.
Signed-off-by Akhila YS <[email protected]>
Re: [PATCH v4 1/5] dt-bindings: arm: microchip,sama7g5-chipid : convert to DT schema
In reply to Claudiu BezneaQuoted 61 lines · Claudiu Beznea
Hi, Akhila,
Quoted 58 lines · Akhila YS
Convert Atmel system registers binding to YAML format.
Acked-by Conor Dooley <[email protected]>Signed-off-by Akhila YS <[email protected]>---
.../devicetree/bindings/arm/atmel-sysregs.txt | 5 --- .../bindings/arm/microchip,sama7g5-chipid.yaml | 41
++++++++++++++++++++++2 files changed, 41 insertions(+), 5 deletions(-)Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0
-0@@ -1,10 +1,5 @@Atmel system registers
-Chipid required properties:
-- compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid"
- "microchip,sama7d65-chipid"
-- reg : Should contain registers location and length
-
PIT Timer required properties:
- compatible: Should be "atmel,at91sam9260-pit"
- reg: Should contain registers location and length
diff --gita/Documentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yamlb/Documentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yamlnew file mode 100644
index 000000000000..4fdb068be929
---/dev/null
+++b/Documentation/devicetree/bindings/arm/microchip,sama7g5-chipid.yamlDocumentation/devicetree/bindings/arm/atmel-sysregs.txt +14
-0@@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/microchip,sama7g5-chipid.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel/Microchip RAMC SDRAM/DDR Controller + +maintainers: + - Nicolas Ferre <[email protected]> + - Claudiu Beznea <[email protected]> + +description: + This binding describes the Atmel/Microchip Chip ID register blockused
+ for SoC identification and revision information. It requires compatible
+ strings matching specific SoC families and a reg property defining the
+ register address and size.Documentation/devicetree/bindings/arm/atmel-sysregs.txt +3
-0+ +properties: + compatible:
Quoted 9 lines
Quoted 4 lines
+ enum:
+ - atmel,sama5d2-chipid
+ - microchip,sama7g5-chipid
+ - microchip,sama7d65-chipidI'll keep this alphanumerically sorted, thus "microchip,sama7d64-chipid" in the middle. I'll adjust it while applying. Other than that:
Thank you claudiu.
Quoted 21 lines
Reviewed-by Claudiu Beznea <[email protected]>Quoted 18 lines
Documentation/devicetree/bindings/arm/atmel-sysregs.txt +17
-0+ + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + chipid@fc069000 { + compatible = "atmel,sama5d2-chipid"; + reg = <0xfc069000 0x8>; + }; +...
Signature · 2 lines
Best Regards, Akhila.
Re: [PATCH v4 3/5] dt-bindings: arm: microchip,sam9x60-pit64b : convert to DT schema
In reply to Claudiu BezneaQuoted 68 lines · Claudiu Beznea
Quoted 65 lines · Akhila YS
Convert Atmel Periodic interval timer of 64bit (PIT64b) binding to YAML format.
Changes during conversion:
- Add missing compatible "microchip,sama7g5-pit64b" along with a fallback
compatible "microchip,sam9x60-pit64b".Acked-by Conor Dooley <[email protected]>Signed-off-by Akhila YS <[email protected]>---
.../devicetree/bindings/arm/atmel-sysregs.txt | 8 --- .../bindings/arm/microchip,sam9x60-pit64b.yaml | 68
++++++++++++++++++++++2 files changed, 68 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/arm/atmel-sysregs.txt +0
-0@@ -1,13 +1,5 @@Atmel system registers
-PIT64B Timer required properties:
-- compatible: Should be "microchip,sam9x60-pit64b" or
- "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b" - "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b" -- reg: Should contain registers location and length
-- interrupts: Should contain interrupt for PIT64B timer
-- clocks: Should contain the available clock sources for PIT64B timer. -
System Timer (ST) required properties:
- compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd"
- reg: Should contain registers location and length
diff --gita/Documentation/devicetree/bindings/arm/microchip,sam9x60-pit64b.yamlb/Documentation/devicetree/bindings/arm/microchip,sam9x60-pit64b.yamlnew file mode 100644
index 000000000000..f00ac7e858d9
---/dev/null
+++b/Documentation/devicetree/bindings/arm/microchip,sam9x60-pit64b.yamlDocumentation/devicetree/bindings/arm/atmel-sysregs.txt +23
-0@@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/microchip,sam9x60-pit64b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip PIT64B 64-bit Periodic Interval Timer + +maintainers: + - Nicolas Ferre <[email protected]> + - Claudiu Beznea <[email protected]> + +description: + The Microchip PIT64B is a 64-bit periodic interval timer used in + several modern Microchip ARM SoCs including SAM9X60, SAM9X7 and + SAMA7D65 families. It provides extended timing range, flexible + clock selection and supports both periodic and one-shot interrupt + generation modes. + +properties: + compatible: + oneOf: + - const: microchip,sam9x60-pit64b
Quoted 8 lines
Documentation/devicetree/bindings/arm/atmel-sysregs.txt line 28
Quoted 5 lines
Documentation/devicetree/bindings/arm/atmel-sysregs.txt +5
-0+ - items: + - enum: + - microchip,sama7d65-pit64b + - microchip,sama7g5-pit64b + - microchip,sam9x7-pit64bSame here, I'll adjust this list to be alphanumerically sorted, thus, microchip,sam9x7-pit64b first. Other than that:
Thank you claudiu.
Quoted 3 lines
Reviewed-by Claudiu Beznea <[email protected]>
Signature · 2 lines
Best Regards, Akhila.
Quoted 6 lines · Akhila YS
Akhila YS (5):
dt-bindings: arm: microchip,sama7g5-chipid : convert to DT schema
dt-bindings: arm: atmel,at91sam9260-pit: convert to DT schema
dt-bindings: arm: microchip,sam9x60-pit64b : convert to DT schema
dt-bindings: arm: atmel,at91rm9200-st: convert to DT schema
dt-bindings: arm: atmel,at91rm9200-sdramc: convert to DT schema
Applied to at91-soc, thanks!