summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sama5d3_tcb1.dtsi
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-06-07 17:15:17 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-12-31 17:50:14 +0300
commita4799758f4033fd5f02b81d35f6891c90b3a0874 (patch)
tree67ff65a7bbc3c0ae30fbf5fcefcd02711a8da731 /arch/arm/boot/dts/sama5d3_tcb1.dtsi
parentb3f41c6e812f0d5ed0dd3291dee5bd618e7a427d (diff)
downloadlinux-a4799758f4033fd5f02b81d35f6891c90b3a0874.tar.xz
ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sama5d3_tcb1.dtsi')
-rw-r--r--arch/arm/boot/dts/sama5d3_tcb1.dtsi4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sama5d3_tcb1.dtsi b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
index 801f9745e82f..cb30bdb1a9ca 100644
--- a/arch/arm/boot/dts/sama5d3_tcb1.dtsi
+++ b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
@@ -28,7 +28,9 @@
};
tcb1: timer@f8014000 {
- compatible = "atmel,at91sam9x5-tcb";
+ compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0xf8014000 0x100>;
interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&tcb1_clk>, <&clk32k>;