diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-02 08:01:00 -0500 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-03-15 11:38:02 -0400 |
commit | 82015c4eae2ac67cfed8e98f8d9a4ee77a2d26ca (patch) | |
tree | 4b1d99e45c92d21adeee3e665f31a3c4c80702c9 /arch/arm/boot/dts | |
parent | a7776ec625c8ca90d050953946a5b72eaf41c21c (diff) |
ARM: at91: add Shutdown Controller (SHDWC) DT support
Use a string to specific the wakeup mode to make it more readable.
Add the Real-time Clock Wake-up support too for sam9g45 and sam9x5.
Add AT91_SHDW_CPTWK0_MAX to specific the Max of the Wakeup Counter.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/at91sam9g20.dtsi | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/at91sam9g45.dtsi | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/at91sam9x5.dtsi | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi index 0a1df8d9bfb6..9a0647bb387f 100644 --- a/arch/arm/boot/dts/at91sam9g20.dtsi +++ b/arch/arm/boot/dts/at91sam9g20.dtsi | |||
@@ -74,6 +74,11 @@ | |||
74 | reg = <0xfffffd00 0x10>; | 74 | reg = <0xfffffd00 0x10>; |
75 | }; | 75 | }; |
76 | 76 | ||
77 | shdwc@fffffd10 { | ||
78 | compatible = "atmel,at91sam9260-shdwc"; | ||
79 | reg = <0xfffffd10 0x10>; | ||
80 | }; | ||
81 | |||
77 | pit: timer@fffffd30 { | 82 | pit: timer@fffffd30 { |
78 | compatible = "atmel,at91sam9260-pit"; | 83 | compatible = "atmel,at91sam9260-pit"; |
79 | reg = <0xfffffd30 0xf>; | 84 | reg = <0xfffffd30 0xf>; |
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index 587a1913c062..8908f078c307 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi | |||
@@ -83,6 +83,11 @@ | |||
83 | }; | 83 | }; |
84 | 84 | ||
85 | 85 | ||
86 | shdwc@fffffd10 { | ||
87 | compatible = "atmel,at91sam9rl-shdwc"; | ||
88 | reg = <0xfffffd10 0x10>; | ||
89 | }; | ||
90 | |||
86 | tcb0: timer@fff7c000 { | 91 | tcb0: timer@fff7c000 { |
87 | compatible = "atmel,at91rm9200-tcb"; | 92 | compatible = "atmel,at91rm9200-tcb"; |
88 | reg = <0xfff7c000 0x100>; | 93 | reg = <0xfff7c000 0x100>; |
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 73c46e3dffab..20155ccbbe14 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi | |||
@@ -73,6 +73,11 @@ | |||
73 | reg = <0xfffffe00 0x10>; | 73 | reg = <0xfffffe00 0x10>; |
74 | }; | 74 | }; |
75 | 75 | ||
76 | shdwc@fffffe10 { | ||
77 | compatible = "atmel,at91sam9x5-shdwc"; | ||
78 | reg = <0xfffffe10 0x10>; | ||
79 | }; | ||
80 | |||
76 | pit: timer@fffffe30 { | 81 | pit: timer@fffffe30 { |
77 | compatible = "atmel,at91sam9260-pit"; | 82 | compatible = "atmel,at91sam9260-pit"; |
78 | reg = <0xfffffe30 0xf>; | 83 | reg = <0xfffffe30 0xf>; |