[4/4] ARM: dts: add power controller to the Gemini DTS

Message ID 20170130193635.18644-4-linus.walleij@linaro.org
State New
Headers show
Series
  • [1/4] power: reset: Add Gemini poweroff DT bindings
Related show

Commit Message

Linus Walleij Jan. 30, 2017, 7:36 p.m.
This adds the Gemini power controller to the SoC DTSI
file.

Cc: Janos Laube <janos.dev@gmail.com>
Cc: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
Sebastian: this patch is just for context.
I will funnel the ARM parts through the ARM SoC tree.
---
 arch/arm/boot/dts/gemini.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi
index df5630958038..8a2501239ae5 100644
--- a/arch/arm/boot/dts/gemini.dtsi
+++ b/arch/arm/boot/dts/gemini.dtsi
@@ -70,6 +70,12 @@ 
 		#interrupt-cells = <2>;
 	};
 
+	power-controller@4b000000 {
+		compatible = "cortina,gemini-power-controller";
+		reg = <0x4b000000 0x100>;
+		interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
+	};
+
 	gpio0: gpio@4d000000 {
 		compatible = "cortina,gemini-gpio";
 		reg = <0x4d000000 0x100>;