Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1314524rwd; Wed, 7 Jun 2023 14:27:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7tZyYH0m8GXNyEilK/CqR/3t5I/qPQ1piWW3ktNprPRc5aCWk34tEgf+NdpZt84GD/NTFG X-Received: by 2002:a05:6a20:5496:b0:10c:1b38:c89d with SMTP id i22-20020a056a20549600b0010c1b38c89dmr2787516pzk.2.1686173239660; Wed, 07 Jun 2023 14:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686173239; cv=none; d=google.com; s=arc-20160816; b=iKJxzWlWUFhuJmeJk/jWa3t1gMLSSqLlkO7zlJ0d/ktAd31Z1m3QoR33tV4amyJ+SO 2civazMxhETKVUFjki+lvGlo9AFYWQheYVWfAIaYkxRX8bUO5DGln2HU9jpEZe+TuLl9 9bD9IoaeDqLwIVXQYAH6d7mTJAzByuKKBiVS8plMYR7pcP4gkF7SK/RWbhj0W5d0xVfK X9Nl44HJIL4xZll00OOj0yS0C/u5XEix5PEcXB5e2PZMWAOhwGJf2XW5PuzoCKNgOQ3w JH0T+GeQ35fuEy0KQ2dVHj/zAqJmmMZL3eOSDCL1ewCQ/+afmaWc3ya3v3jBAnFJRBLX YjUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UTZcZ6SqBjR1YEd2msrtjkp6jUwOSc8GxBbCJ0Tz6Xk=; b=DkYB9ntM8envmkczdMCyQbYivInV5oNoE3hLfW8synjOkgJVPaibSwtKWYTtItPxUe fE/7nQRIfksmRt3fuSQgoI1sT+WOqf1Ynw3BbzsrpupM5sHTUEXEvOSS5ft5S3kN0tYR QazNUeQKk4Jt+sob6D/qtTbCiVS8Lv2B6zViXt8ww/5X4mMcRJU5I4NrlrirW+slul5b E5FzFAHHkeehR/yWwVhsmSRO1BlhHlYDyuhSCB3dWCkMA2x3PFtEXyJvWtwnMpN2UjZc LFkdzae4uApTOOkwW7mbaOoFgU6OL9VX+XtA6adAFGlULp4+LXXT1dngUaitqUsws+XY U6og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=f+vaPMXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c194-20020a6335cb000000b0050f9b910fa1si9410837pga.368.2023.06.07.14.27.07; Wed, 07 Jun 2023 14:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=f+vaPMXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232152AbjFGUQ7 (ORCPT + 99 others); Wed, 7 Jun 2023 16:16:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjFGUQ5 (ORCPT ); Wed, 7 Jun 2023 16:16:57 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6D3C1FC8; Wed, 7 Jun 2023 13:16:54 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 1B3FA5FD70; Wed, 7 Jun 2023 23:16:53 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1686169013; bh=UTZcZ6SqBjR1YEd2msrtjkp6jUwOSc8GxBbCJ0Tz6Xk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=f+vaPMXGOJFDqj1KS3+wyVqC1kzG+ieLA8Dm/owf1lIlUeXjJT7/ImErFX/5E4XsQ LfvCGkqX3tgmD7Qp1YUTe8X/+Ie1Y1olNBCheCisMt71yJxI10I+CDkOqhpG20Iwpb ANmZxAaCA8Fxi+nvnSxsSAo+MxzY9k3cJoCSe+CBaZ7nrcNIbKGdQvCC8lxItjSKtF ALQ1iu6+tdAyLmh0pYpx33O+S7bBEy4UEnlw/DOmM5mK6AQoO793+9QUde5FbYL7Cp DTSpgFenmMhjy5PLrE2VUdsJJvKQek+0S3f6f+Qb/6bgvLqihDMUP9QZdpBaUHCiow O/NhnXkdGZLKA== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Wed, 7 Jun 2023 23:16:53 +0300 (MSK) From: Dmitry Rokosov To: , , , , , , , , CC: , , , , , , , , Alexey Romanov , Dmitry Rokosov Subject: [PATCH v1 3/6] arm64: dts: meson: a1: enable efuse controller and setup its clk Date: Wed, 7 Jun 2023 23:16:38 +0300 Message-ID: <20230607201641.20982-4-ddrokosov@sberdevices.ru> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20230607201641.20982-1-ddrokosov@sberdevices.ru> References: <20230607201641.20982-1-ddrokosov@sberdevices.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/06/07 16:55:00 #21454472 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexey Romanov EFUSE A1 controller uses CLKID_OTP clock and PWRC_OTP_ID power domain. Signed-off-by: Alexey Romanov Signed-off-by: Dmitry Rokosov --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index b2563c7d3842..63faccfc1134 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -44,6 +44,16 @@ l2: l2-cache0 { }; }; + efuse: efuse { + compatible = "amlogic,meson-gxbb-efuse"; + clocks = <&clkc_periphs CLKID_OTP>; + #address-cells = <1>; + #size-cells = <1>; + secure-monitor = <&sm>; + power-domains = <&pwrc PWRC_OTP_ID>; + status = "okay"; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; -- 2.36.0