Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1037714ybl; Wed, 8 Jan 2020 09:56:18 -0800 (PST) X-Google-Smtp-Source: APXvYqxb2ZPp52WPJ26tvuIvuItQ8JzoUGebB/1Nwr9JxGCipEL3GI8BJ71IWkEJwV2DmtYsp00t X-Received: by 2002:aca:220c:: with SMTP id b12mr3875704oic.55.1578506178114; Wed, 08 Jan 2020 09:56:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578506178; cv=none; d=google.com; s=arc-20160816; b=skWGMeUtPxNOX7UJ91V1Cus565TtI1d1pG61b8OYLJilibFIcuFSp9t0ygE1dC+txb jGQ0eXwl2Ha+SHwNjZheiLFK+NwmunpVMEC+iwBPRmqbkE7abwXI2pFavte3ftqpfMgR tWkjP/xArvR7TG+2m7jLYbt22sQ8SBhUis/5jVoR5XfLpk14gPLdlul/1Xsg9WwyeOme wvLS3ysXYRG6NEGn95TOGSEvrRvZfEpXVNVnu/Omi822xTCtsFsetWYkJGhxkH4YucdS 05z4yRq1opocVX1oBcHzveTO/ojEvvWvPXaiJ5I+kRC30mxyw1UVTIzCbxdejebF5ZMB Dsmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WfL24R1jbieE92Zr2OINAr/LHQLYTr+DjNdDMkvlSSs=; b=ISOSdGZS1eWvH8Hv/2mJgKTcyy3rMhrRL5cFx9EvSx3D6050D440Jk+EHoDm6/NDCg SGy8WH7KV4V+XsNEpc+phCpCSw/lM1ZJApvI+Cx+6usdgh53tlxvCsephl+9qnxHFFaU +MNuiZFpuxk/UxkEgiLmJ7i2tREH6rju3iJ04YeRF9dZ7NgUgWNaBtTSVB8U13eN5Xny LqDkWwa4Pji+Y65h2K0g+CIikFH3w/Qp2bFcCDVbgucNFg5FNcfqy8+yefG+Murd1QGv O55GqosfiMtAYQbJzefNXp6+AJlnyzZEOge4TDPbaa00OY8+9V6xJxv9pQ/XZTbMAvrg rxRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DKe3OjAe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z25si2232680oic.23.2020.01.08.09.56.06; Wed, 08 Jan 2020 09:56:18 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DKe3OjAe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729462AbgAHQWg (ORCPT + 99 others); Wed, 8 Jan 2020 11:22:36 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:51430 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729252AbgAHQWV (ORCPT ); Wed, 8 Jan 2020 11:22:21 -0500 Received: by mail-wm1-f67.google.com with SMTP id d73so3141482wmd.1; Wed, 08 Jan 2020 08:22:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WfL24R1jbieE92Zr2OINAr/LHQLYTr+DjNdDMkvlSSs=; b=DKe3OjAewdlKxi5A5DrjA+hPYhuiuqf9P55p1QfwL4dmlyOlHsnzOlt6c9lseJVRE4 zEIqVq+DIGf36Bgq5/j9f+EU5tJSYhLgfOaN9SUjoaLWOY47U3EX7HzPeCdtYV3qdQ6t o2MzVfFzk8FCEq7kXe3hM8GURb+vgGnWezs8jZrpjNnOIHqlD+eh/CvbGaaIxLoOmHGQ jpy8wKysYn8oDbXcp3isBt0aTQg3fCu2Fn6i/9FMuGa5BLhZNPSMA6XPwdjvnb2CA5QM oLEzlf5+JsRPGjrC9fRC1kgtDo9W3hzalsKDBPfDzrJmmDT5f+31alcASf4c6WPzhZKj XZFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WfL24R1jbieE92Zr2OINAr/LHQLYTr+DjNdDMkvlSSs=; b=TIwpBzkKiH3lST+O4DPnNPorkzWxAWN3u2lHvgCnEehgx3ZCyZDdn4LcYXlcrd6Iyt GCe7gpxQR694mhLs0xgBYkWbqbOROQjx1rldqgDPyiyzkK4fEGFx8LABIec2fGHG/yM8 Oyry91RH0pjSvdH8nT/v2ZOq2NygopnG9mBhAD/p8GYYcoiG7Zle74WnMFsd51To1n+p ei3o5wnvmd2Z3qJ706JMRo+Y+m8+w9NPmAwoqDAf5Onn09kruVUkFUhofpWQtdC8H2JT CQ1ozQxjBbfUbA46TiJ18cptHSUUIQ2pSpHb5Fh0JELAL/M8VjkCOhoAFmt6YW4if5er GdfQ== X-Gm-Message-State: APjAAAX/1AtqpMMECSpH9mQl3i7ljogzJi03omV8K0plnypG3x9pUEUZ paSGL0t2okX/IiG1GutBcJg= X-Received: by 2002:a7b:c4cc:: with SMTP id g12mr4981393wmk.68.1578500538653; Wed, 08 Jan 2020 08:22:18 -0800 (PST) Received: from prasmi.home ([2a00:23c6:d18:6d00:2811:8b65:294e:fa09]) by smtp.gmail.com with ESMTPSA id q3sm5112180wrn.33.2020.01.08.08.22.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 08:22:18 -0800 (PST) From: Lad Prabhakar X-Google-Original-From: Lad Prabhakar To: Bjorn Helgaas , Rob Herring , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , linux-pci@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Andrew Murray , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Chris Paterson , Frank Rowand , Gustavo Pimentel , Jingoo Han , Simon Horman , Shawn Lin , Tom Joseph , Heiko Stuebner , linux-rockchip@lists.infradead.org, Lad Prabhakar Subject: [v3 4/6] dt-bindings: PCI: rcar: Add bindings for R-Car PCIe endpoint controller Date: Wed, 8 Jan 2020 16:22:09 +0000 Message-Id: <20200108162211.22358-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200108162211.22358-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200108162211.22358-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the bindings for the R-Car PCIe endpoint driver. Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/pci/rcar-pci-ep.yaml | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml diff --git a/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml new file mode 100644 index 000000000000..99c2a1174463 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml @@ -0,0 +1,76 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2020 Renesas Electronics Europe GmbH - https://www.renesas.com/eu/en/ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/rcar-pcie-ep.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car PCIe Endpoint + +maintainers: + - Lad Prabhakar + +properties: + compatible: + items: + - const: renesas,r8a774c0-pcie-ep + - const: renesas,rcar-gen3-pcie-ep + + reg: + maxItems: 5 + + reg-names: + items: + - const: apb-base + - const: memory0 + - const: memory1 + - const: memory2 + - const: memory3 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: pcie + + max-functions: + minimum: 1 + maximum: 6 + +required: + - compatible + - reg + - reg-names + - resets + - power-domains + - clocks + - clock-names + - max-functions + +examples: + - | + #include + #include + + pcie0_ep: pcie-ep@fe000000 { + compatible = "renesas,r8a774c0-pcie-ep", + "renesas,rcar-gen3-pcie-ep"; + reg = <0 0xfe000000 0 0x80000>, + <0x0 0xfe100000 0 0x100000>, + <0x0 0xfe200000 0 0x200000>, + <0x0 0x30000000 0 0x8000000>, + <0x0 0x38000000 0 0x8000000>; + reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3"; + resets = <&cpg 319>; + power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; + clocks = <&cpg CPG_MOD 319>; + clock-names = "pcie"; + max-functions = /bits/ 8 <1>; + }; -- 2.20.1