From patchwork Thu Sep 12 14:24:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13802199 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 51168EED60B for ; Thu, 12 Sep 2024 14:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=BU47idGdwITR4lmSeB8xZqbSfQp/9glqsDnns9KfR98=; b=FKDdpmh+GJ2iMf oNajyrjSKchN11gcB2QUiYv3Z4Kwt8BJaq7VjqV8AEBDzzAlcFwB5rwXCl8N4U4zcjliypIWaVua4 ix0fB21ez89E5+MYltP+qCcKL5pFwWsnWkOAFZNbwSQycSYR2qR6wmpJ2RMHLsuf3+DfwljyrkA2o xe0utmNdXmkFAhoFFyo/ezecMxYn1WQu09T0j53gnkZQ8KMoehqhOtBOJC6FNVGdU0PTkfOdRMjvD xuWWZ/XUtiTYMYkmL9gID3qtl8UYVlCq96IvPqBXQBboGS7Qs4dvM3i95Cleq9tPH1Kx9KFSv5UC3 QLE4lZIXatiYYeESe/Lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokmY-0000000DLG0-1hwl; Thu, 12 Sep 2024 14:26:50 +0000 Received: from omta38.uswest2.a.cloudfilter.net ([35.89.44.37]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokmG-0000000DL7h-3TY0 for linux-rockchip@lists.infradead.org; Thu, 12 Sep 2024 14:26:34 +0000 Received: from eig-obgw-6004a.ext.cloudfilter.net ([10.0.30.197]) by cmsmtp with ESMTPS id okMvsCiuqumtXokm2sTd3B; Thu, 12 Sep 2024 14:26:18 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id oklysyl5cks1PoklzsJnVH; Thu, 12 Sep 2024 14:26:16 +0000 X-Authority-Analysis: v=2.4 cv=Ud+aS7SN c=1 sm=1 tr=0 ts=66e2fa08 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=EaEq8P2WXUwA:10 a=-pn6D5nKLtMA:10 a=vU9dKmh3AAAA:8 a=_vxgr4zIZx27vdRyEIkA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IJbCpjR15TcWvFC+DPqDRtsS9ZjW3RoOWItYzzC3tRE=; b=I/YOQA9MfrdgiWwj/igdnBlEad gR2ZdKlRDWJur+9+ZUpZnC74IOryoVk5ZafJE9JE6rmo187YqqgSjmEgRjg12rVyfyWtsrBtB7IG9 aQNTOrhLv8xV3rvSl1CgxsNayoc7Ar6nCx1dPt625UylawQ3bGrLiAthGoVgTx1vEp3Yoz4xEVlxF A/9HiI0A+s9wW0AypynRS9V+W5xlMWWRIVMM69slv37BWvRKrRm4SYL7veHFyjzI1oRQZYlGUICai G7R9Ydzbx1BFGj32+YYK2VuCK2r2/tk3P6Cg3xN9KVo68sdm/EHdmDjriA4URZ8I+YQfzr1f/XWq+ yveJcwyg==; Received: from [122.165.245.213] (port=41006 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1soklw-003n4z-1f; Thu, 12 Sep 2024 19:56:12 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH v3 1/6] dt-bindings: watchdog: rockchip: Add rockchip,rv1126-wdt string Date: Thu, 12 Sep 2024 19:54:46 +0530 Message-Id: <20240912142451.2952633-2-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912142451.2952633-1-karthikeyan@linumiz.com> References: <20240912142451.2952633-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1soklw-003n4z-1f X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:41006 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 16 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfK44OYWZI1BizjZ1j88bqmurlDxsccKb6byNEAHSOhuuqb3LmD4/T58DptFpRpW+mlGmvIx9Fe4TElt3qqRJ6M2uJ6hn0L5h9SVmJiZn3shcxt7yLcQ2 Hd28Ypsm9h0JRbpa/nQYjZBxCQyEDFvvHyxrMop+/ZtWSP3oRGFYrsCQxMqyguQZY6lDuiNPNMWwl3sjc/TaJh3B4r2dlfHYwZjt6hNw1ZcR5AtnKbEQVM95 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_072633_413650_46440A92 X-CRM114-Status: UNSURE ( 3.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add rockchip,rv1126-wdt compatible string. Signed-off-by: Karthikeyan Krishnasamy Acked-by: Conor Dooley --- Notes: v3: - add watchdog compatible string Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml index c7aab0418a32..bccd27a1e470 100644 --- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml @@ -31,6 +31,7 @@ properties: - rockchip,rk3568-wdt - rockchip,rk3588-wdt - rockchip,rv1108-wdt + - rockchip,rv1126-wdt - const: snps,dw-wdt reg: From patchwork Thu Sep 12 14:24:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13802197 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 8696CEED60A for ; Thu, 12 Sep 2024 14:26:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=GcN9CcOYD3XZV0S7diR2zUR8jL46GJqArImK+fbTfKw=; b=tTVyYLcxQBrj96 kRxas8GX/4EGJ8JkXB/8M0tp3gHJ0IcrkVyBhSCkacBrg/xrEU/vavVf2Ezl702BtAMsmnMr+2DWU kuhsWrZycRVIKnkQR9Qhs911NLq4jNAYRjYsqNTQxXeTpURZ81AMRlNj8z9eVzNrA+621dVO5seE/ C5i/IrGPKARNPm+a9I7ws04gpysfyRAHCmlSctg3Bj/eAZfYtrrxQ3ggoJ6D88FHa3XUNT9SIWz2e fHmIbBOA6Y9LA2BtxVNdn07EQFc+InnRSk5EM49dEvJLV+K0GsUEcc6+sf2zl9ju72VCLuJ4t2o0A dGJ3uGNYIhOxywOnCrQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokmY-0000000DLGU-3T9n; Thu, 12 Sep 2024 14:26:50 +0000 Received: from omta036.useast.a.cloudfilter.net ([44.202.169.35]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokmH-0000000DL7q-3HBd for linux-rockchip@lists.infradead.org; Thu, 12 Sep 2024 14:26:35 +0000 Received: from eig-obgw-5009a.ext.cloudfilter.net ([10.0.29.176]) by cmsmtp with ESMTPS id og9rsvMzaiA19okm2sTqqi; Thu, 12 Sep 2024 14:26:18 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id oklzshg20n3BMokm1sDRLH; Thu, 12 Sep 2024 14:26:18 +0000 X-Authority-Analysis: v=2.4 cv=DY8RqOtW c=1 sm=1 tr=0 ts=66e2fa0a a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=EaEq8P2WXUwA:10 a=-pn6D5nKLtMA:10 a=vU9dKmh3AAAA:8 a=jOwBCQwwsqbqoLW4yoUA:9 a=j__mt3AifRkrCLMinO4U:22 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=RyxZ7dJEpL0KSF3krujUDmOJrfvECrlisXCbyNhBHAg=; b=UBSs2qF33ZqudvUjR87fx1fzSF 1C57TQe1LSZYs9f1XRLo7AE8TbJbtOzNYKYoMsKP6mE+rEyjHQ2flGy5Sa1qJTXZF4SOY7sItLFSx 6WFp3f5ZrJM/tjc3lAAyl88NCndlYTQ6k4OPMqXzsZA+eqRAz40YymcjYoHNYkEOXu/TR6tAxT0lH pIPV+EEdbQ25H1cyxabxgKaGWfZMG9ibLlnKup2J/Y6cM449w8S3jjJNIWm5QsMo5rLcKVZbVceim iVkMPx493It0qWQ7SUBGNS6ehcg7Ea55IWwKbJJYla6gSW1Hv1D0K4aOyS1C2vvRglHS4RG9N8bkZ BNLdtNyw==; Received: from [122.165.245.213] (port=41006 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sokly-003n4z-0c; Thu, 12 Sep 2024 19:56:14 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH v3 2/6] ARM: dts: rockchip: Add watchdog node for RV1126 Date: Thu, 12 Sep 2024 19:54:47 +0530 Message-Id: <20240912142451.2952633-3-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912142451.2952633-1-karthikeyan@linumiz.com> References: <20240912142451.2952633-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1sokly-003n4z-0c X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:41006 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 26 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfA7NMWRSCVG4PJ1pycY2Pwgqj8HJDEI5XuxRVRdNGaX2p5WdyJpkPpxwUSUKLCXMY3AJ8pihd6kZszZ49E5STt5KCEiHteyPPoUaDdKj2G9LFkLepxtL s597C4w2TVR60KpGKlu7fKBYFGpqcx489YfActAugoauNVpJ8QV77+SHaF27bUNyoY2+k+UD9sA8kyp9jjq3cEBT2USUS4FPtlogHu1pvb6H5bOXMkK/m/fG X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_072633_921002_93D9C18D X-CRM114-Status: UNSURE ( 5.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add watchdog node for Rockchip RV1126 Signed-off-by: Karthikeyan Krishnasamy --- Notes: v3: - add watchdog compatible string v2: - no change arch/arm/boot/dts/rockchip/rv1126.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index abf442804d27..22a22bcad04b 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -544,6 +544,14 @@ timer0: timer@ff660000 { clock-names = "pclk", "timer"; }; + wdt: watchdog@ff680000 { + compatible = "rockchip,rv1126-wdt", "snps,dw-wdt"; + reg = <0xff680000 0x100>; + interrupts = ; + clocks = <&cru PCLK_WDT>; + status = "disabled"; + }; + i2s0: i2s@ff800000 { compatible = "rockchip,rv1126-i2s-tdm"; reg = <0xff800000 0x1000>; From patchwork Thu Sep 12 14:24:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13802205 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 7BADCEED60F for ; Thu, 12 Sep 2024 14:32:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=1mU0YXHu+TUgrbUQlEhb5a7FKaXwgX6/5paMnhlzXc8=; b=cEV5FEeFrN07ag FOkAspA6cEb5RLs8glbp5JWTYF8RM3kf10Bpxrn5tob0NaXnAYfTlydPJgwVQdDE2Qs2pfpQg92eS 0wspR8GTgKPixa7GofxQpCIIkt5AxYWcN+R5LDo0vRPfjEb6JVqkzxcBmMFqDOsi51dL/8FENCORL LcW2eAOAWJDu9bVoATkf3uFCLDTD0n/2yy5E75uBg1cfeqN64a0WVDlG4G5MxVsXCx5RXTmAShlKm e7MpOPzRykkuPUO3X0tmddOc0tvPE7Z60MFAIi5jJabYeDWJLxKHXbodMlCENbP5qVXsVRzzDnqch 4ZQx03Nhj1k3PbxrSlZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokrx-0000000DMV4-2QvK; Thu, 12 Sep 2024 14:32:25 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soknv-0000000DLea-2zpl for linux-rockchip@bombadil.infradead.org; Thu, 12 Sep 2024 14:28:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=zkCBkCBKc4ANemT3MV9ght0illnAODmYjMPaR9PDusI=; b=mR/exfaie06pOeu28JP1cCwpdD rA7aa6XdP2kdgDqnl/B4I7glYOHzPS4nxPsVCHj+f7mio9fPW/nJQfbfxmly0/zF1BsDjtrUy6ge+ QaLGcYUy85RLRG5hWm3SPEzqcSiZOBW8PTmXQybSJMky+Pl3iRw4mUXAWIuKgTWZ4yv9ZyiRNGX8P Gdy+NAPCQZVkICnr2q2fuzyN8YJOzbYmRa/XDTdz9/v94f6mW9LehweqX6zFuEekH/pdjpR050sPe wPzXfbCOXMF9dqGMEEDiouc4A48ze1v0xp6OiFYWKAcbj51CcjcDoRJZ34t7NWSOfSFYQ5NetyGzS mL/hXDhQ==; Received: from omta34.uswest2.a.cloudfilter.net ([35.89.44.33]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sokns-00000000Ujy-2hV9 for linux-rockchip@lists.infradead.org; Thu, 12 Sep 2024 14:28:14 +0000 Received: from eig-obgw-5002a.ext.cloudfilter.net ([10.0.29.215]) by cmsmtp with ESMTPS id oZ7ssd5PpVpzpokm4sz9wH; Thu, 12 Sep 2024 14:26:20 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id okm1sJhBjeieBokm3s8cuK; Thu, 12 Sep 2024 14:26:20 +0000 X-Authority-Analysis: v=2.4 cv=BoBWwpX5 c=1 sm=1 tr=0 ts=66e2fa0c a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=EaEq8P2WXUwA:10 a=-pn6D5nKLtMA:10 a=XYAwZIGsAAAA:8 a=vU9dKmh3AAAA:8 a=lGF4n8RSI6dAxPqq6YkA:9 a=E8ToXWR_bxluHZ7gmE-Z:22 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zkCBkCBKc4ANemT3MV9ght0illnAODmYjMPaR9PDusI=; b=Tvz3qPHyMLjsC4QDS4Y6cmKPTe tPXB6K3P8VGoElDjr9KisIZB3VFurvsDHzBX5rRhKUBFhOc+pDRquzsYSZcE0WhFTFJnniAh9rtcv RwOXF+edzDqCWY9msE1ezhZO7AzKeB6L+yLzQPlIp/x57w4qyw2rdYHies5oxh8Av9iYpl0HJwRei e6ZnxtKvuJoNCPOWkKrgwlA7gXdIkuGOBtlGnrHldFkSGseMM4gWMDOk/dbHmdKj3KIPJ1gOmnSWG DD98jzA+QLvszX9qUuoKAvGILiNUywTw2JA0cdhGlVDEVXuJAd5siVgLcTUoSfAfZFP13xyb2ppTT 5bl2w3xg==; Received: from [122.165.245.213] (port=41006 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sokm0-003n4z-0E; Thu, 12 Sep 2024 19:56:16 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy , Conor Dooley Subject: [PATCH v3 3/6] dt-bindings: rtc: microcrystal,rv3028: add #clock-cells property Date: Thu, 12 Sep 2024 19:54:48 +0530 Message-Id: <20240912142451.2952633-4-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912142451.2952633-1-karthikeyan@linumiz.com> References: <20240912142451.2952633-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1sokm0-003n4z-0E X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:41006 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 37 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfBOJlovhn4EMf4hylar1sVFeX9R18wO0VfWBNRgQ2gRhEkKWix5MVrIrNGaAjwcCTstPBnqB+s34hOkqkIonZALPqyoGDcEImt/b9ir8/ldn0NdaQt77 v6azwYblcRUbxDPiSizLBndlymCLcx3Hr1DVFejMzHdScgMDjkikCwR8Q/UZ12BraQlTA05RYcaCRGPXTtofCcFdKHs8Ukip2PiIMvdUYXzO1Eh9jFi17a5A X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_152813_010620_528A994B X-CRM114-Status: UNSURE ( 3.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org RV3028 RTC has a clock out features, the clk out can be controlled using clkout register, to consume the clock out from rv3028 '#clock-cells' property is added. Acked-by: Conor Dooley Signed-off-by: Karthikeyan Krishnasamy Acked-by: Alexandre Belloni --- Notes: v3: - fix commit message v2: - fix commit message subject Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml index 5ade5dfad048..cda8ad7c1203 100644 --- a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml +++ b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml @@ -22,6 +22,9 @@ properties: interrupts: maxItems: 1 + "#clock-cells": + const: 0 + trickle-resistor-ohms: enum: - 3000 From patchwork Thu Sep 12 14:24:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13802206 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 5889AEED60A for ; Thu, 12 Sep 2024 14:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=YUsZuasEc2Nxk2RGT4veLN5xr0wIUDIw9QilDOOpmyg=; b=2AbwyufRMhvi2e KdBajcRNFeJWBDtFLyzRJqIZtOcn/OuZc5btLKE/26ei1HPCViY98AF1SgnlELvZIPz34jAfsqCDe q9eSSM8GUZ1ZNrGJ8gqgmoJqSLvIPim7P5GPm/Ac+c4PwL1DHejGSMXd9eN6C++/8o3lSpFX3ngBF hvlNHXYOxODcpFvqPKY9PrLaFHEYFSf6v25GSkvs5QHeus9HDuv8u8uag1098EGMKxPZKLhHIgCNO M2Z9IpVgcQlk4bQ7ueqiqB/LhTK/eajJgFys/rjBljUJQe+ALPevTomD8ppQWpJHWiFSQfmfuoAn0 BTfarnBXYqRZCK/9JkSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokrx-0000000DMVM-401l; Thu, 12 Sep 2024 14:32:25 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soknv-0000000DLec-3NH1 for linux-rockchip@bombadil.infradead.org; Thu, 12 Sep 2024 14:28:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=m9JhFxEGybsTyKIPNyycazgqxL6/YVIhfiGyOVKOb+4=; b=EqsIge1qdiPaXhTsKdzwUrCP59 crSC5nJpVal4VpH95myRp4NiVuGi9D/WpW3+n3yJ+eqNqaO51SjkhhCzIcQD/80fUhbOw8O6DmOcL JfWC+TDmkUL+MKstOmaa+n2NU4EMw6a4QVN24F4Gi7/XoajFryO6dTBXJtbX/kvG2K2yjb5wYH/qU LiyKySdn9QEjkBbMDC44vn/fa3f/bcK0ndRadZOtz9s9uwoTPdV1JjCMolgLoD7Xazk0fGqIn+hL0 ZdL/Jqj/g5f4ntkMRSD5dBm5TNLo2TMxMRSyndUOpaKE4p0iQ9kl7linyvGuk4JQqpOsAPY/LDC8Z Br7akDdA==; Received: from omta034.useast.a.cloudfilter.net ([44.202.169.33]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sokns-00000000UkF-2e7v for linux-rockchip@lists.infradead.org; Thu, 12 Sep 2024 14:28:14 +0000 Received: from eig-obgw-5002a.ext.cloudfilter.net ([10.0.29.215]) by cmsmtp with ESMTPS id ogjgs4ouS1zuHokm6spDnp; Thu, 12 Sep 2024 14:26:22 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id okm3sJhEBeieBokm5s8cw9; Thu, 12 Sep 2024 14:26:21 +0000 X-Authority-Analysis: v=2.4 cv=BoBWwpX5 c=1 sm=1 tr=0 ts=66e2fa0e a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=EaEq8P2WXUwA:10 a=-pn6D5nKLtMA:10 a=ARcrkP6DAAAA:8 a=XYAwZIGsAAAA:8 a=vU9dKmh3AAAA:8 a=L4MHaItcyTsGJ2lxC4sA:9 a=HWcd8CIpyGgXnveeQW_Z:22 a=E8ToXWR_bxluHZ7gmE-Z:22 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=m9JhFxEGybsTyKIPNyycazgqxL6/YVIhfiGyOVKOb+4=; b=maNASzBIfdxdX2EKB1ta9ZLmri 5zSPT/B9C+QgusyYzKnDVSgMsF2aON3RoTG8x+Zfdfjm5Z0w7R+XL0Nki6zUfodW45NTACXUvNFHo +7swklYVFPezs7YIoPYQRvESyZwbXUMlBwJUFWZ0zeMRNYYF7jsVRnKfSVLQPTM6GIki2KyBPtjZX mT0aGzKLI86wnciZhzghrRymI30KLY9h32ThldOrZnVJSHCgjN0fY3/jhz6Crn1dM9HGCqSwNrjtc eRvIIYujfsNDvsD+yNVBjOvKrNaDba25AzP3wAMJXobDNaD4hKFaxEaykKFFyyVGXQh/hdd6cDypy yQkGp7fQ==; Received: from [122.165.245.213] (port=41006 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sokm1-003n4z-35; Thu, 12 Sep 2024 19:56:18 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy , Conor Dooley Subject: [PATCH v3 4/6] dt-bindings: vendor-prefixes: Add Relfor labs Date: Thu, 12 Sep 2024 19:54:49 +0530 Message-Id: <20240912142451.2952633-5-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912142451.2952633-1-karthikeyan@linumiz.com> References: <20240912142451.2952633-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1sokm1-003n4z-35 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:41006 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 48 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfJl4f6K10DMm3LnAVKjErm0lFtq7DlH2S5qL/yTav8K2jVdF5gI13MkSiDPiblLi4AiKiP1TrM14S9o2RQvrkKsRrs4SBj3DcEDKbbF66lqdrykVH7xR kInkx54r9alln3Xs7jB/+S/Kdo2Mfe9SpUowSw+boiByBylXwEDkP13agZZh10oELTkNVTDxIQE9l2JFuOSl2mFJryiUr7xqvgulBjPwo93xemG5p9DoXcwy X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_152812_864965_1CA6CE91 X-CRM114-Status: UNSURE ( 4.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add Relfor Labs Pvt. Ltd. vendor prefixes https://www.relfor.com/ Acked-by: Conor Dooley Signed-off-by: Karthikeyan Krishnasamy --- Notes: v3: - no change v2: - no change Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index a70ce43b3dc0..7d10ac7d6800 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1220,6 +1220,8 @@ patternProperties: description: Unisoc Communications, Inc. "^realtek,.*": description: Realtek Semiconductor Corp. + "^relfor,.*": + description: Relfor Labs Pvt. Ltd. "^remarkable,.*": description: reMarkable AS "^renesas,.*": From patchwork Thu Sep 12 14:24:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13802207 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 53296EED60D for ; Thu, 12 Sep 2024 14:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=82H4ltRAR6vV1S1NL1B3gQDPs48pS9xPLQw2BOXazS0=; b=AvGzqBeaVsiEM9 Nx2zhR2/nUTEfHZuzEYzOHOIDwlbIGjDfuTjV5yNRY3I5o6EccruESmhX7g6buQfpvVBHIK8kGcZ8 6tHq92LlFDAD6W8nTrxeuuwVwVsMNPgxfgVRSz82Toc/PQcD72c7YMCjZrt4Qx3UgT1qXAaaQeUhG EVkWJ2G7Ms7rKRC6eAuAdXHUogUr1poo5E5hl5UlrUo9EfIXHB0mkP3mvhuW7wSjsocZ6aw+y4N/w XsRFR2wAw2wjQiRBtAiDYG8nblITJrNfeBuKEaARe9xmDRKITVv3eV9HMMGCW4xKKm+G+dG46zSng fv2j2Qy9UwZY6FfFoyeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soks9-0000000DMZe-47d4; Thu, 12 Sep 2024 14:32:38 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokqE-0000000DM8m-3lYk for linux-rockchip@bombadil.infradead.org; Thu, 12 Sep 2024 14:30:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=q3nSf+jGddQX3+uTVKIG1Xgr4itWK8uPrGRSisvTDwU=; b=Q9laMKj6Qm/67YPALrnY8y8p3s CVgYP5qoD8PCx/4D8CMOcQBxJqA1c9i79MMLMTAzJ8eESk1YHIBiYs3SNtXEy19kt8pnzmNbQQotf 8GHDwV0IL3RRgEACl84bxy5KiLDN3glVHV/qwJT8/TafqKE3+32gAUUmHuT9KNTFGpysXt+IdZZ6n kSAhUSVKHRY/E7p4ON/yaOnkfFeAbiVto/IFeRildIx6WrWpErYDHZ5VtBMeMAxv+hZxog2MHW9vq 9hGw2uQExllqx8V3qvUfTpfqksCCUJqYjTEWFR7vJ5yHPq6NK6nnU7OhcOkKXmGFCAltUb74wVFYS /fMHOEgg==; Received: from omta36.uswest2.a.cloudfilter.net ([35.89.44.35]) by casper.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sokqA-00000008iAH-3h3c for linux-rockchip@lists.infradead.org; Thu, 12 Sep 2024 14:30:37 +0000 Received: from eig-obgw-6006a.ext.cloudfilter.net ([10.0.30.182]) by cmsmtp with ESMTPS id ok7RsYN9kqvuookm8sRbhD; Thu, 12 Sep 2024 14:26:24 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id okm5swSaii3Rgokm7s6zoD; Thu, 12 Sep 2024 14:26:23 +0000 X-Authority-Analysis: v=2.4 cv=WootM8fv c=1 sm=1 tr=0 ts=66e2fa0f a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=EaEq8P2WXUwA:10 a=-pn6D5nKLtMA:10 a=VwQbUJbxAAAA:8 a=vU9dKmh3AAAA:8 a=7OYjvGxe6aps89qF7tkA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=q3nSf+jGddQX3+uTVKIG1Xgr4itWK8uPrGRSisvTDwU=; b=iNrPafFIoD65zmFiipdpwCkAx0 lirSOPNcyCcAP8W4t4IrFzwFTCLI+mzx0Dq+4zJ9kFNBzAJ4/VycyKvazzEuPqEo1pRjtNHrbKp0o RWbp3UwvVzszBP09uB+8YaALFDPb82dYXCJTIaTBAB9BytRAgaNx9YdWjQVrH8/M7LOotkJgNu86D jr2r4zmBBcoz0xqCwHUzfUg8hzV6fh5RTxIfXrKAB+uCqYb3WvwnFm5ZoW7L4tqZ/eq5N1xiAbWyv A8MMAW512hBYd3KPDOOMDwgU0nQL9aemdTXkxpc1oiURd/rGTSVZt2r1w9SMQIEFvBZLEOn5tCzg2 VgaTjbjQ==; Received: from [122.165.245.213] (port=41006 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sokm3-003n4z-1r; Thu, 12 Sep 2024 19:56:19 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH v3 5/6] dt-bindings: arm: rockchip: Add Relfor Saib Date: Thu, 12 Sep 2024 19:54:50 +0530 Message-Id: <20240912142451.2952633-6-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912142451.2952633-1-karthikeyan@linumiz.com> References: <20240912142451.2952633-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1sokm3-003n4z-1r X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:41006 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 58 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfOA2ao/QLJgSYUuG2k6ZXS1SfUqbOEeMmIW3kX9BpruP272Q9quhD8qDocz/Xw2tA7Nou+ZvPoWBHZALi6jh6vQCHn0qlPMpKjmMIt2zs6XEP2UoTjKc 1JaCsNp5SyI3O+EalS+YiI8IjfhpdtvV3YlgAciOBRBHiG4KHk3BgMjudjkImWg5mep0KEX7HQprmT65cNKZIAVeW9L9KWKjc1kzGSpvDuS8xUZHvnNlz/qi X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_153035_113710_3E3FF8BD X-CRM114-Status: UNSURE ( 5.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add devicetree binding for the Relfor saib board which is based on Rockchip RV1109 Acked-by: Rob Herring (Arm) Signed-off-by: Karthikeyan Krishnasamy --- Notes: v3: - no change v2: - fix wrong usage of SoC enum Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 1ef09fbfdfaf..ae5e0104612e 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -848,6 +848,11 @@ properties: - radxa,zero-3w - const: rockchip,rk3566 + - description: Relfor SAIB board + items: + - const: relfor,saib + - const: rockchip,rv1109 + - description: Rikomagic MK808 v1 items: - const: rikomagic,mk808 From patchwork Thu Sep 12 14:24:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: karthikeyan X-Patchwork-Id: 13802204 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 B5EF5EED60A for ; Thu, 12 Sep 2024 14:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=QbT1F8e/rjrHlg/8uc9BxDc7oOiN87mpPbjuHWYZcSk=; b=cZuBcTifjSFtga CX2gNWtZN1thx7TrB6NvLqHUQcDlnj7jFK270L9ruYHMwffuWGSTzOPY6WTI1AiYrfH7eG/KpM8+1 mz806zgVrl+V10m5hF29SjNCIiHCFBVf1cEH75CeLX0T/iTdCQ27NWk/ZKDdtoQU9v8pxjv803Kwt ERrQ4t9VZCxslhttV0k3nZvdmcR/bTO37S9k8PXR7ZcjoOfeYV3TH1xRXsVEf18GhIHZKYMnbNeRI rEVd6PZpY/BmTtSVChZUuYu47g3SDo04gfrI7Paw643+kgDWCjZYZauxu4RcavAMcWfzTwrxbW7S6 /gbwIMJC9GFuvtZD6Yjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokrn-0000000DMSU-0ZVC; Thu, 12 Sep 2024 14:32:15 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soknv-0000000DLeV-0dkP for linux-rockchip@bombadil.infradead.org; Thu, 12 Sep 2024 14:28:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=I88Cfjzdme7FAFSLbyWAXyA3YYoq4ffeVCbtr93i2EM=; b=NyJVfQCY/jP8Do5fZLVv6zC4qV WacR554hD98LK0e+WMYWvzR4W25vP1htXIIFM0KWOKKuKVgTKcDdjTg59ZcYysKTpZ5i4Jc/Z5tS7 qdoQi+yk1oxemyIRMps4IlX7kFCrah3c2dnv8sBsx2OID4cTeri6R5cqWh2zC3UAjNjXrPa5MGyqa x6urYEek5eIOzEhQrwHtjzXZOR37icNjkoAdg3B35U9Yn8wJbsx2A0O7GRjHHQZNwHwK9iV8OyE4A /vzLTEhOZOx5JyC8wH+r4aZ4J1OQahat/PGOF1yco++sLUtc41tmlzsIhmAjWuSkdb1YCOVYmXohN FffqgeAQ==; Received: from omta034.useast.a.cloudfilter.net ([44.202.169.33]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1soknr-00000000UkM-1zF7 for linux-rockchip@lists.infradead.org; Thu, 12 Sep 2024 14:28:14 +0000 Received: from eig-obgw-6009a.ext.cloudfilter.net ([10.0.30.184]) by cmsmtp with ESMTPS id oUdBs2ZA61zuHokmAspDpv; Thu, 12 Sep 2024 14:26:26 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id okm7sWOG4P7Vfokm8ssaCH; Thu, 12 Sep 2024 14:26:25 +0000 X-Authority-Analysis: v=2.4 cv=XpL8O0F9 c=1 sm=1 tr=0 ts=66e2fa11 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=EaEq8P2WXUwA:10 a=-pn6D5nKLtMA:10 a=vU9dKmh3AAAA:8 a=xgDJ2ItN4DbTUy_rRyQA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=I88Cfjzdme7FAFSLbyWAXyA3YYoq4ffeVCbtr93i2EM=; b=VXuxiNxKt02vunwxmfAhkXP9Jm agl8tnz26KJljeLKVS853x04eJHd8Hq28xkOpTFyIeB5asg3ZYBJjA102VAmj9Q+It7BwnnHMJiqK pcSX1WsyFE8ab4QSqRKQG93HIzDApEheoeKXP/x/yqSGz3Png5zKldN+AXrzL+yky1N26IQSRKWjX ty3DdCt8Q47d+EqjLATvpIXLfzhVmWFyROGJPlnskTn5h/o+3fpH++QSumnNdA+HY4mOwsECc0wvw GKZfcBzn8Zma/VicTq2ljaYwpIYlLssDkYKGdniF174UygRVf07fKyVva4lLGiTu1PhWdvEf3J82T we6D31Uw==; Received: from [122.165.245.213] (port=41006 helo=localhost.localdomain) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sokm5-003n4z-14; Thu, 12 Sep 2024 19:56:21 +0530 From: Karthikeyan Krishnasamy To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, alexandre.belloni@bootlin.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Karthikeyan Krishnasamy Subject: [PATCH v3 6/6] ARM: dts: rockchip: Add Relfor Saib board Date: Thu, 12 Sep 2024 19:54:51 +0530 Message-Id: <20240912142451.2952633-7-karthikeyan@linumiz.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912142451.2952633-1-karthikeyan@linumiz.com> References: <20240912142451.2952633-1-karthikeyan@linumiz.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1sokm5-003n4z-14 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [122.165.245.213]:41006 X-Source-Auth: karthikeyan@linumiz.com X-Email-Count: 68 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfF0jgQwvScS5rh4H5fCGi43RUxa/hI09d09jEyv7aph2/5+BIdsxRmRBVSJGTiKfEe+wRR15hGBHgMKc94oi15NR0lJFKdsb2yCUs3ehWSV0VMmKqhm6 PUJRUUyfnqmWv1/BJsm4r22ALP318uYltV1rCgCvRdLPHCxWMYqtrtEURzIFkgzX+bXLPE1Meubiv3SJQXroDnjIU3TrEL3GWCX3n1PAND3LtxNkG5E7XXsn X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_152811_922553_514FF30B X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Saib is an consumer electronics board from Relfor labs Features: - Rockchip RV1109 - 1GB DDR4 - 4GB eMMC - Realtek RTL8821CS Wi-Fi/BT - IR transmitter/receiver - RV3028 RTC - Switch - User leds Add support for it. Signed-off-by: Karthikeyan Krishnasamy --- Notes: v3: - sort nodes in aplhabetical order v2: - Drop status=okay in new nodes arch/arm/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rv1109-relfor-saib.dts | 422 ++++++++++++++++++ 2 files changed, 423 insertions(+) create mode 100644 arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts diff --git a/arch/arm/boot/dts/rockchip/Makefile b/arch/arm/boot/dts/rockchip/Makefile index ab4cd9aab722..716f5540e438 100644 --- a/arch/arm/boot/dts/rockchip/Makefile +++ b/arch/arm/boot/dts/rockchip/Makefile @@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb \ + rv1109-relfor-saib.dtb \ rv1109-sonoff-ihost.dtb \ rv1126-edgeble-neu2-io.dtb \ rv1126-sonoff-ihost.dtb \ diff --git a/arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts b/arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts new file mode 100644 index 000000000000..a63356ade3b7 --- /dev/null +++ b/arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts @@ -0,0 +1,422 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Relfor Labs Pvt. Ltd. + */ + + +/dts-v1/; +#include "rv1109.dtsi" +#include +#include + +/ { + model = "Rockchip RV1109 Relfor Saib Board"; + compatible = "relfor,saib", "rockchip,rv1109"; + + gpio-keys { + compatible = "gpio-keys"; + + button { + gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>; + linux,code = ; + label = "GPIO User Switch"; + linux,input-type = <1>; + }; + }; + + ir_receiver: ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ir_rx>; + }; + + ir_transmitter: ir-transmitter { + compatible = "pwm-ir-tx"; + pwms = <&pwm11 0 10000000 1>; + }; + + led-controller { + compatible = "pwm-leds-multicolor"; + + multi-led { + color = ; + function = LED_FUNCTION_INDICATOR; + max-brightness = <65535>; + + led-0 { + active-low; + color = ; + pwms = <&pwm9 0 50000 0>; + }; + + led-1 { + active-low; + color = ; + pwms = <&pwm6 0 50000 0>; + }; + + led-2 { + active-low; + color = ; + pwms = <&pwm10 0 50000 0>; + }; + }; + }; + + pwm-leds { + compatible = "pwm-leds"; + + led-0 { + pwms = <&pwm2 0 50000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + }; + + led-1 { + pwms = <&pwm8 0 50000 0>; + max-brightness = <0>; + linux,default-trigger = "none"; + }; + + led-2 { + pwms = <&pwm5 0 50000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + }; + }; + + sdio_pwrseq: pwrseq-sdio { + compatible = "mmc-pwrseq-simple"; + clocks = <&rtc0>; + clock-names = "ext_clock"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable_h>; + reset-gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>; + }; + + thermal_sensor1: thermal-sensor1 { + compatible = "generic-adc-thermal"; + #thermal-sensor-cells = <0>; + io-channels = <&saradc 1>; + io-channel-names = "sensor-channel"; + temperature-lookup-table = <(-40000) 826 + 85000 609>; + }; + + thermal_sensor2: thermal-sensor2 { + compatible = "generic-adc-thermal"; + #thermal-sensor-cells = <0>; + io-channels = <&saradc 2>; + io-channel-names = "sensor-channel"; + temperature-lookup-table = <(-40000) 826 + 85000 609>; + }; + + vcc_0v8: vcc-0v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc_0v8"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-always-on; + regulator-boot-on; + startup-delay-us = <150>; + vin-supply = <&vcc5v0_sys>; + }; + + vcc_1v2_ddr: vcc-1v2-ddr { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v2_ddr"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + regulator-boot-on; + startup-delay-us = <75000>; + vin-supply = <&vcc5v0_sys>; + }; + + vcc_1v8: vcc-1v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + startup-delay-us = <51000>; + vin-supply = <&vcc5v0_sys>; + }; + + vcc1v8_ir: vcc1v8-ir { + compatible = "regulator-fixed"; + regulator-name = "vcc1v8_ir"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + }; + + vcc_2v5_ddr: vcc-2v5-ddr { + compatible = "regulator-fixed"; + regulator-name = "vcc_2v5_ddr"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc3v3_sys>; + }; + + vcc3v3_sys: vcc3v3-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3_sys"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + startup-delay-us = <75000>; + vin-supply = <&vcc5v0_sys>; + }; + + vcc5v0_sys: vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; + + vdd_arm: vdd-arm { + compatible = "pwm-regulator"; + pwms = <&pwm0 0 5000 1>; + regulator-name = "vdd_arm"; + regulator-min-microvolt = <720000>; + regulator-max-microvolt = <1000000>; + regulator-settling-time-up-us = <18000>; + regulator-always-on; + regulator-boot-on; + pwm-supply = <&vcc3v3_sys>; + vin-supply = <&vcc5v0_sys>; + }; + + vdd_npu_vepu: vdd-npu-vepu { + compatible = "pwm-regulator"; + pwms = <&pwm1 0 5000 1>; + regulator-name = "vdd_npu_vepu"; + regulator-min-microvolt = <650000>; + regulator-max-microvolt = <950000>; + regulator-settling-time-up-us = <18000>; + regulator-always-on; + regulator-boot-on; + pwm-supply = <&vcc3v3_sys>; + vin-supply = <&vcc5v0_sys>; + }; +}; + +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + +&cpu1 { + cpu-supply = <&vdd_arm>; +}; + +&emmc { + bus-width = <8>; + non-removable; + pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk>; + pinctrl-names = "default"; + rockchip,default-sample-phase = <90>; + vmmc-supply = <&vcc3v3_sys>; + status = "okay"; +}; + +&i2c3 { + pinctrl-0 = <&i2c3m2_xfer>; + pinctrl-names = "default"; + status = "okay"; + + rtc0: rtc@52 { + compatible = "microcrystal,rv3028"; + reg = <0x52>; + #clock-cells = <0>; + interrupt-parent = <&gpio2>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + pinctrl-0 = <&rtc_int>; + pinctrl-names = "default"; + }; +}; + +&i2s0 { + /delete-property/ pinctrl-0; + rockchip,trcm-sync-rx-only; + pinctrl-0 = <&i2s0m0_sclk_rx>, + <&i2s0m0_lrck_rx>, + <&i2s0m0_sdi0>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pinctrl { + bluetooth-pins { + bt_reset: bt-reset { + rockchip,pins = + <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + bt_wake_dev: bt-wake-dev { + rockchip,pins = + <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + bt_wake_host: bt-wake-host { + rockchip,pins = + <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_down>; + }; + }; + + buttons { + switch: switch { + rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + ir { + ir_rx: ir-rx { + rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + pwm { + pwm0m0_pins_pull_up: pwm0m0-pins-pull-up { + rockchip,pins = + /* pwm0_pin_m0 */ + <0 RK_PB6 3 &pcfg_pull_up>; + }; + pwm1m0_pins_pull_up: pwm1m0-pins-pull-up { + rockchip,pins = + /* pwm1_pin_m0 */ + <0 RK_PB7 3 &pcfg_pull_up>; + }; + }; + + rtc { + rtc_int: rtc-int { + rockchip,pins = <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + sdio-pwrseq { + wifi_enable_h: wifi-enable-h { + rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&pmu_io_domains { + pmuio0-supply = <&vcc3v3_sys>; + pmuio1-supply = <&vcc3v3_sys>; + vccio4-supply = <&vcc3v3_sys>; + vccio5-supply = <&vcc3v3_sys>; + vccio6-supply = <&vcc3v3_sys>; + vccio7-supply = <&vcc3v3_sys>; + status = "okay"; +}; + +&pwm0 { + /delete-property/ pinctrl-0; + pinctrl-0 = <&pwm0m0_pins_pull_up>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm1 { + /delete-property/ pinctrl-0; + pinctrl-0 = <&pwm1m0_pins_pull_up>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm2 { + /delete-property/ pinctrl-0; + pinctrl-0 = <&pwm2m1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm5 { + pinctrl-0 = <&pwm5m0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm6 { + pinctrl-0 = <&pwm6m0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm8 { + pinctrl-0 = <&pwm8m1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm9 { + pinctrl-0 = <&pwm9m1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm10 { + pinctrl-0 = <&pwm10m1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm11 { + /delete-property/ pinctrl-0; + pinctrl-0 = <&pwm11m1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&saradc { + vref-supply = <&vcc_1v8>; + status = "okay"; +}; + +&sdio { + bus-width = <4>; + cap-sd-highspeed; + cap-sdio-irq; + max-frequency = <100000000>; + mmc-pwrseq = <&sdio_pwrseq>; + no-mmc; + no-sd; + non-removable; + pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>; + pinctrl-names = "default"; + sd-uhs-sdr104; + vmmc-supply = <&vcc3v3_sys>; + status = "okay"; +}; + +&uart0 { + pinctrl-0 = <&uart0_xfer &uart0_ctsn &uart0_rtsn>; + pinctrl-names = "default"; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + device-wake-gpios = <&gpio1 RK_PC5 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; + host-wake-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&bt_reset>, <&bt_wake_dev>, <&bt_wake_host>; + pinctrl-names = "default"; + }; +}; + +&uart2 { + pinctrl-0 = <&uart2m1_xfer>; + pinctrl-names = "default"; + status = "okay"; +};