Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3029672rwa; Mon, 22 Aug 2022 19:40:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR5/50n4YUv5MtTHkOzKsWwEiIxifxmCJzpZdw+eq4AXQaDRVdvk0OWCBy9dXtGoK5z88MuE X-Received: by 2002:a17:902:e80e:b0:16f:14ea:897b with SMTP id u14-20020a170902e80e00b0016f14ea897bmr22631674plg.6.1661222429927; Mon, 22 Aug 2022 19:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661222429; cv=none; d=google.com; s=arc-20160816; b=JOi1CWIMTbGPoUyyF4XM+uNXFUfVF79RrE4RjTcAnm2oydYPhpiu4Mp3kD8E0kpQlx DxCyh2d3PibJkZNr349kuE1zGp86PrGpIp5T9Nscd7hCsnVduHP4KgvujkJhzwxyJa0R w3cs5F63CG4rGwNC+0jkuBQWpxvEir3of1qbUgnROVLZiNDfkoBkPGXa6lQJFEkA6BV6 xZKY20WqqiX9ue0+/KcZ3zrpsHh4RiDZFHPUn9dZaGRgw20qEiRgsvGkWJJhSA6G3zkf uJl7rnbLLSDfLA2inVnJ3VOpBZJkkDl3g8aKvf2wrtV2dP4svKxzPbPcNfc68KGuRC8m tAMg== 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; bh=je6TyEzdxF4fOHq3SY8UEk8aytQigHFxcHwGtrTsu14=; b=gp3B4st9L5jFQzLxJy7YP/+uCS8lZDrVWRkrdupYBkBPSAyjtRCAYvXFHX3d7ayJk+ zzutZnGIfxWcy0IpyUaPsq3kyqlje3Bo4/hR3joBNmWPSh7VhGPtCFj31qlBRNSY8yQ8 cFGhGrJ74NQPSkjPKzD33mfoo/0pc6r74rwny4zA9m1Siy047/uxEnyvgwtECbMY/VwC FA2cl2uGisR7J3cFP+4djD7KK2miYLlgxeVVwJ0un1rbHlefWC/MsMxwkCXS2n1iTJHd hsAAIuDnOdeUIfgBC+52XY/5qjGJI9YGIMEZCKc+BBBpjhL1jMiHA0xNrar37MAuSySt XKGw== ARC-Authentication-Results: i=1; mx.google.com; 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 i10-20020a17090332ca00b00172aa1ed560si6643709plr.138.2022.08.22.19.40.19; Mon, 22 Aug 2022 19:40:29 -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; 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 S239692AbiHWC3J (ORCPT + 99 others); Mon, 22 Aug 2022 22:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239723AbiHWC27 (ORCPT ); Mon, 22 Aug 2022 22:28:59 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6766FCD5; Mon, 22 Aug 2022 19:28:58 -0700 (PDT) Received: from droid06.amlogic.com (10.18.11.248) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.9; Tue, 23 Aug 2022 10:28:56 +0800 From: Yu Tu To: , , , , , Rob Herring , Neil Armstrong , Jerome Brunet , Kevin Hilman , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Martin Blumenstingl CC: Yu Tu Subject: [PATCH V4 5/6] arm64: dts: meson: add S4 Soc Peripheral clock controller in DT Date: Tue, 23 Aug 2022 10:26:29 +0800 Message-ID: <20220823022630.25007-6-yu.tu@amlogic.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220823022630.25007-1-yu.tu@amlogic.com> References: <20220823022630.25007-1-yu.tu@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.18.11.248] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,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 Added information about the S4 SOC Peripheral Clock controller in DT. Signed-off-by: Yu Tu --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index e04c90da348f..000b3406b9ee 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -6,6 +6,8 @@ #include #include #include +#include +#include / { cpus { @@ -100,6 +102,30 @@ clkc_pll: clock-controller@8000 { #clock-cells = <1>; }; + clkc_periphs: clock-controller { + compatible = "amlogic,s4-peripherals-clkc"; + reg = <0x0 0x0 0x0 0x49c>; + clocks = <&clkc_pll CLKID_FCLK_DIV2>, + <&clkc_pll CLKID_FCLK_DIV2P5>, + <&clkc_pll CLKID_FCLK_DIV3>, + <&clkc_pll CLKID_FCLK_DIV4>, + <&clkc_pll CLKID_FCLK_DIV5>, + <&clkc_pll CLKID_FCLK_DIV7>, + <&clkc_pll CLKID_HIFI_PLL>, + <&clkc_pll CLKID_GP0_PLL>, + <&clkc_pll CLKID_MPLL0>, + <&clkc_pll CLKID_MPLL1>, + <&clkc_pll CLKID_MPLL2>, + <&clkc_pll CLKID_MPLL3>, + <&clkc_pll CLKID_HDMI_PLL>, + <&xtal>; + clock-names = "fclk_div2", "fclk_div2p5", "fclk_div3", + "fclk_div4", "fclk_div5", "fclk_div7", + "hifi_pll", "gp0_pll", "mpll0", "mpll1", + "mpll2", "mpll3", "hdmi_pll", "xtal"; + #clock-cells = <1>; + }; + periphs_pinctrl: pinctrl@4000 { compatible = "amlogic,meson-s4-periphs-pinctrl"; #address-cells = <2>; -- 2.33.1