From patchwork Wed Jan 24 18:36:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 191708 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1182115dyi; Wed, 24 Jan 2024 10:38:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IECAHb1A+/0QA8eV3kJEK575xzVuEZlc9/a7+XyQD/wSM+zyrtYvrGoKyo/YIEetGJO2R6h X-Received: by 2002:a05:6a20:6d9f:b0:199:b514:7827 with SMTP id gl31-20020a056a206d9f00b00199b5147827mr1204887pzb.86.1706121505319; Wed, 24 Jan 2024 10:38:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706121505; cv=pass; d=google.com; s=arc-20160816; b=kUrY7c/RchMfee7lSSE5PZJ8Lpw97OvtZ3yY5L8djQlBkSGkpHhNuvosr8H9JYsvqI hdz/osYOJWoNFK9ZdV1qPTEkMbxYffsOLs7y8E9in9ZyUwUtVyH+NBfFPjILEjeO9kEw Ex+WOeBdqlOl9Ps8SLJ0jgD2MrVRM7RCOWNTVj4n8ZNO0lr/s+3fZ4IInJ+B6UoSES2r owJoDN26Ut+jIkXlk0m4hryu6cdkVQUZB5zTo66zdCAox8UvW5PlLfe4TW+HrqBYlhpp /cBHonz5y2uNBZ9bImOGpU83N87zJJj+1bktDw4lJSsmXUClJ6lzn1qLuS8jEKMueYBM pjwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gED2gWvfzs427INIi0H3xv3sSVDvHPQjQ9BAVAAoC9A=; fh=MyUppKttrNuIto4SF/fZZ+PhpsTyrywZS4cOL2Thdt0=; b=S0kFzPvV54JfatXhpTHazj3MzXS4wuwwuYgk6FxHZCrGvjIYk9aiXE+XYgfJz1UZez BgtZ1qZ1+aimPmpR0oKkOQQuZqaN2Hsul5VOifhD+KhqtqRiPY1GJp8DjNEpajf/B2V3 MYGTLrWiNHqKvrxfwX59h5GdkZBZ6erN2dZf1VY157Ah0ooyyICHNW+6Kwolxg9qJn4L PxWwZxumVKxuvWMeqzgP1a22/akQPwPpEiFivncmqqs44v4TfS8uMylfCbipM7yaop+/ ygCFE2mSsKjpwxr999LJl8H0zdj8WCDqlu39LUNzM8tIkvf/q1T6kG2id6yF/lwYbpow fNFA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jAW0g5Ts; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-37528-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37528-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t7-20020a63f347000000b005cf97c743c4si11669806pgj.276.2024.01.24.10.38.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:38:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37528-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jAW0g5Ts; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-37528-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37528-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3CFA0286755 for ; Wed, 24 Jan 2024 18:38:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 515E1132C31; Wed, 24 Jan 2024 18:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="jAW0g5Ts" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 8CA0113175C; Wed, 24 Jan 2024 18:37:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706121435; cv=none; b=cZqMGpYUbsSyAmi2Nw0p4sQ5vgm2DLwfSSZTY1wMkIgAh1p+uQWcy3mHkAObQQoGjJoNHr9cKt4OGMbBRHNsd4Haas4sfLPjFQjPRU4Bu5Cse8ymLfdo5OqqONqbHZkPb87Qf9EVyVKFXI8RFQNYOn3b5bpDJVfVueXdvoAdpPI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706121435; c=relaxed/simple; bh=3uzocwDw11owXvLEpuEy44ILwY1jHzvcDQ7mLByg2pg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XYxtVdu6RLqDGqZpncmVBHw1Oy6qyLSOUjPsWq37uw8ZujdW4KQX3ZuJFWMbX4acd9pLc77nkn0d03afd/i9gPJXJdwHeahpmorKEM/8/Xfz8bvgcfn1xr1jmODC8U/gGFpyyI3Mr68nGrbYa/kn2o0yLw/rVTncOFuNCrlVnrs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=jAW0g5Ts; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIb1Jw106183; Wed, 24 Jan 2024 12:37:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706121421; bh=gED2gWvfzs427INIi0H3xv3sSVDvHPQjQ9BAVAAoC9A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jAW0g5Ts8b2iGphyZhrwTelP68MNKuhP0TdPvuo+5v0Q2iImd62ORsChTTJGv8w0w 0rhKGgYcM9nR/dzwcrKQr1QwhLBC6XQOeF5hrJlC5cDQpbvtuJLFZMAetwbQ1JjZMM Q1RphEBczfScTkrPEPnGegd9P40TVp+atdmDMr+Q= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIb1Mb015383 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:37:01 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 24 Jan 2024 12:37:01 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 24 Jan 2024 12:37:01 -0600 Received: from lelvsmtp6.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40OIb0bA106485; Wed, 24 Jan 2024 12:37:01 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 2/4] arm64: dts: ti: k3-j7200: Remove PCIe endpoint node Date: Wed, 24 Jan 2024 12:36:57 -0600 Message-ID: <20240124183659.149119-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124183659.149119-1-afd@ti.com> References: <20240124183659.149119-1-afd@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788998064018720881 X-GMAIL-MSGID: 1788998064018720881 This node is an example node for the PCIe controller in "endpoint" mode. By default the controller is in "root complex" mode and there is already a DT node for the same. Examples should go in the bindings or other documentation. Remove this node. Signed-off-by: Andrew Davis --- .../dts/ti/k3-j7200-common-proc-board.dts | 7 ------- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 20 ------------------- 2 files changed, 27 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index 7e4fd7ab9750c..ce2a5c9699de8 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -388,10 +388,3 @@ &pcie1_rc { phy-names = "pcie-phy"; num-lanes = <2>; }; - -&pcie1_ep { - phys = <&serdes0_pcie_link>; - phy-names = "pcie-phy"; - num-lanes = <2>; - status = "disabled"; -}; diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index 1e2434caa7ffa..57608a6a64e6c 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -773,26 +773,6 @@ pcie1_rc: pcie@2910000 { status = "disabled"; }; - pcie1_ep: pcie-ep@2910000 { - compatible = "ti,j7200-pcie-ep", "ti,j721e-pcie-ep"; - reg = <0x00 0x02910000 0x00 0x1000>, - <0x00 0x02917000 0x00 0x400>, - <0x00 0x0d800000 0x00 0x00800000>, - <0x00 0x18000000 0x00 0x08000000>; - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; - interrupt-names = "link_state"; - interrupts = ; - ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; - max-link-speed = <3>; - num-lanes = <4>; - power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; - clocks = <&k3_clks 240 6>; - clock-names = "fck"; - max-functions = /bits/ 8 <6>; - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; - dma-coherent; - }; - usbss0: cdns-usb@4104000 { compatible = "ti,j721e-usb"; reg = <0x00 0x4104000 0x00 0x100>;