Loading...
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 tcb1: timer@f8014000 {
21 compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
22 #address-cells = <1>;
23 #size-cells = <0>;
24 reg = <0xf8014000 0x100>;
25 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
26 clocks = <&pmc PMC_TYPE_PERIPHERAL 27>, <&clk32k>;
27 clock-names = "t0_clk", "slow_clk";
28 };
29 };
30 };
31};
1/*
2 * sama5d3_tcb1.dtsi - Device Tree Include file for SAMA5D3 SoC with
3 * 2 TC blocks.
4 *
5 * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
6 *
7 * Licensed under GPLv2.
8 */
9
10#include <dt-bindings/pinctrl/at91.h>
11#include <dt-bindings/interrupt-controller/irq.h>
12#include <dt-bindings/clock/at91.h>
13
14/ {
15 aliases {
16 tcb1 = &tcb1;
17 };
18
19 ahb {
20 apb {
21 pmc: pmc@fffffc00 {
22 periphck {
23 tcb1_clk: tcb1_clk {
24 #clock-cells = <0>;
25 reg = <27>;
26 };
27 };
28 };
29
30 tcb1: timer@f8014000 {
31 compatible = "atmel,at91sam9x5-tcb";
32 reg = <0xf8014000 0x100>;
33 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
34 clocks = <&tcb1_clk>, <&clk32k>;
35 clock-names = "t0_clk", "slow_clk";
36 };
37 };
38 };
39};