diff options
author | Clément Léger <clement.leger@bootlin.com> | 2022-03-31 10:55:08 +0200 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@microchip.com> | 2022-04-01 15:42:46 +0300 |
commit | 757647313dd69324c5a01125b5ce9664058fee50 (patch) | |
tree | 1fae4525579d36e5f93f4c4c49d4219c477e2371 | |
parent | d29e55a6c23dac4b8dc51e1fbd19037c4deaf35b (diff) | |
download | u-boot-757647313dd69324c5a01125b5ce9664058fee50.tar.gz u-boot-757647313dd69324c5a01125b5ce9664058fee50.tar.bz2 u-boot-757647313dd69324c5a01125b5ce9664058fee50.zip |
ARM: dts: at91: sama5d2: add TCB node
Add the device-tree node to describe the TCB timer.
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
-rw-r--r-- | arch/arm/dts/sama5d2.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 7de58e4a1f..058009adca 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -1,4 +1,5 @@ #include "skeleton.dtsi" +#include <dt-bindings/interrupt-controller/irq.h> / { model = "Atmel SAMA5D2 family SoC"; @@ -639,6 +640,21 @@ status = "disabled"; }; + tcb0: timer@f800c000 { + compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; + reg = <0xf800c000 0x100>; + interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&tcb0_clk>, <&tcb0_gclk>, <&clk32k>; + clock-names = "t0_clk", "gclk", "slow_clk"; + #address-cells = <1>; + #size-cells = <0>; + + timer0: timer@0 { + compatible = "atmel,tcb-timer"; + reg = <0>, <1>; + }; + }; + uart0: serial@f801c000 { compatible = "atmel,at91sam9260-usart"; reg = <0xf801c000 0x100>; |