Skip to content

Commit 44f6fa4

Browse files
alexandrebellonidlezcano
authored andcommitted
ARM: dts: at91: sama5d2: add TCB GCLK
The sama5d2 tcbs take an extra input clock, their gclk. Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d777960 commit 44f6fa4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -499,23 +499,23 @@
499499
};
500500

501501
tcb0: timer@f800c000 {
502-
compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
502+
compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
503503
#address-cells = <1>;
504504
#size-cells = <0>;
505505
reg = <0xf800c000 0x100>;
506506
interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
507-
clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&clk32k>;
508-
clock-names = "t0_clk", "slow_clk";
507+
clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_GCK 35>, <&clk32k>;
508+
clock-names = "t0_clk", "gclk", "slow_clk";
509509
};
510510

511511
tcb1: timer@f8010000 {
512-
compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
512+
compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
513513
#address-cells = <1>;
514514
#size-cells = <0>;
515515
reg = <0xf8010000 0x100>;
516516
interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
517-
clocks = <&pmc PMC_TYPE_PERIPHERAL 36>, <&clk32k>;
518-
clock-names = "t0_clk", "slow_clk";
517+
clocks = <&pmc PMC_TYPE_PERIPHERAL 36>, <&pmc PMC_TYPE_GCK 36>, <&clk32k>;
518+
clock-names = "t0_clk", "gclk", "slow_clk";
519519
};
520520

521521
hsmc: hsmc@f8014000 {

0 commit comments

Comments
 (0)