Merge tag 'pwm/for-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / sama5d3_tcb1.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * sama5d3_tcb1.dtsi - Device Tree Include file for SAMA5D3 SoC with
4  * 2 TC blocks.
5  *
6  * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
7  */
8
9 #include <dt-bindings/pinctrl/at91.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/clock/at91.h>
12
13 / {
14         aliases {
15                 tcb1 = &tcb1;
16         };
17
18         ahb {
19                 apb {
20                         pmc: pmc@fffffc00 {
21                                 periphck {
22                                         tcb1_clk: tcb1_clk {
23                                                 #clock-cells = <0>;
24                                                 reg = <27>;
25                                         };
26                                 };
27                         };
28
29                         tcb1: timer@f8014000 {
30                                 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
31                                 #address-cells = <1>;
32                                 #size-cells = <0>;
33                                 reg = <0xf8014000 0x100>;
34                                 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
35                                 clocks = <&tcb1_clk>, <&clk32k>;
36                                 clock-names = "t0_clk", "slow_clk";
37                         };
38                 };
39         };
40 };