From mboxrd@z Thu Jan 1 00:00:00 1970 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 A3F8F488220 for ; Tue, 1 Sep 2026 17:21:04 +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=1788283266; cv=none; b=AV+jvx4FNeBAiskwNpUPjvLH0+a9mnqcxO0MV9/MfFRa4kCDHaHvmWL9y2shgwYpqKfAVx7AmQc1JH+yMgQbkfpNzu+s6t58D0X1VH2Elb4ED10t/3tCrz0yBxxiVtzD/qnTmubnL7R0Iu6raGsbq2ouXWXzSdYYz2MeZGuwOLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788283266; c=relaxed/simple; bh=ZQZ1l5fYm5WuqOkU5KgBnUMdFxCFcIY2eQfRbuZVmis=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iCMQqFkWokcDqg+GCh7OgxS9GH10eu36mFESMuvAsx6KDW5Ms8RlMgJRfkd6cd497vWfmH7W5/ku096M/tmEP3f02PmebM8XrMCcqZ+wXdUM2Udh1YJGPXVD0iPAwWwVfXGoN4H/ionLE7x8xDOS2YlszM/CWZ+RZ1dMx4cmDJA= 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=0Vc2V+eU; 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="0Vc2V+eU" Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-52d7a3defe8so319601cf.0 for ; Tue, 01 Sep 2026 10:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20251104.gappssmtp.com; s=20251104; t=1788283263; x=1788888063; 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=Uv2BJxLvaZZpFr8An2zfM95tRAb7/Mj4O3Urh0xixiw=; b=0Vc2V+eUC9r7b8AcTlg0ogxQpAf/XF4GU5tIF4024uTSWNM997dEZS+EgpGgRDbU2+ mujZr7SfIX5cQKWNjCsBkNN3P75naIZsNlggTrR34XYTFXqHjgfizKL2xQFZDvbVF+Vy UYVfg76+a+UK2UytIioxjuwcMRBymeeQVzAbm/t2+kLW8WVnM1ECmQSHlLIaMxlFt2DX hG9BgCWoHnGIRMm0FapQkuN4g6Nvy5B/ZEi4PhY31dUQUJEY7PQqYTRNzmMON7K3DXaq 0yLHHy1YeXe5+1fS0uOw6tTPxJaINtRPMteUKmroi1LHXFUkZdTQV80HM1O23acvwoCn Vtww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788283263; x=1788888063; 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=Uv2BJxLvaZZpFr8An2zfM95tRAb7/Mj4O3Urh0xixiw=; b=f+S3c6s3Dzkyx/bR3hpxtd3cuVpadBPf88HXe+2oxvLgYpusDIrwWXtyQiA9N+s0kl BsomKROzDm67joEfcX/p3BKm+eiqx81r/jZxamHxDI1rnUoL+Ut0UBKs39k1S/0p6luu O1XGX7oDjtKhzHbt2ci4KheJ/YkxY4hS0sVqTWy33Djfb1ZvDMMqWTghQ07f/e7ZjsUB Gu2CeBUxKYGhhH7VAcO6Q2mobXWVaYJ9Cc/ErzXaHVvKcmSxIeXj/lnuUWKwpVjyJ7Nw LFG8js5oGNMiKvcT+qjPwOI0kmj/IWsa2QwPeW2/SWSdOofhoEWI5lCdUscTpIdf+EAK uUbA== X-Forwarded-Encrypted: i=1; AHgh+RrcAp+ZmfDDA1p11BIg4ADbzUaWn/pY6BQyZqe88lP8Mp43pP6TSn/nm14/ogrlSqWv2a1qrWbamGbG@vger.kernel.org X-Gm-Message-State: AFuF++mmwyum4lyuXPDDlkvwXRPyZeDKvHoyFk9jdVSUkxZaV4ZFPaaF WYZawVpMzVbAtdC/XfAYt3coNwjId/mqGSBzD/TBtq62lnFJ/45TDpDoYfNINVRM7dk= X-Gm-Gg: AR+sD12erz+aybYRupFTz4pcGUJ9UbhakTGuB7XBjXh95xZc7GecG6aIO0KbtiHF4TE ogardu/uT+kb9ThORxeIKoLIxf3Zfi/J1f4azGl3qRvOznIGeI41wcfxvtj21HRjaosg1NSe46n V62nDjyXO9MK9o5tKxpw1C6CjtYRQvqkxmgDXoVyeuZtn/1s0MEKHYkAyw4Dbh99Att0sTKi99i 0I6Q7qLYilUwYjdLNl1BbEy6tVhGRXQ3x0M0hx7/hUCNJx6EkoWLgTx32Y9pLvPK0o2khjRh+6P gdnZuPvU/gszY80CzeZhWyZ2lxaoh/3HUuSeJsyUI6CupX8zQil3lvA8lDtrBzhergTnfKsxSqy 1fxEJV5Pa3mkUXTzS+TYtznUCdBcvu1C9/hN5rwU6VAaTJIBkQdmc6JMw2DZh55fMrGTI5G1LVG v175DlfKCiw8eL6yM1m26ZP3miJRr6A0s7R78NZls8vz2//UVDCANpoTY0ZRZvWyG8Bw== X-Received: by 2002:a05:622a:116:b0:530:d3a:26d9 with SMTP id d75a77b69052e-5300d3a40d6mr195978991cf.29.1788283263394; Tue, 01 Sep 2026 10:21:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2026 10:21:03 -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 1/5] arm64: dts: qcom: qcs6490-rb3gen2: use pci for device nodes Date: Tue, 1 Sep 2026 12:20:53 -0500 Message-ID: <20260901172058.1512508-2-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: devicetree@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. An RB3gen2 system has an "interposer board" that contains a TC9564 SoC. The TC9564 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/qcs6490-rb3gen2.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts index a13315bf0fb07..99a985a177a61 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -954,7 +954,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>; @@ -962,7 +962,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