Commit b864a0b9 authored by Peter Griffin's avatar Peter Griffin Committed by Maxime Coquelin

ARM: sti: Add STiH407 reset controller support.

This patch adds the reset controller DT nodes for the powerdown,
 softreset and picophy controllers.
Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
parent c2732114
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include "stih407-clock.dtsi" #include "stih407-clock.dtsi"
#include "stih407-pinctrl.dtsi" #include "stih407-pinctrl.dtsi"
#include <dt-bindings/reset-controller/stih407-resets.h>
/ { / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -63,6 +64,21 @@ soc { ...@@ -63,6 +64,21 @@ soc {
ranges; ranges;
compatible = "simple-bus"; 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 { syscfg_sbc: sbc-syscfg@9620000 {
compatible = "st,stih407-sbc-syscfg", "syscon"; compatible = "st,stih407-sbc-syscfg", "syscon";
reg = <0x9620000 0x1000>; reg = <0x9620000 0x1000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment