From patchwork Tue Jan 12 05:59:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12012467 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37F99C433E6 for ; Tue, 12 Jan 2021 06:02:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E141622CE3 for ; Tue, 12 Jan 2021 06:02:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E141622CE3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LXDjr+R5oRLuK9QTh4jvJAOSUziI7BJNn4DGICyaoHI=; b=EXS0z2BRrylHPUsa9QlDOqD7j YBomxVB7iD0A+NaHUjBrG0XUTCL4/gCGSV3pgiYY84CVt+6IcrVVFxiOZZgqjTPki1+33H/dE7sZA 8VoYLCSxOOVnKZ8mi9kb6MwoyFBSdcePjvVRV55pytQ/jujL+AkEOtFIWfizQ5X19Bth3wc6heomf q/gKWGcxeURJke/3zeyEfCRzH2CJaamZwf3s1EXsPXvl1QbvP12pnIFb4rjqo1nRP4yNuizeF4oe5 RL8yDmg3Z0s3Mjbg4/wxCXNdLn/KtU4dPkqmSVaBwiNeu5VFWjH+tqYcSrh77sfPrwzZXpuPV//8Z msEI6tadA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzCjh-0008WC-Nf; Tue, 12 Jan 2021 06:00:59 +0000 Received: from new3-smtp.messagingengine.com ([66.111.4.229]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzCin-0008Eg-79 for linux-arm-kernel@lists.infradead.org; Tue, 12 Jan 2021 06:00:10 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 5CDB2580564; Tue, 12 Jan 2021 00:59:55 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 12 Jan 2021 00:59:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=F6mUEIL2CbL9d U/IvN0rEbcBZPmENgnExRcp/Qkz2Q4=; b=kHhqpEbe2DpvH53QDM97Yv+gZKZRy MV8Rfo31l+WMi7gO9/5wDa1HTbzf7quqobGQihGINv4lYur428RcLP90biNQUQF3 4hxFRbCBMP2hWcaKsfgjdCFooPR9ceJbck9YzFO2y65b7R0nJ0LCx8qZ/z6E4XQE U+HrMHAdP1fkUEOOFGAokTWt8JuIcCPUo97xz6aWkvLwKSqVhI76YT33iaJm5CB1 xjBNcH4Ntbc9juZ08vNHOwsT6IlFZipGqm5MmCkbtbPHNwKEJVr7NPPIW2aFbbj8 L2maMvdKkG6y4r/s+VXJUplQ1xyRsOW0/+gagSMro6bv+dTFQUZLmIV1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=F6mUEIL2CbL9dU/IvN0rEbcBZPmENgnExRcp/Qkz2Q4=; b=QSPDhlQz jy4pgAmcJabwrKfdsaVTranDLEPd99PiBOtVuYpXfemeKAiWrD9imECSd24HZDyn 1aeXzm09hxDKtss8RYDebblEO2sVQHIzqAhu+5/WKw9ou9f58D6pGmUCY0M+tasn I+yY6Nzz3HFUsok7zGrGDg4Y1FSTg0HJOT0dk3YT0pYxWpTuErvyL2GlQuEi15uM Bc+MlqRNTUkaTGs5s8GXjzl3XLuXnrFhH7RGLKrR00R2bOtetG+X49JYR4nrG6CR 3blfG4MD1dW063CACTxqJ5uACiLJDLtV5N2Ai82DgmDGnLKn8Ravi3lWKprFFri9 ssPt7npbDxor5A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdehvddgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuih iivgepfeenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghn ugdrohhrgh X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id B16A224005A; Tue, 12 Jan 2021 00:59:54 -0500 (EST) From: Samuel Holland To: Thomas Gleixner , Marc Zyngier , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Subject: [PATCH v4 07/10] ARM: dts: sunxi: h3/h5: Add r_intc node Date: Mon, 11 Jan 2021 23:59:47 -0600 Message-Id: <20210112055950.21209-8-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210112055950.21209-1-samuel@sholland.org> References: <20210112055950.21209-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210112_010001_455878_8BEB5917 X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The H3 and H5 SoCs have an additional interrupt controller in the RTC power domain that can be used to enable wakeup for certain IRQs. Add a node for it. Signed-off-by: Samuel Holland --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index 9be13378d4df..4bf25c5b873e 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -859,6 +859,15 @@ rtc: rtc@1f00000 { #clock-cells = <1>; }; + r_intc: interrupt-controller@1f00c00 { + compatible = "allwinner,sun8i-h3-r-intc", + "allwinner,sun6i-a31-r-intc"; + interrupt-controller; + #interrupt-cells = <3>; + reg = <0x01f00c00 0x400>; + interrupts = ; + }; + r_ccu: clock@1f01400 { compatible = "allwinner,sun8i-h3-r-ccu"; reg = <0x01f01400 0x100>;