Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CF4D489873 for ; Tue, 1 Sep 2026 17:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788283268; cv=none; b=JikWlzOptH5c0Jf9BpKoecM1YW5sukGYu1Xf5ajXHH0nlJkPEyR6VcvyUUA8V2IV/LAxyj0x+PFyJCGzw9ydozlfRePFqDYWm8BD7n4aHdU0F58kPq33AnpdwOVUw4lIa+AaelQh2HrFU+/zDgPxA2I9A+0CHgMcuEqY+Z4f0iQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788283268; c=relaxed/simple; bh=OQLNFPvUQ42540MPbj4N+mCmoR6LhlUTwjDObKA096Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Dk7jdf1sDZ1BI3O6mvuenCDG9mAmzLg/ChJgRTvj2vjYvVMYmvM0W5Ub/jhZt+Kv8OqUCHSmjtIsdbLvfqi+8KSlqqIR1twPDPpQDS/SldcqwzXgjtxxR2VqW45r+sth6OSOcwKVZP0CFF64YQAEYJlkhkEGNb9z8WZgZkVb1/s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20251104.gappssmtp.com header.i=@riscstar-com.20251104.gappssmtp.com header.b=AQqjXECo; arc=none smtp.client-ip=209.85.160.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20251104.gappssmtp.com header.i=@riscstar-com.20251104.gappssmtp.com header.b="AQqjXECo" Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-52cd38ddcdfso112181cf.3 for ; Tue, 01 Sep 2026 10:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20251104.gappssmtp.com; s=20251104; t=1788283266; x=1788888066; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=F86NIStLY9cGoGB3xcagvq9+EPuFUydagIKpVoDWv1I=; b=AQqjXECoDXFW3/SbH/KCJD9TxYC1OO5AmNMq5zXo3mdVQ9mdXpaXhxtIaI1Q58JxCK n7KxZ8EfMW8XfMBF3bD0yTJBvO1bWIpbY15T5h2Dqej5JstOTutQa6NMvpDKYNB1DEl0 YheKK4xFgPirifEckSJtFTaOkKEGvOjLCVvr5FZDG9JZadUeHF+OavvMifOR2sWwGAdJ d5UevThE2xpSbIX95PpbgSSfeB2w5soWMxsffj+6oVQM3F87a0M3BrGrRj8dLRQRAwHc aptNHszZnD3WOHw0ZYJnyCJFXJJehUQrnUqgCNo67PH5NoCbAGzEywt6Am+S22PrZG6K nmXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788283266; x=1788888066; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=F86NIStLY9cGoGB3xcagvq9+EPuFUydagIKpVoDWv1I=; b=J69h6NsqZM5jVc7aENuTRBIUPdU5/Sw0O2vOLW3368DZbzhm3JPMBnLogS9d0WUOl/ zHXI+Sl6Eq5XTgE7G8PLTWbuVUzVKHwcaByHWmcqxWAM2omU1DCL8oncBHeVUljr7ItG h+L+uWoKwAmTNSx1fJYwyuxQI0cFiu7XXwiyerJeQa0ohnQ6YodIbeUQjFU+SmXEzo0L pg2ASzniJpfIopKkQusPpjT6PrkCjKPDQeYowDOwqptz5mcj9i9n28p7RMnvgq0mxT4f iq6vNGD07K06pPQuIti5MJVHJnuWXf+mOobYVOgiB0A4nEFF/PDQHjrix5cTrRciLOKK rlrg== X-Forwarded-Encrypted: i=1; AHgh+Rr978FvbZbYiohRUAShBImdv69zk1HIBo8wX8Hprh+w8tdXC0icDHwRwjadzX/tXANLcWjQq1/fVuuyEU3X@vger.kernel.org X-Gm-Message-State: AFuF++ledcJZ5Y8DOZDhN9SS3vkHPd1lWgVPgpZydOKUGVIPUGED92wz OZFBBKOM32GRw0+jSYGhqTl8f6iiDL9t2laQ+sErpQ9AeOzzSdQGu3HnBZoziDQhPRE= X-Gm-Gg: AR+sD101XPDcV0Snqg86NWn+Cu4a8KO/L1IXasEkLgghhCePGRvenlmFO21Du5gq9nF enYK1ZT34GaqCzgUlQL8TugPKjvoyx3zWkfo33oCDg++XGuPjkfoYrIb9ytqld7eO+kgPueAkFd 641vSq294ilVJLLeUaBMsh4nDGQfYdRNGp1RuDz424xUiNPYX/6I3sGOoqp/5+nthq/rCVrNKj8 or55PjwdsiRym6IiArMDINMgJttjuWhe0A6BnG35/z2BQ2s4iIm0SLyZHHzXNrdzZCrG5A189le 34psfnkolONqnL0C4wZRJVW0EvWDWfRjQiRgAyro2aRSeDmAPrTegGMH3MWkKxF0k4Wp+vLyFK3 4LLMjnIxFThNxe08Pf1vem3PBKJfTQ+KJ60rIL2k3Zhpb4k42eilZsls+Kvoo/HkPMGICqZhcgU rB3oUatu6AZk2+NdUKRyEA2aQvN36f7HkX6CuDRE9qZWuvETO0O9DsC294zkvqaGNbKQ1dwpAbc 9I= X-Received: by 2002:a05:622a:58c4:b0:51c:ba4:d837 with SMTP id d75a77b69052e-53021bc32aemr151866041cf.18.1788283265551; Tue, 01 Sep 2026 10:21:05 -0700 (PDT) Received: from zippy.localdomain ([73.62.185.64]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-530331d9cbcsm1423661cf.16.2026.09.01.10.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2026 10:21:05 -0700 (PDT) From: Alex Elder To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: daniel@riscstar.com, mohd.anwar@oss.qualcomm.com, lorenzo.bianconi@oss.qualcomm.com, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: qcom: lemans-evk-ifp-mezzanine: use pci for device nodes Date: Tue, 1 Sep 2026 12:20:55 -0500 Message-ID: <20260901172058.1512508-4-elder@riscstar.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260901172058.1512508-1-elder@riscstar.com> References: <20260901172058.1512508-1-elder@riscstar.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit A recent change caused the embedded PCIe endpoints on TC9564 SoCs to be treated by the devicetree code as PCI buses, which is incorrect. The Lemans EVK IFP mezzanine has a TC9564 SoC, which includes a PCIe switch with one upstream port and two downstream (external) ports, plus a third downstream port. The third port has an embedded PCIe endpoint with two functions, each providing access to a 10 Gbps capable Ethernet interface. The devicetree nodes representing these functions were previously named "pci@" but were renamed in the interest of consistency in commit e806c63ba51a7 ("arm64: dts: qcom: Rename pci@ nodes to pcie@"). Unfortunately, of_node_is_pcie() causes nodes named "pcie@" to be treated as PCI bridges, which PCI endpoints are not. The previous name "pci" matched such nodes as "default-flags" bus type, defined in the of_busses[] array. Rename the PCIe endpoint nodes "pci@" so they are not mistaken for bridge nodes by the devicetree parsing code. This restores the previous behavior, and allows them to be used for PCI endpoint bus. Fixes: e806c63ba51a7 ("arm64: dts: qcom: Rename pci@ nodes to pcie@") Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso b/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso index 6cfa0bc1440e9..22c975628ed79 100644 --- a/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso +++ b/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso @@ -271,7 +271,7 @@ pcie@3,0 { ranges; bus-range = <0x5 0xff>; - pcie@0,0 { + pci@0,0 { reg = <0x50000 0x0 0x0 0x0 0x0>; #address-cells = <3>; #size-cells = <2>; @@ -279,7 +279,7 @@ pcie@0,0 { ranges; }; - pcie@0,1 { + pci@0,1 { reg = <0x50100 0x0 0x0 0x0 0x0>; #address-cells = <3>; #size-cells = <2>; -- 2.53.0