Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1375754ybh; Thu, 16 Jul 2020 10:19:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+gudLm//96kuWdmmBGUQqvmgaX/k2011zA0ulN6hrjZUV6Pf6tHPb40elH1i+xzzjJXTK X-Received: by 2002:a17:907:2149:: with SMTP id rk9mr4595955ejb.553.1594919994251; Thu, 16 Jul 2020 10:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594919994; cv=none; d=google.com; s=arc-20160816; b=gu0EMwhFt1mMjfqDKZTqo2/PQ9k/hLcU2RZpqlUlMccaRpPtskY1cw1aSxMu6+sIH2 pL7Jwj1oGX/hCjd7oaxi8+v1YCMBiaOXyvEbPR8iNbuApl19RdQmytVbnkjG2vRp9ZeQ fhs66rxRn3ke7eiA/n6kp464cR2KVr9Kby4TtAvAIJmoI1L9s2mCjogaofkK+Q5Q2aP1 q8ZzdAP9kS4CBX5uva0u1bm8llzXgBPk2F5nPuE0ub6KYiPjCOp92O/AJgXDmnsSPnBX kh307hqMCMaslGXmEOiXT0GY69QLvrWeNQHMJFycb52RwKYc4oc8yl8ZHjiX195Hq/RE C6Uw== 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; bh=QGEynpMYPz66lnPpji+lLJ98/SZZebUOwDvdJBQV/gs=; b=qnWnO3IwCkIkysDJnjo7JMMhVJqMyG0manaC543JcealzMk/w02k2L4wGjav3fa0S/ n7k6mRs74rLjxQ3c2zwOBJCxwJ+kIem1gNGD/Mqxi6/3LWDIbxfvXMOjsCuVrYEVOmzG vH7X1MesHE5EMJT0zwZUktdqbyopidQR/qyCkOhEcmrM6SqU8K5YghkkBP7tT7AHaC3l ZpgPOy6xO5anxhNQCujNpOmqSqPMzlNvygdRCWER8gMrJcxn3ItOm29xAlQVz7luJcuE Kr1m8VPdE/t4OQVRad+DQV1moaxoX5AAMqzoN5qTDOx51EyU+JiZaMuA8+FdnCNr1kht qqEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt3si1165273ejc.325.2020.07.16.10.19.31; Thu, 16 Jul 2020 10:19:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729400AbgGPRS4 (ORCPT + 99 others); Thu, 16 Jul 2020 13:18:56 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:52329 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729364AbgGPRSy (ORCPT ); Thu, 16 Jul 2020 13:18:54 -0400 X-IronPort-AV: E=Sophos;i="5.75,360,1589209200"; d="scan'208";a="52107174" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 17 Jul 2020 02:18:52 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 5954B40B5142; Fri, 17 Jul 2020 02:18:47 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Jens Axboe , Rob Herring , Vinod Koul , Mauro Carvalho Chehab , Marek Vasut , Yoshihiro Shimoda , Mark Brown , Niklas , Bjorn Helgaas , Kishon Vijay Abraham I , Liam Girdwood , Greg Kroah-Hartman , Magnus Damm , devicetree@vger.kernel.org Cc: linux-ide@vger.kernel.org, dmaengine@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, alsa-devel@alsa-project.org, linux-renesas-soc@vger.kernel.org, linux-usb@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 02/20] arm64: dts: renesas: r8a774e1: Add PCIe device nodes Date: Thu, 16 Jul 2020 18:18:17 +0100 Message-Id: <1594919915-5225-3-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594919915-5225-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1594919915-5225-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add PCIe{0,1} device nodes for R8A774E1 SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 47 ++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi index 001874af8cf2..5805541b7882 100644 --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi @@ -1517,12 +1517,57 @@ }; pciec0: pcie@fe000000 { + compatible = "renesas,pcie-r8a774e1", + "renesas,pcie-rcar-gen3"; reg = <0 0xfe000000 0 0x80000>; #address-cells = <3>; #size-cells = <2>; + bus-range = <0x00 0xff>; + device_type = "pci"; + ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>, + <0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>, + <0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>, + <0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>; + /* Map all possible DDR as inbound ranges */ + dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>; + interrupts = , + , + ; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>; + clock-names = "pcie", "pcie_bus"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 319>; status = "disabled"; + }; - /* placeholder */ + pciec1: pcie@ee800000 { + compatible = "renesas,pcie-r8a774e1", + "renesas,pcie-rcar-gen3"; + reg = <0 0xee800000 0 0x80000>; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x00 0xff>; + device_type = "pci"; + ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000>, + <0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000>, + <0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000>, + <0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>; + /* Map all possible DDR as inbound ranges */ + dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>; + interrupts = , + , + ; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>; + clock-names = "pcie", "pcie_bus"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 318>; + status = "disabled"; }; hdmi0: hdmi@fead0000 { -- 2.17.1