From patchwork Thu May 3 18:38:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10378993 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4F75A60327 for ; Thu, 3 May 2018 19:10:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4184929259 for ; Thu, 3 May 2018 19:10:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 356242925B; Thu, 3 May 2018 19:10:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8CA4A29259 for ; Thu, 3 May 2018 19:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=D2uoA8Q/NmkADfAJtYEOis/mX8vlDtdLeLQTHlysDhU=; b=LxPyRKIfztqxqQeuz9Fhu/X7/5 5C6hrimTSVyR0sY6g0ZvkjSQ9EC946eQvn4gGWn/H1Lg7jGGtyylV5sF4ReNSqERDnY+YglcgJMX+ 99au6VnY6xBqM6cbx2ddmieNCeMuiOyoOAV466t2pVAfqk38/Sp4NunzsIxshROcWQmJjPZgt8GMN eqdY1apB9ASWhpKZOtixjER3mqyVnKpWrLlQjWnBNcg2ec3LNaLgyb83qTZTP/fKfYB+D/8fWoWr1 CwdFufWyWdbAm4YSAL4l4JmkwO/U6Cn09n+4iB+WJtEtVHTELjvjgq34L+AQKc4b1UVWOCC+qXrN8 g2MtXIzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEJcP-0006cC-LD; Thu, 03 May 2018 19:10:17 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEJbv-0006CG-Hr for linux-arm-kernel@bombadil.infradead.org; Thu, 03 May 2018 19:09:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=3dNA1cSps5rr5slPMSsgea/Mf2ol2RuVAixZbIpUwys=; b=CAjDJjhN/UNjdc3GM9E3f+tkd LXyqkZ0DSkn0LXVeMz3QTPcHH2xuJyvipCyWKDyINfCiOZi5zbxGo9dH/FB3W5+Bn7MW4gaUF34SS lDIRTW5swS/U4ouNERvQ9kAEqihyKZvjei4/um+icHXnZipuRRdmrZelm+CPDTJWOt9hrdXm/Tnx9 rsNHkHljjK8rsFFdojJT6GzFEOs7cFPRnyBOx8gu3AepJUpavtJJR2BH8eBOH7MCJ2yCKhm3DSucu YHqGLjrKfeUI1HlZfOnmA2ZKh5aidM59+/MHunjiHOHlpPXz6JDCvpO+UW25kFg035jDqWubIfFZA 3NG9/IYKA==; Received: from black.maple.relay.mailchannels.net ([23.83.214.19]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEJAo-0008Fv-M4 for linux-arm-kernel@lists.infradead.org; Thu, 03 May 2018 18:41:48 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id AE7B5281532; Thu, 3 May 2018 18:41:30 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.15.28]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id CED58280F43; Thu, 3 May 2018 18:41:29 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.19.51.240]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.14.1); Thu, 03 May 2018 18:41:30 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Absorbed-Hook: 55867aa801b17e52_1525372890559_1879375896 X-MC-Loop-Signature: 1525372890559:2856851939 X-MC-Ingress-Time: 1525372890559 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id D771543995; Thu, 3 May 2018 18:41:14 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij Subject: [PATCH 2/7] arm64: allwinner: h6: add PRCM CCU device node Date: Fri, 4 May 2018 02:38:42 +0800 Message-Id: <20180503183847.11046-3-icenowy@aosc.io> In-Reply-To: <20180503183847.11046-1-icenowy@aosc.io> References: <20180503183847.11046-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180503_144146_925066_42BF8B33 X-CRM114-Status: GOOD ( 17.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 has also a PRCM CCU. Add its device node into the device tree. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 4debc3962830..db9da343ba46 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -173,5 +173,15 @@ resets = <&ccu RST_BUS_UART3>; status = "disabled"; }; + + r_ccu: clock@7010000 { + compatible = "allwinner,sun50i-h6-r-ccu"; + reg = <0x07010000 0x400>; + clocks = <&osc24M>, <&osc32k>, <&iosc>, + <&ccu CLK_PLL_PERIPH0>; + clock-names = "hosc", "losc", "iosc", "pll-periph"; + #clock-cells = <1>; + #reset-cells = <1>; + }; }; };