diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2018-03-20 14:15:06 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-06 20:45:44 -0400 |
commit | 86634a93b45ab0ede95716c859b4c57edb0a7d85 (patch) | |
tree | 5f60de15f2003e586450027332954bde76ca3cd2 /arch/arm/dts/stm32mp157.dtsi | |
parent | e16750ff0e435bc7a41954f27607c663f27857bc (diff) |
stm32mp: handle SYSRESET
Add support of sysreset with generic driver "syscon-reboot"
provided by RCC, for U-boot and for SPL.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/dts/stm32mp157.dtsi')
-rw-r--r-- | arch/arm/dts/stm32mp157.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp157.dtsi b/arch/arm/dts/stm32mp157.dtsi index 77953c8e9d..b84899a1ea 100644 --- a/arch/arm/dts/stm32mp157.dtsi +++ b/arch/arm/dts/stm32mp157.dtsi @@ -114,6 +114,13 @@ #reset-cells = <1>; compatible = "st,stm32mp1-rcc-rst"; }; + + rcc_reboot: rcc-reboot@50000000 { + compatible = "syscon-reboot"; + regmap = <&rcc>; + offset = <0x404>; + mask = <0x1>; + }; }; pinctrl: pin-controller { |