From patchwork Thu Jan 30 17:33:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 13954789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AFE21C0218A for ; Thu, 30 Jan 2025 17:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HOXZ6StvK/G5fI2aYxY8WNzkMCVl8y5FE1SksnewfaM=; b=1HFJfPa+48XUHpT59eallxuKkT ykQbtgeVif3T5crnNXDECYybjKYTX4sm9o87DMVnDiU06yoPviehOCGGlDqEZmvdmRelNZGWB8VfS ihkDkunQ5Jkf4XOcPS3b9/zWoxZb8jjtLuVjDO8hL9FJOSBmfLUvvzzY6UC7qiYvl+vXG1XAV+G/U CP8a4NJGXH48RRQ3TnAt2WhwoSr8y5LAjdYiVFOwU+ArxmkQz14NoxiE1t/+qseZOkzb2xdpaxTc0 IzAhnOItl30HDBkdxlhg/QUOeAcMGhkgnv0qCbaF0x2U1P9bjKALH27G+mrjZI8KSsKAaAdaxj+yD bT/VFtgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tdYXN-00000009JOb-1YXd; Thu, 30 Jan 2025 17:41:09 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tdYSE-00000009IIu-1h8Z for linux-arm-kernel@lists.infradead.org; Thu, 30 Jan 2025 17:35:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1738258550; x=1769794550; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=unETEqL21PPGjcJ+5ThZ5Xx9TlKma2kepF5jLOEMdPY=; b=HAOGZknGK1eZxxcVQaUuIrao1tBWkoOIm+b2AEZD9amJMiEIjt0+dKKY 5TdwbDTZBSZkDHupO6QDFmThfaOZK0qdgPliG49H7fP6a1URNN1/1P++u bMVn0EZwDVOPc7v/rV1cohU6aKiuVGZv1DEXJZ591Z5DEOlWmk20WSW+q RjHl1K0hB3RV0sHAnoTktkzE1VmXpF/C5HdcHHkZMt8axuMKAYB8MxTM1 //4AwAsu9h0j7qUAWQCjG8vUQGscIBXbTJ8qC+8VJ54WR8T9EEQZYWXu2 XJdZgx7He33cYD7JOoIB/AhGgPjXfLHzO9vHgbAeH7EVKCYFWlC1oKEZO Q==; X-CSE-ConnectionGUID: X8noN3xrSZmPEckyVo5bzw== X-CSE-MsgGUID: OxtnvTyxSmKbP44RM9+2HQ== X-IronPort-AV: E=Sophos;i="6.13,246,1732604400"; d="scan'208";a="204622975" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 30 Jan 2025 10:35:46 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 30 Jan 2025 10:35:42 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 30 Jan 2025 10:35:42 -0700 From: To: , , , , , , , , , CC: , , , , , Ryan Wanner Subject: [PATCH 16/16] ARM: dts: microchip: add shutdown controller and rtt timer Date: Thu, 30 Jan 2025 10:33:56 -0700 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250130_093550_509529_A949287A X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Ryan Wanner Add shutdown controller and rtt timer to support shutdown and wake up. Signed-off-by: Ryan Wanner --- .../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>; };