summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/at91sam9g20.dtsi
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-27 11:19:34 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-03-01 13:38:36 +0100
commit23fa648fd32658ca295de3ef2b7c883c7b8a6120 (patch)
tree987bbd0179c182faa455842cf66f63c054307ae5 /arch/arm/boot/dts/at91sam9g20.dtsi
parent8014d6f4dd074d4d248d3de7f63348fa2568476b (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/at91sam9g20.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9g20.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi
index 325989a27a7a..04c56c41001f 100644
--- a/arch/arm/boot/dts/at91sam9g20.dtsi
+++ b/arch/arm/boot/dts/at91sam9g20.dtsi
@@ -57,6 +57,12 @@
reg = <0xfffff000 0x200>;
};
+ pit: timer@fffffd30 {
+ compatible = "atmel,at91sam9260-pit";
+ reg = <0xfffffd30 0xf>;
+ interrupts = <1 4>;
+ };
+
pioA: gpio@fffff400 {
compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x100>;