Received: by 10.192.165.148 with SMTP id m20csp2178846imm; Thu, 3 May 2018 11:43:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZokprzwvjieIqoBvApJCoUu/G370+zW/gGQzLChwGicC90lNth18GWYJbeYkkS2u+0NcwuL X-Received: by 2002:a17:902:205:: with SMTP id 5-v6mr24191844plc.301.1525372982711; Thu, 03 May 2018 11:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525372982; cv=none; d=google.com; s=arc-20160816; b=EY5ZfBl9bLjTkphjU0tDCJEanGjO1hgIwuCvpWpkJUH7ABsIDJSqIXVlNf07TfaAHf x/+EMR6dHU2GUiYL71Skl+nLp7dHvyL4oR3VbHVnaH+f9+w2GjNNeMPdVWP66QkqQ/3l mGIIXq6Ji6OrTMxVXeB8msXe76e3quopN9Ug3wriG61Ia/Vhf+9R087lnYHOVx8xzipi DERCqoUUIZHQI4jhrwmUMYyxA9UsLIh4SKJ2pMzjO5gsOsF1OM6czsXZyuQxXyFzRkOZ O4tETCv7p6kkJgzE3y1+L7C4hlHDl0Jq7Q/VlVqfLXKKduVllsqV3gkjCV04aundV7OZ 6pdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=3dNA1cSps5rr5slPMSsgea/Mf2ol2RuVAixZbIpUwys=; b=s1iVsSnHMzdCQ0pQV9+DRfMYWDSQi6mGfzdOzAtZSkntTx5co/zhq4I8EKBA0vqA/Z B8wjQRNTtzfgJffP8qSPNGA2SsPmLUO8563wJ7AVa5/g9jsDJ4HZLnQpghsmZWqtK2dl AoK5+LJfTnZbBhHKeP8ZByr/ttEK1lUqhSwS57oQBavLtqRHOF9rVXN0kzsNNqvJpqrB UJ2AK8p9VnNNqev2ldptXaNfb0YJ/LSlXVwr1tisOCoDEPQPQEm+6DCOReGDabBl5mDq 5XicH8yJu/xXr2yIRz3u8UOUFkSTDpQoRVG5a87Vslhos3B4xLQ2UsD/BUjGiVnD8zSc FYWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t185-v6si11602378pgd.487.2018.05.03.11.42.48; Thu, 03 May 2018 11:43:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751343AbeECSlb (ORCPT + 99 others); Thu, 3 May 2018 14:41:31 -0400 Received: from hermes.aosc.io ([199.195.250.187]:35911 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbeECSl3 (ORCPT ); Thu, 3 May 2018 14:41:29 -0400 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 Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; + }; }; }; -- 2.15.1