OSDN Git Service

ARM: dts: at91: sama5d4: Add TCB2
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 5 May 2016 15:49:57 +0000 (17:49 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 31 Dec 2017 14:50:17 +0000 (15:50 +0100)
The third TC block is missing from the dtsi. It has no output pins but can
still be used for timers as the IRQ is wired.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/sama5d4.dtsi

index 652c047..373b362 100644 (file)
                                clock-names = "t0_clk", "slow_clk";
                        };
 
+                       tcb2: timer@fc024000 {
+                               compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               reg = <0xfc024000 0x100>;
+                               interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
+                               clocks = <&tcb2_clk>, <&clk32k>;
+                               clock-names = "t0_clk", "slow_clk";
+                       };
+
                        macb1: ethernet@fc028000 {
                                compatible = "atmel,sama5d4-gem";
                                reg = <0xfc028000 0x100>;