diff options
author | Fabio Estevam <[email protected]> | 2024-03-21 11:31:15 -0300 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2024-04-02 11:15:55 +0800 |
commit | eefb9049875a693cbf87d97d5db2a8ae305cb83b (patch) | |
tree | bc4079ae3a5fa89e0a36d4f6ab368b25293bdfd0 | |
parent | 3eaf1870d7455b88436cc08dbaa459528b96da53 (diff) |
ARM: dts: imx7s: Add snvs-poweroff support
Just like other i.MX devices, i.MX7 also supports using the SNVS
block to poweroff the chip.
Add an entry for it.
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi index 9c81c6baa2d3..22dd72499ef2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi @@ -636,6 +636,15 @@ clock-names = "snvs-rtc"; }; + snvs_poweroff: snvs-poweroff { + compatible = "syscon-poweroff"; + regmap = <&snvs>; + offset = <0x38>; + value = <0x60>; + mask = <0x60>; + status = "disabled"; + }; + snvs_pwrkey: snvs-powerkey { compatible = "fsl,sec-v4.0-pwrkey"; regmap = <&snvs>; |