Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2810323pxp; Mon, 14 Mar 2022 05:32:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6XZach7894ad38zbYyU1/CIoUCYOygfo05TUoCv1o/v/0dyYxJU+Tvn2nx/yBE6pI6v64 X-Received: by 2002:a17:906:c114:b0:6d8:cfd4:f746 with SMTP id do20-20020a170906c11400b006d8cfd4f746mr18477197ejc.538.1647261179075; Mon, 14 Mar 2022 05:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647261179; cv=none; d=google.com; s=arc-20160816; b=yVz2zaMvsidtS9drAzjin9haZgorRCi9VoiR6Q+kiERNVHq7pvYz283FqEjvT9XKcv Mc7q0IDhNvlNRtS8nO9gA3tlbLIWVNKrzDR1PmonCmz1m6kW/fb9X6WW87RotPA3x/75 jpwIrBmwh3Yfd/6s4NJcw4UO511c8OFXA92Pgug/+ysDYahZBsPZNWny36ax5rtKCCfy 6upwCAlkHciDPmM1gAgFgrfjV57gV9Xri+K0AZH1/q/MGDpr39TjNiI1ufUK0bHryydR slDYqm8WGMRxDgkn0/Ug9yYgfax4OxMjMmcofgAIs8rkZki0aKLFigTMv0JIUXnOOVRY PYIA== 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=6ED+3y9Uo8YjAaZ+tT2E38tEctlcxth+81kzQfm7swk=; b=dsisrTi6YdHq/xG9tiTd/Bo6LR5q4z51Eh9657r6jOP3PLH0Cw+aIaUMJwiq8iIbbE /qaUANAtfjtmyfn2e7nS+sjo7i9yVvfwuU66YaO3dd9lxX8ZsQO43ZCspMNedfUuF8ar VJ8DMTluymQ7/hv6fbPW3GK+DzJQmUbC/JEg6jQcpZ8ria2o5DLpNrK+rrplCQ4GflMK N4yNOrTYJ1C+0VdU3fhRPVcW3TOyrnNGqshnt3ejJ5u0pZ957xk4DhhS8pSjaGZ4gDXW uJ7piMOJU+SL9x1MZERUhU5BgtOPGm1w0dWcfr/1+SB9bZoUZuMC1ib+LiAxA8y0wmfe JFTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=GIqtL+kg; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb9-20020a0564020d0900b00418759129adsi2807374edb.344.2022.03.14.05.32.31; Mon, 14 Mar 2022 05:32:59 -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=fail header.i=@nbd.name header.s=20160729 header.b=GIqtL+kg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237700AbiCNIpj (ORCPT + 99 others); Mon, 14 Mar 2022 04:45:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbiCNIpi (ORCPT ); Mon, 14 Mar 2022 04:45:38 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E35B239810; Mon, 14 Mar 2022 01:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; 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=6ED+3y9Uo8YjAaZ+tT2E38tEctlcxth+81kzQfm7swk=; b=GIqtL+kgsQqRFZ1iZkPypCPzzG 73L7LIKXLcVGXze3I3K8hQiv0Q5QheguZ2mxFp1TeXGYA9IE0Bd6Q9KOZaSXoslpVH3O0pDiGTplT QQd1mGyu5tHv60m1FNrTLCFMmHfOB6EjFhsdOZrlJNv7aeqwQ++976mgQaHdgRucih/g=; Received: from p200300daa7204f006c015a90d6b6c4d6.dip0.t-ipconnect.de ([2003:da:a720:4f00:6c01:5a90:d6b6:c4d6] helo=Maecks.lan) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nTgJQ-0002UN-SX; Mon, 14 Mar 2022 09:44:20 +0100 From: Felix Fietkau To: soc@kernel.org, Rob Herring Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v10 3/6] ARM: dts: add clock support for Airoha EN7523 Date: Mon, 14 Mar 2022 09:44:05 +0100 Message-Id: <20220314084409.84394-4-nbd@nbd.name> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314084409.84394-1-nbd@nbd.name> References: <20220314084409.84394-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 This driver only registers fixed rate clocks, since the clocks are fully initialized by the boot loader and should not be changed later, according to Airoha. Signed-off-by: Felix Fietkau --- arch/arm/boot/dts/en7523.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/en7523.dtsi b/arch/arm/boot/dts/en7523.dtsi index 36597f587f46..2e705b87b6c1 100644 --- a/arch/arm/boot/dts/en7523.dtsi +++ b/arch/arm/boot/dts/en7523.dtsi @@ -3,6 +3,7 @@ #include #include #include +#include / { interrupt-parent = <&gic>; @@ -83,6 +84,13 @@ L2_0: l2-cache0 { }; }; + scu: system-controller@1fa20000 { + compatible = "airoha,en7523-scu"; + reg = <0x1fa20000 0x400>, + <0x1fb00000 0x1000>; + #clock-cells = <1>; + }; + gic: interrupt-controller@9000000 { compatible = "arm,gic-v3"; interrupt-controller; -- 2.35.1