aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-06-08 11:06:13 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-12-31 09:50:10 -0500
commitc33b1437c0d84dd9742180e16e75c7975348ea0b (patch)
tree6221b3a9797eb1687379339ef1e80374350c343a
parent6689e2bf810f8ae5a6e9023841d01eaddaa45fba (diff)
ARM: dts: at91: at91sam9rl: 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>
-rw-r--r--arch/arm/boot/dts/at91sam9rl.dtsi4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
index 52f0e9ef8f67..3cae687dccbd 100644
--- a/arch/arm/boot/dts/at91sam9rl.dtsi
+++ b/arch/arm/boot/dts/at91sam9rl.dtsi
@@ -124,7 +124,9 @@
124 ranges; 124 ranges;
125 125
126 tcb0: timer@fffa0000 { 126 tcb0: timer@fffa0000 {
127 compatible = "atmel,at91rm9200-tcb"; 127 compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
128 #address-cells = <1>;
129 #size-cells = <0>;
128 reg = <0xfffa0000 0x100>; 130 reg = <0xfffa0000 0x100>;
129 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 0>, 131 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 0>,
130 <17 IRQ_TYPE_LEVEL_HIGH 0>, 132 <17 IRQ_TYPE_LEVEL_HIGH 0>,