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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F1E7C636CC for ; Wed, 15 Feb 2023 20:37:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229532AbjBOUht (ORCPT ); Wed, 15 Feb 2023 15:37:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjBOUhg (ORCPT ); Wed, 15 Feb 2023 15:37:36 -0500 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34313B3DE; Wed, 15 Feb 2023 12:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Type:Content-ID:Content-Description; bh=Nm6XL9EmKootcd4yjvHH8UZ77IxEkk6Gx2zX6Qkn1sU=; b=GRXQdXOdVjKugMIj6vYmkR6z+c tE41n1KbONRNr3NV4YXgZSdMOEVn5/1gCdzlxD8lDYtnbEZC0tsHA6gH/XWo/iVTgjKa+Efojf7j/ G3X5sPl/+Wmho26LM8904Xfwr+Yni2gD9GCcUBZaOPJjwyPH0xhHBVXVVJtxfcsgEGxkfVt2xGP8k 6G04gRleEPJyOxb7jHV+CzjNPcucbU+00dpGiz7Csi1JW6mGAKTI5N2jSxbqvRbYFpOceWceFwcjG ZbkWcS0KKK/hxCICEt/ZnT7+6nKKrzvnLyAgYDfHY3dcAsbYJepme/v8XMO1B5PhcN4VPmFWJ9VVY 9LrmTvTA==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1pSOWj-002j5f-Vs; Wed, 15 Feb 2023 20:37:18 +0000 From: Bastian Germann To: Wilken Gottwalt Cc: Bastian Germann , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: allwinner: a64: Add hwspinlock node Date: Wed, 15 Feb 2023 21:37:10 +0100 Message-Id: <20230215203711.6293-6-bage@debian.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215203711.6293-1-bage@debian.org> References: <20230215203711.6293-1-bage@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Debian-User: bage Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the hwspinlock to A64 which is already implemented for A31. Signed-off-by: Bastian Germann --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 77b5349f6087..f2ecc21f06ed 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -851,6 +851,17 @@ wdt0: watchdog@1c20ca0 { clocks = <&osc24M>; }; + hwspinlock: hwlock@1c18000 { + compatible = "allwinner,sun50i-a64-hwspinlock", + "allwinner,sun6i-a31-hwspinlock"; + reg = <0x01c18000 0x1000>; + clocks = <&ccu CLK_BUS_SPINLOCK>; + clock-names = "ahb"; + resets = <&ccu RST_BUS_SPINLOCK>; + reset-names = "ahb"; + #hwlock-cells = <1>; + }; + spdif: spdif@1c21000 { #sound-dai-cells = <0>; compatible = "allwinner,sun50i-a64-spdif", -- 2.39.1