Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/arm/atmel,at91sam9260-pit.yaml
170954 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/arm/atmel,at91sam9260-pit.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Atmel AT91SAM9260 Periodic Interval Timer (PIT)
8
9
maintainers:
10
- Nicolas Ferre <nicolas.ferre@microchip.com>
11
- Claudiu Beznea <claudiu.beznea@tuxon.dev>
12
13
description:
14
The Periodic Interval Timer (PIT) is part of the System Controller of
15
various Microchip 32-bit ARM-based SoCs (formerly Atmel AT91 series).
16
It is a simple down-counter timer used mainly as the kernel tick source.
17
The PIT is clocked from the slow clock and shares a single IRQ line with
18
other System Controller peripherals.
19
20
properties:
21
compatible:
22
const: atmel,at91sam9260-pit
23
24
reg:
25
maxItems: 1
26
27
interrupts:
28
maxItems: 1
29
30
clocks:
31
maxItems: 1
32
33
required:
34
- compatible
35
- reg
36
- interrupts
37
38
unevaluatedProperties: false
39
40
examples:
41
- |
42
#include <dt-bindings/interrupt-controller/irq.h>
43
timer@fffffd30 {
44
compatible = "atmel,at91sam9260-pit";
45
reg = <0xfffffd30 0x10>;
46
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
47
clocks = <&clk32k>;
48
};
49
...
50
51