2019-05-28 23:57:18 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2013-08-07 15:49:01 +07:00
|
|
|
/*
|
2015-03-04 23:56:03 +07:00
|
|
|
* sama5d3_tcb1.dtsi - Device Tree Include file for SAMA5D3 SoC with
|
2013-08-07 15:49:01 +07:00
|
|
|
* 2 TC blocks.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/at91.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2014-03-06 13:04:43 +07:00
|
|
|
#include <dt-bindings/clock/at91.h>
|
2013-08-07 15:49:01 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
tcb1 = &tcb1;
|
|
|
|
};
|
|
|
|
|
|
|
|
ahb {
|
|
|
|
apb {
|
2013-10-19 04:48:27 +07:00
|
|
|
pmc: pmc@fffffc00 {
|
|
|
|
periphck {
|
|
|
|
tcb1_clk: tcb1_clk {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
reg = <27>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-08-07 15:49:01 +07:00
|
|
|
tcb1: timer@f8014000 {
|
2016-06-07 21:15:17 +07:00
|
|
|
compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-08-07 15:49:01 +07:00
|
|
|
reg = <0xf8014000 0x100>;
|
|
|
|
interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
|
2015-07-29 19:10:06 +07:00
|
|
|
clocks = <&tcb1_clk>, <&clk32k>;
|
|
|
|
clock-names = "t0_clk", "slow_clk";
|
2013-08-07 15:49:01 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|