diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-02-27 05:19:34 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-03-01 07:38:36 -0500 |
commit | 23fa648fd32658ca295de3ef2b7c883c7b8a6120 (patch) | |
tree | 987bbd0179c182faa455842cf66f63c054307ae5 /arch/arm/boot/dts/at91sam9g45.dtsi | |
parent | 8014d6f4dd074d4d248d3de7f63348fa2568476b (diff) |
ARM: at91: pit add DT support
Retreive registers address and IRQ from device tree entry.
Called from at91_dt_init_irq() so that timers are up-n-running
when timers initialization will occur.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
[nicolas.ferre@atmel.com: change error path and interrupts property handling]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9g45.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9g45.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index a9dbbb5b86f5..3881cab965fa 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi | |||
@@ -58,6 +58,12 @@ | |||
58 | reg = <0xfffff000 0x200>; | 58 | reg = <0xfffff000 0x200>; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | pit: timer@fffffd30 { | ||
62 | compatible = "atmel,at91sam9260-pit"; | ||
63 | reg = <0xfffffd30 0xf>; | ||
64 | interrupts = <1 4>; | ||
65 | }; | ||
66 | |||
61 | dma: dma-controller@ffffec00 { | 67 | dma: dma-controller@ffffec00 { |
62 | compatible = "atmel,at91sam9g45-dma"; | 68 | compatible = "atmel,at91sam9g45-dma"; |
63 | reg = <0xffffec00 0x200>; | 69 | reg = <0xffffec00 0x200>; |