ARM: sti: Add STiH407 reset controller support.
authorPeter Griffin <[email protected]>
Wed, 2 Jul 2014 14:08:00 +0000 (16:08 +0200)
committerMaxime Coquelin <[email protected]>
Fri, 31 Oct 2014 08:58:59 +0000 (09:58 +0100)
This patch adds the reset controller DT nodes for the powerdown,
 softreset and picophy controllers.

Signed-off-by: Peter Griffin <[email protected]>
Signed-off-by: Maxime Coquelin <[email protected]>
arch/arm/boot/dts/stih407.dtsi

index 4f9024f19866eeb67d4020851685778b4d79568d..d2f1aaa870eae3e64825856402f0e29c592a285f 100644 (file)
@@ -8,6 +8,7 @@
  */
 #include "stih407-clock.dtsi"
 #include "stih407-pinctrl.dtsi"
+#include <dt-bindings/reset-controller/stih407-resets.h>
 / {
        #address-cells = <1>;
        #size-cells = <1>;
                ranges;
                compatible = "simple-bus";
 
+               powerdown: powerdown-controller {
+                       compatible = "st,stih407-powerdown";
+                       #reset-cells = <1>;
+               };
+
+               softreset: softreset-controller {
+                       compatible = "st,stih407-softreset";
+                       #reset-cells = <1>;
+               };
+
+               picophyreset: picophyreset-controller {
+                       compatible = "st,stih407-picophyreset";
+                       #reset-cells = <1>;
+               };
+
                syscfg_sbc: sbc-syscfg@9620000 {
                        compatible = "st,stih407-sbc-syscfg", "syscon";
                        reg = <0x9620000 0x1000>;