Return-Path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:40904 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727796AbeHLQLe (ORCPT ); Sun, 12 Aug 2018 12:11:34 -0400 Received: by mail-wm0-f66.google.com with SMTP id y9-v6so6240690wma.5 for ; Sun, 12 Aug 2018 06:33:29 -0700 (PDT) From: Eugeniu Rosca To: Simon Horman , Geert Uytterhoeven , Yoshihiro Shimoda , Sergei Shtylyov , Vladimir Barinov , Niklas Soderlund , Laurent Pinchart , Jacopo Mondi , Magnus Damm , Kieran Bingham , Takeshi Kihara , Ulrich Hecht , Kuninori Morimoto , linux-renesas-soc@vger.kernel.org Cc: Eugeniu Rosca , Eugeniu Rosca Subject: [PATCH v2 6/7] arm64: dts: renesas: r8a77965: Add HSCIF0 device node Date: Sun, 12 Aug 2018 15:31:48 +0200 Message-Id: <20180812133149.7710-6-erosca@de.adit-jv.com> In-Reply-To: <20180812133149.7710-1-erosca@de.adit-jv.com> References: <20180812133149.7710-1-erosca@de.adit-jv.com> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Fix below DTC error: Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:36.1-8 Label or path hscif0 not found The DTC error occurs *after* the addition of r8a77965-m3nulcb-kf.dts. Fix it beforehand. Inspired from v4.12-rc1 commits: - commit 68cd16107260 ("arm64: dts: r8a7796 dtsi: Add all HSCIF nodes") - commit 6d50bb893504 ("arm64: dts: r8a7796: Enable HSCIF DMA") - commit bec0948e810f ("arm64: dts: r8a7796: Add reset control properties") Signed-off-by: Eugeniu Rosca --- Changes in v2: - Slightly improved the commit description. - Note that this commit could be replaced by https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git/commit/?h=b8e3c8e17611 --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 4da479d3c226..d04a8b671cc2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -451,6 +451,24 @@ status = "disabled"; }; + hscif0: serial@e6540000 { + compatible = "renesas,hscif-r8a77965", + "renesas,rcar-gen3-hscif", + "renesas,hscif"; + reg = <0 0xe6540000 0 0x60>; + interrupts = ; + clocks = <&cpg CPG_MOD 520>, + <&cpg CPG_CORE R8A77965_CLK_S3D1>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x31>, <&dmac1 0x30>, + <&dmac2 0x31>, <&dmac2 0x30>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 520>; + status = "disabled"; + }; + hsusb: usb@e6590000 { compatible = "renesas,usbhs-r8a7796", "renesas,rcar-gen3-usbhs"; -- 2.18.0