Received: by 10.213.65.68 with SMTP id h4csp3536095imn; Tue, 3 Apr 2018 06:44:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49nQhWu/2kU2VIVvAfWLzx9s9ASBkXCvk8d5BeEX6Qbnkm5hRYs+qstQFxKtvUtfSik+X3B X-Received: by 10.99.95.22 with SMTP id t22mr9378874pgb.315.1522763060440; Tue, 03 Apr 2018 06:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522763060; cv=none; d=google.com; s=arc-20160816; b=D16aUXVnTUskPqgoDG0HMlJnRMxzvwd2l9YaDLNjz/RjqLiTECivIR7gB3/eIVL4Wi tzjlnirD1RWFkfNLqG/qoY0pCqF1HxZSwnyn5qzvg2PiroXz4Gbihh6LhOxT0VXcJ/u8 KZT5WNhhFwipTrXptC21O/FHY6y5QZCHVDq7QI7i0B+Uc/SO3V9Md/VRI/07S5lNtREH zbfQybo/9fhmoTkh+dqvZMM9RcLgowFs/C4md+x0vahyOeZ3wWG+ZZo3UgAQf7v2wEOv pHAPSzDZN4oLdCoHFYa+1ruuZRnd0atoXi8ErUGfEcOXy/ES7kvF7feZ2QnSX8ZeN7ma w4eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=zAnp6SGzMShEtQX/YbbTZ+X5yjP542fa0Nqz9XUmctA=; b=umuGXAryEPpyIaNyGwc+IxRgFL5jN2+c3vgF+rO5jpEJ5CDmzQD+N3XX3abNFaZhxZ Ua1EC5zU6HM403Rabx/VtKGkt2AOcoV2PrJ7J5w1m4u13II2Iimj70Cz1iVAn7GRg4rw HadzFYIMcr5NoWsbAt5h0ImbvPTSyDiUrDsSmYfBUMEBc6SBWb+FNyJVtGBuSx3s8DPN uOHk1A1v6xP/0q9VnluxgN5s2/F6/VHLL/c8pebPdm5Qs1xebDjc7ZN1lg3+nU8pivH0 5SdVyIfmW3dLMGWEhEp5ieyouImAbvKvEDUYTugy9rrDPQQabQ16TXqBvwKt4wSb/x4t sPOQ== 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 n190si1957330pga.681.2018.04.03.06.44.06; Tue, 03 Apr 2018 06:44:20 -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 S1751163AbeDCNm6 (ORCPT + 99 others); Tue, 3 Apr 2018 09:42:58 -0400 Received: from hermes.aosc.io ([199.195.250.187]:54349 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728AbeDCNm5 (ORCPT ); Tue, 3 Apr 2018 09:42:57 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id EC5175A8E0; Tue, 3 Apr 2018 13:41:41 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH] arm64: allwinner: h6: restore the usage of CCU slice macros Date: Tue, 3 Apr 2018 21:40:24 +0800 Message-Id: <20180403134024.43156-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As the definition of CCU slice macros are already merged into the source tree, restore the usage of the macros now. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 56563150d61a..4debc3962830 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -4,6 +4,8 @@ */ #include +#include +#include / { interrupt-parent = <&gic>; @@ -115,7 +117,7 @@ , , ; - clocks = <&ccu 26>, <&osc24M>, <&osc32k>; + clocks = <&ccu CLK_APB1>, <&osc24M>, <&osc32k>; clock-names = "apb", "hosc", "losc"; gpio-controller; #gpio-cells = <3>; @@ -134,8 +136,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 70>; - resets = <&ccu 21>; + clocks = <&ccu CLK_BUS_UART0>; + resets = <&ccu RST_BUS_UART0>; status = "disabled"; }; @@ -145,8 +147,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 71>; - resets = <&ccu 22>; + clocks = <&ccu CLK_BUS_UART1>; + resets = <&ccu RST_BUS_UART1>; status = "disabled"; }; @@ -156,8 +158,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 72>; - resets = <&ccu 23>; + clocks = <&ccu CLK_BUS_UART2>; + resets = <&ccu RST_BUS_UART2>; status = "disabled"; }; @@ -167,8 +169,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 73>; - resets = <&ccu 24>; + clocks = <&ccu CLK_BUS_UART3>; + resets = <&ccu RST_BUS_UART3>; status = "disabled"; }; }; -- 2.15.1