diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-21 11:00:11 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-11-30 11:40:17 -0500 |
commit | 389a367a5bfcde677f82d05c6a6cd1458b9c54bf (patch) | |
tree | c4b1ca9cd3e2114e341629ea3d1ad70be6b0363b /arch/arm/boot/dts/armada-xp-gp.dts | |
parent | b9b1de0f4da37dac76d812a27d6065eba02dc05b (diff) |
ARM: mvebu: add suspend/resume DT information for Armada XP GP
This commit improves the Armada XP GP Device Tree description to
describe the 3 GPIOs that are used to connect the SoC to the PIC
micro-controller that we talk to shutdown the SoC when entering
suspend to RAM.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1416585613-2113-15-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-xp-gp.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-xp-gp.dts | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-xp-gp.dts b/arch/arm/boot/dts/armada-xp-gp.dts index 0478c55ca656..ea8673647494 100644 --- a/arch/arm/boot/dts/armada-xp-gp.dts +++ b/arch/arm/boot/dts/armada-xp-gp.dts | |||
@@ -23,6 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | /dts-v1/; | 25 | /dts-v1/; |
26 | #include <dt-bindings/gpio/gpio.h> | ||
26 | #include "armada-xp-mv78460.dtsi" | 27 | #include "armada-xp-mv78460.dtsi" |
27 | 28 | ||
28 | / { | 29 | / { |
@@ -48,6 +49,14 @@ | |||
48 | <0x00000001 0x00000000 0x00000001 0x00000000>; | 49 | <0x00000001 0x00000000 0x00000001 0x00000000>; |
49 | }; | 50 | }; |
50 | 51 | ||
52 | cpus { | ||
53 | pm_pic { | ||
54 | ctrl-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>, | ||
55 | <&gpio0 17 GPIO_ACTIVE_LOW>, | ||
56 | <&gpio0 18 GPIO_ACTIVE_LOW>; | ||
57 | }; | ||
58 | }; | ||
59 | |||
51 | soc { | 60 | soc { |
52 | ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 | 61 | ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 |
53 | MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 | 62 | MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 |
@@ -115,7 +124,15 @@ | |||
115 | serial@12300 { | 124 | serial@12300 { |
116 | status = "okay"; | 125 | status = "okay"; |
117 | }; | 126 | }; |
118 | 127 | pinctrl { | |
128 | pinctrl-0 = <&pic_pins>; | ||
129 | pinctrl-names = "default"; | ||
130 | pic_pins: pic-pins-0 { | ||
131 | marvell,pins = "mpp16", "mpp17", | ||
132 | "mpp18"; | ||
133 | marvell,function = "gpio"; | ||
134 | }; | ||
135 | }; | ||
119 | sata@a0000 { | 136 | sata@a0000 { |
120 | nr-ports = <2>; | 137 | nr-ports = <2>; |
121 | status = "okay"; | 138 | status = "okay"; |