From patchwork Wed Mar 1 04:15:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9597419 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 96AFC60414 for ; Wed, 1 Mar 2017 04:19:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C5AE28428 for ; Wed, 1 Mar 2017 04:19:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80CAE284E7; Wed, 1 Mar 2017 04:19:06 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 1F45628428 for ; Wed, 1 Mar 2017 04:19:06 +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=K5QNx2JE8/s0/qy2Ak7kPc2qYP4IbNprcNz+nDBJC3I=; b=BiuWomnfVhi2Pm+TJwzkCHL1Tr 29nasVObGBOIBeIpvH2y3Y4lK0KJ8wCGUTcKC6AURdaRyIUJvp3tQ1k8aw26jghBMz2X4TaYHYU0d VlFSVQ5bKz3tzsq1eDEGFX2rhA8PsFztdY/+1ZjLh+1c33/+C1+Laiy/R0zHT4gvGEnG62Y8UfEkE SJ7gQnbH7v1QPEqz6oQ6jdnDfGirdbpyAwFchzxiNxqqRJ3iQhhCyaP78Agc3xvj/gxMGx+6DcBsZ AkjE6D+GrU87WzNhi5Bo2Y7Y4bovyeSN80hAph3IF0iUVvNqvWcX01Dn81sieLHFxUpfp3PArGzEP 61N2P7Wg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1civjF-0004aZ-G1; Wed, 01 Mar 2017 04:19:05 +0000 Received: from forward20h.cmail.yandex.net ([2a02:6b8:0:f35::a5]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1civi1-00040Y-0W for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 04:18:08 +0000 Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b6:8]) by forward20h.cmail.yandex.net (Yandex) with ESMTP id 4A86F221FC; Wed, 1 Mar 2017 07:17:24 +0300 (MSK) Received: from smtp3p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3p.mail.yandex.net (Yandex) with ESMTP id E2750132003C; Wed, 1 Mar 2017 07:17:17 +0300 (MSK) Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id T4GGiUrn5R-HC8KCW4F; Wed, 01 Mar 2017 07:17:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1488341837; bh=g9U/i4SUS9OENlt1XEuwfD1lPkHedZsOO8s/2+3Q9Po=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=pqm8X9rjz4V0OM6E5adG9W7ATpoifsCRxolQSZnvi9QcieRkq1RtOJ9Z9cc7Ckjch 3p2awza/dgqFtM8awcQeot2bjB4BFST2xxxEnykyAepRcyK4x6xNy3VHO91BTSr32/ IYLPHbAzKIdAWSQK6lAYAZuQIeToQBCv9AjREaAA= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH 3/3] arm64: dts: allwinner: add r_ccu node Date: Wed, 1 Mar 2017 12:15:41 +0800 Message-Id: <20170301041541.24388-4-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170301041541.24388-1-icenowy@aosc.xyz> References: <20170301041541.24388-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170228_201749_728321_72708259 X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. 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-sunxi@googlegroups.com, Icenowy Zheng , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 A64 SoC have a CCU (r_ccu) in PRCM block. Add support for it. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 1c64ea2d23f9..e8be100b91a0 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -43,8 +43,10 @@ */ #include +#include #include #include +#include / { interrupt-parent = <&gic>; @@ -392,5 +394,14 @@ interrupts = , ; }; + + r_ccu: clock@1f01400 { + compatible = "allwinner,sun50i-a64-r-ccu"; + reg = <0x01cf01400 0x100>; + clocks = <&osc24M>, <&osc32k>; + clock-names = "hosc", "losc"; + #clock-cells = <1>; + #reset-cells = <1>; + }; }; };