Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1455800rwb; Fri, 5 Aug 2022 02:09:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR4xSTMf42FV3RMtowXmPJU3ERGETlCNOPpTyYf2FOY+Zj4ONs6vNmx90PALZM0cFm9YDqoh X-Received: by 2002:a05:6a00:2991:b0:52e:b387:b3c6 with SMTP id cj17-20020a056a00299100b0052eb387b3c6mr2955464pfb.11.1659690593196; Fri, 05 Aug 2022 02:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659690593; cv=none; d=google.com; s=arc-20160816; b=VhOVp/rbHyILXfVJyDQd9lh7Nj+SWfAZiOvACYfnJFzE9vT0d38YwxSSNtb4a8x1Ht fBWEyzyM11/HaArzX9H8qpCUo0mpIaGDuBuJqX5BNaWF2fJG37DSx8VKF7xao1eSTWxc 7J8Sg0M/TiNtnDUPSYTEBI0dEaFLk5Cu7hNdm5eNkM3Q3FEikbCwmvqK9iMS8b978uhf EeHzi6yfAWbhs6uTJ0b8+XJFQI6LOsXneUywcTLFvf/JuZ4HtVL5zXgNBrvI0EwNE1ZI HrHrvsXIeIlRrZrVm/LZAGY3AJyWtzXIBQPDlYoHLWzXJArveZOtajKBgCtSeMu8mhuf ggFw== 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=Zxz0T17MMnZ9Y2AMOZbVuXWMWFUudIh/X/N6ZA0wUtk=; b=HPajuW70DoUSC4/f764WVKoJxrBBdA2hs4iBTPYWgZGB3hBP3T54MBF9NG2PN8EUJt vnMgWLaBx6Y80r3cNE5QeT4NzHodMWvJJ0JKqcfNYooqnV0tMYdcop2mT0FOHXk5jh4u J4vtEMDyTbBsAOvs3+W16DdEpIapNjsvYgaLFsSrrSb6XFHw+DENg00WxCnjKYLEu+WU /FXvQRc95Gsk2f6TnDseIaglT1JErZkO7VfiircOf8HHps9o1oEhC2eNHkuWmIY8ZGkw ahdW4DODTGXd6DvzwLquTuPBfdhgdl+NmT5XxaeuvacjiqTgDkqMzxZtOS1QsgZYyuzA NsEg== 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 o11-20020a63730b000000b0041a11845a19si2392798pgc.703.2022.08.05.02.09.38; Fri, 05 Aug 2022 02:09:53 -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 S237962AbiHEJAY (ORCPT + 99 others); Fri, 5 Aug 2022 05:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234392AbiHEJAW (ORCPT ); Fri, 5 Aug 2022 05:00:22 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D317B1D5; Fri, 5 Aug 2022 02:00:19 -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; Fri, 5 Aug 2022 17:00:17 +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 V3 5/6] arm64: dts: meson: add S4 Soc Peripheral clock controller in DT Date: Fri, 5 Aug 2022 16:57:15 +0800 Message-ID: <20220805085716.5635-6-yu.tu@amlogic.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220805085716.5635-1-yu.tu@amlogic.com> References: <20220805085716.5635-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 a816b1f7694b..71be1dda15a2 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: pll-clock-controller@8000 { #clock-cells = <1>; }; + clkc_periphs: periphs-clock-controller { + compatible = "amlogic,s4-periphs-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