linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: <Ryan.Wanner@microchip.com>
To: <lee@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
	<conor+dt@kernel.org>, <claudiu.beznea@tuxon.dev>,
	<sre@kernel.org>, <nicolas.ferre@microchip.com>,
	<alexandre.belloni@bootlin.com>, <p.zabel@pengutronix.de>,
	<linux@armlinux.org.uk>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-pm@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-rtc@vger.kernel.org>,
	Ryan Wanner <Ryan.Wanner@microchip.com>
Subject: [PATCH 16/16] ARM: dts: microchip: add shutdown controller and rtt timer
Date: Thu, 30 Jan 2025 10:33:56 -0700	[thread overview]
Message-ID: <f003d5cb209fbda0064cc593bedecd7bff46c86f.1738257860.git.Ryan.Wanner@microchip.com> (raw)
In-Reply-To: <cover.1738257860.git.Ryan.Wanner@microchip.com>

From: Ryan Wanner <Ryan.Wanner@microchip.com>

Add shutdown controller and rtt timer to support shutdown and wake up.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
---
 .../boot/dts/microchip/at91-sama7d65_curiosity.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
index 0f86360fb733a..d1d0b06fbfc43 100644
--- a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
@@ -77,6 +77,11 @@ pinctrl_uart6_default: uart6-default {
 	};
 };
 
+&rtt {
+	atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
+	status = "disabled";
+};
+
 &sdmmc1 {
 	bus-width = <4>;
 	pinctrl-names = "default";
@@ -84,6 +89,15 @@ &sdmmc1 {
 	status = "okay";
 };
 
+&shdwc {
+	debounce-delay-us = <976>;
+	status = "okay";
+
+	input@0 {
+		reg = <0>;
+	};
+};
+
 &slow_xtal {
 	clock-frequency = <32768>;
 };
-- 
2.43.0


      parent reply	other threads:[~2025-01-30 17:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-30 17:33 [PATCH 00/16] Enable Power Modes Support for SAMA7D65 SoC Ryan.Wanner
2025-01-30 17:33 ` [PATCH 01/16] dt-bindings: mfd: syscon: add microchip,sama7d65-ddr3phy Ryan.Wanner
2025-01-30 23:31   ` Rob Herring (Arm)
2025-01-30 23:33   ` Rob Herring
2025-01-30 17:33 ` [PATCH 02/16] dt-bindings: mfd: syscon: add microchip,sama7d65-sfrbu Ryan.Wanner
2025-01-30 23:34   ` Rob Herring
2025-01-30 17:33 ` [PATCH 03/16] dt-bindings: sram: Add microchip,sama7d65-sram Ryan.Wanner
2025-01-30 23:34   ` Rob Herring (Arm)
2025-01-30 17:33 ` [PATCH 04/16] dt-bindings: power: reset: atmel,sama5d2-shdwc: Add microchip,sama7d65-shdwc Ryan.Wanner
2025-01-30 23:35   ` Rob Herring (Arm)
2025-01-30 17:33 ` [PATCH 05/16] dt-bindings: reset: atmel,at91sam9260-reset: add microchip,sama7d65-rstc Ryan.Wanner
2025-01-30 23:41   ` Rob Herring
2025-01-30 17:33 ` [PATCH 06/16] dt-bindings: rtc: at91rm9200: Reorganize compatible items Ryan.Wanner
2025-01-30 23:43   ` Rob Herring
2025-01-30 17:33 ` [PATCH 07/16] dt-bindings: rtc: at91rm9200: add microchip,sama7d65-rtc Ryan.Wanner
2025-01-30 17:33 ` [PATCH 08/16] dt-bindings: at91rm9260-rtt: add microchip,sama7d65-rtt Ryan.Wanner
2025-01-30 23:51   ` Rob Herring
2025-01-30 17:33 ` [PATCH 09/16] ARM: at91: Add PM support to sama7d65 Ryan.Wanner
2025-01-30 17:33 ` [PATCH 10/16] ARM: at91: pm: fix at91_suspend_finish for ZQ calibration Ryan.Wanner
2025-01-30 17:33 ` [PATCH 11/16] ARM: at91: pm: add DT compatible support for sama7d65 Ryan.Wanner
2025-01-30 17:33 ` [PATCH 12/16] ARM: at91: PM: Add Backup mode for SAMA7D65 Ryan.Wanner
2025-01-30 17:33 ` [PATCH 13/16] ARM: at91: pm: Enable ULP0 " Ryan.Wanner
2025-01-30 17:33 ` [PATCH 14/16] power: reset: at91-sama5d2_shdwc: Add sama7d65 PMC Ryan.Wanner
2025-01-30 17:33 ` [PATCH 15/16] ARM: dts: microchip: sama7d65: Add Reset and Shutdown and PM support Ryan.Wanner
2025-01-30 17:33 ` Ryan.Wanner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f003d5cb209fbda0064cc593bedecd7bff46c86f.1738257860.git.Ryan.Wanner@microchip.com \
    --to=ryan.wanner@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=nicolas.ferre@microchip.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).