From patchwork Mon Jun 24 11:07:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thippeswamy Havalige X-Patchwork-Id: 13709335 X-Patchwork-Delegate: kw@linux.com Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2060.outbound.protection.outlook.com [40.107.92.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E20DD1369B6; Mon, 24 Jun 2024 11:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.60 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719227381; cv=fail; b=u8OJG+6aG7nq4Btm4hQaoaXbo7VsB0FWOAjvUHqXsevYDlI1jHw90OoVKZ9k1+uzo5FybRWUjKjn9gr0nNi4cFCjTlZXQFSlpvB/8roJpZkLpyD0dogQkiQfbSEwpR0m/AkYMQkN/KaA9UtqqcFYgGwWFUgTuYPy/PDFg3ql9I0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719227381; c=relaxed/simple; bh=EO+kjpms1fUrlGcsp/Yq/4cUtaIBAqKwDFFTL6N0bKU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gWqfaYfBSrBDQWRxbCcRApKqULWGD7G6V8kThUmMkawHy3Zx4JFX0XOhyfQB68F0W7CJ8LfA9bME5N8Nz5j2hNYrXdovwvWa54YkvTVHeBXMe2JbyWmiXO7Shq0k4+u/iVFrwvioki464qdHA5ip42DGmd2rX2/q+2vnV0uezBI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=XyBN3dL+; arc=fail smtp.client-ip=40.107.92.60 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="XyBN3dL+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bSDKp5J0V08VzJemXXnvf2UtaXfXyipjunVKjekXSrLkFOUHfv2IJ0NZjZUL0K4FA6hg0Kmj4ZSLYy0LEf1qv5GPBjPotYR0/CXWezgK9nR52YU++rnLnDzTpiFVCa8xylsgMSZNhubBSs1e0AEU7q+/24WPx/tucllp6ZmTGNlt3rIbSYzbHi3145w5td2kmiDq0p9JD1sVsRUelAdsf3jhQmw7Za03cMaFyyerhgZ/ktBvdY4u1G/9VxxJJUMrqbhI1nqr1RMh6oQNnbMsB6enHoFL2FJTlNum8BrW6H7Y+ciq5WkJ6EyCQIPTg5amAzTnI22uMHHjoxxWHNNHSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xXJS9l45THhDwuIPD0INZHCMKj22HA2c0gsgoOad7Fk=; b=aeDsQhjUUfxHYVj/ikC3Q+7+SJXpqJNmt4J/IqhQHMacW75dLW1zlXaiTJCObADLcMrcGOmFd04eYcF7xdgLDyxeieuYdxbcTtHDfNl7XdiHxGP16ji5Rbx1O+DAWy2dqdLpRiuAMA6yhDFEYiSHww5i4weNTHzm8TQnTojk4ye+JdClCC0PiXsF9PgGR1gw3jRkhOX5ubjo6wlOhRKPgTjAe9opGd74XHET715d5cSgH1V0Goz2PjmiyUEAFAzaSqaRApeWyQkXxv+0hMos9/KCY8MBEtzWq3JT9ZTDffawQkxaDD4TzPDmx9ZRhCF6tibWyPOSoeHm7mDgAyPqkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=google.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xXJS9l45THhDwuIPD0INZHCMKj22HA2c0gsgoOad7Fk=; b=XyBN3dL+rmVVesbkGvOFwE22F6CEKdcRN7K4scoVDn2M9nVcXLygU3UV46te8AyLKZgUbxdu3cN93Oaw8POk0FjIS6esGg0Y5Yd5LoMO1y658fui9oaOYFB9tCTJvuCU9qxkyYXYgQk6BU1nog2Ny6kxJkq2iJ+13mtIzo3z/fM= Received: from SJ0PR03CA0340.namprd03.prod.outlook.com (2603:10b6:a03:39c::15) by CY5PR12MB6107.namprd12.prod.outlook.com (2603:10b6:930:28::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.30; Mon, 24 Jun 2024 11:09:37 +0000 Received: from SJ1PEPF00001CE2.namprd05.prod.outlook.com (2603:10b6:a03:39c:cafe::f0) by SJ0PR03CA0340.outlook.office365.com (2603:10b6:a03:39c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.38 via Frontend Transport; Mon, 24 Jun 2024 11:09:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by SJ1PEPF00001CE2.mail.protection.outlook.com (10.167.242.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7677.15 via Frontend Transport; Mon, 24 Jun 2024 11:09:36 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 24 Jun 2024 06:09:35 -0500 Received: from xhdthippesw40.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 24 Jun 2024 06:09:32 -0500 From: Thippeswamy Havalige To: , , , , , CC: , , , , "Thippeswamy Havalige" Subject: [PATCH 1/2] dt-bindings: PCI: xilinx-xdma: Add schemas for Xilinx QDMA PCIe Root Port Bridge Date: Mon, 24 Jun 2024 16:37:54 +0530 Message-ID: <20240624110755.133625-2-thippesw@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240624110755.133625-1-thippesw@amd.com> References: <20240624110755.133625-1-thippesw@amd.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Received-SPF: None (SATLEXMB04.amd.com: thippesw@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE2:EE_|CY5PR12MB6107:EE_ X-MS-Office365-Filtering-Correlation-Id: 7020ae60-7e00-44e1-cb73-08dc943e2287 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|36860700010|376011|1800799021|82310400023; X-Microsoft-Antispam-Message-Info: tx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XPrweK1rL11fJ1C17uHNLSrB6dNV9u1l6Pqb+yP7/3b+3d3HO+PIscl8M6KflHuxFlLUCWYVdxRSjsuudjfwXiqXbRjW7ougk4/aQfNsyV3mfFsskIbUAxvswi/LdZWwu3jmwmLAP1WSnbBp6nYJXuQGyuLO8nR4a28mAEXH+EAkjV8pD4X1vAdeGVC1h2swj7wXupNNJsMz8aPY73hI44E1gJ5fIqj8ijDq9hdzrFQubE0llHN/D1ND55Mq7b1AolTENd1D3eg6be2dRvaEMgr4Pzq0z943wz+5gtRgHsbNI4KyQhS4bkvrymo7IKmn4fluRyXQ== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230037)(36860700010)(376011)(1800799021)(82310400023);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 11:09:36.6413 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7020ae60-7e00-44e1-cb73-08dc943e2287 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6107 Add YAML devicetree schemas for Xilinx QDMA Soft IP PCIe Root Port Bridge. Signed-off-by: Thippeswamy Havalige --- .../devicetree/bindings/pci/xlnx,xdma-host.yaml | 41 ++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml b/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml index 2f59b3a..b705e47 100644 --- a/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml +++ b/Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml @@ -14,10 +14,21 @@ allOf: properties: compatible: - const: xlnx,xdma-host-3.00 + enum: + - xlnx,xdma-host-3.00 + - xlnx,qdma-host-3.00 reg: - maxItems: 1 + items: + - description: configuration region and XDMA bridge register. + - description: QDMA bridge register. + minItems: 1 + + reg-names: + items: + - const: cfg + - const: breg + minItems: 1 ranges: maxItems: 2 @@ -111,4 +122,30 @@ examples: interrupt-controller; }; }; + + axi-pcie@80000000 { + compatible = "xlnx,qdma-host-3.00"; + reg = <0x0 0x80000000 0x0 0x10000000>, <0x0 0x90000000 0x0 0x10000000>; + reg-names = "cfg", "breg"; + ranges = <0x2000000 0x0 0xa8000000 0x0 0xa8000000 0x0 0x8000000>, + <0x43000000 0x4 0x80000000 0x4 0x80000000 0x0 0x40000000>; + #address-cells = <3>; + #interrupt-cells = <1>; + #size-cells = <2>; + device_type = "pci"; + interrupt-parent = <&gic>; + interrupts = , , + ; + interrupt-names = "misc", "msi0", "msi1"; + interrupt-map-mask = <0x0 0x0 0x0 0x7>; + interrupt-map = <0 0 0 1 &pcie_intc_0 0>, + <0 0 0 2 &pcie_intc_0 1>, + <0 0 0 3 &pcie_intc_0 2>, + <0 0 0 4 &pcie_intc_0 3>; + pcie_intc_1: interrupt-controller { + #address-cells = <0>; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; };