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