ARM: at91: add RSTC (Reset Controller) dt support
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / arm / atmel-at91.txt
1 Atmel AT91 device tree bindings.
2 ================================
3
4 PIT Timer required properties:
5 - compatible: Should be "atmel,at91sam9260-pit"
6 - reg: Should contain registers location and length
7 - interrupts: Should contain interrupt for the PIT which is the IRQ line
8   shared across all System Controller members.
9
10 TC/TCLIB Timer required properties:
11 - compatible: Should be "atmel,<chip>-pit".
12   <chip> can be "at91rm9200" or "at91sam9x5"
13 - reg: Should contain registers location and length
14 - interrupts: Should contain all interrupts for the TC block
15   Note that you can specify several interrupt cells if the TC
16   block has one interrupt per channel.
17
18 Examples:
19
20 One interrupt per TC block:
21         tcb0: timer@fff7c000 {
22                 compatible = "atmel,at91rm9200-tcb";
23                 reg = <0xfff7c000 0x100>;
24                 interrupts = <18 4>;
25         };
26
27 One interrupt per TC channel in a TC block:
28         tcb1: timer@fffdc000 {
29                 compatible = "atmel,at91rm9200-tcb";
30                 reg = <0xfffdc000 0x100>;
31                 interrupts = <26 4 27 4 28 4>;
32         };
33
34 RSTC Reset Controller required properties:
35 - compatible: Should be "atmel,<chip>-rstc".
36   <chip> can be "at91sam9260" or "at91sam9g45"
37 - reg: Should contain registers location and length
38
39 Example:
40
41         rstc@fffffd00 {
42                 compatible = "atmel,at91sam9260-rstc";
43                 reg = <0xfffffd00 0x10>;
44         };