From patchwork Thu Jan 4 13:01:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13511076 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DFA3C47079 for ; Thu, 4 Jan 2024 13:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oU0OHMIknXUwrslAM5aECumvrLSmxdDfno6VtKH4SwA=; b=tgYM9kXTcmaj0B ekUCf62oLLh1H9ujAsCLb/o0vv/fJVCEBIW+bmr/ucQJzSYLkCSsXL7krdalWlxvfFQcT12rSt1Dr +m24LnsV1cV0BIZjkECcFg6aclcYrf/QcbUb3VhJo6gyBbI5BWVvuZe1zZnSJgfK4i1x7DBPNuRs7 L2U+5Vi65IWtF7sXZRKTY1fZfcp4gL5c//r2/XjmYCqB2dDRWHL0ItPa6cG2NbYM/N8KYGewGCA3v Gbc1oUoTGnKWG2DMY9n7c1tIdAbx6sBGTwwW67t3gQ9ufD6Pb0ZrDk4nDS+NNgkeLXNWMz8hhU8Tv qvSvgcc7R29PQ3SOlclQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rLNMR-00E2rf-2Z; Thu, 04 Jan 2024 13:02:11 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rLNMO-00E2nF-0h for linux-arm-kernel@lists.infradead.org; Thu, 04 Jan 2024 13:02:09 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-336746a545fso259966f8f.0 for ; Thu, 04 Jan 2024 05:02:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1704373324; x=1704978124; darn=lists.infradead.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; bh=HQIEpNJctaz16RzA/leTZqNcUN7vsgkXc8Xvi93qAho=; b=K1LMzOiQn8NrO4RSQBVDujaoO3NxVqW5LPFRYsDdEC6Vxhxm/UvxLHdNitPN7WmSal E9ZH/xMDQPCvkxw6SZrUjxqN+d3Xub5iRXK4TM2q6Pnd0PgkKqrBOjZMlE0Ln8FZZolU ua825JoUL/HxitN0zLIDQ8Tqr5aNp3p0Tpyeseb6evtlzkzgv6NJbVSa2qkTP2Dd66u0 ji768FtDGi2Y4XFFRx7puq1G9GRlYLBAGgFcRbUQlmzWow6ugxFVLK3TnzokIMS/xEWR QfofK9oYxyxikEcX2MpVxT4qrM1mrJXg2NB0M8U91S74NIE8bWq6MoAQQsBBcXZlyk2r IC1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704373324; x=1704978124; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HQIEpNJctaz16RzA/leTZqNcUN7vsgkXc8Xvi93qAho=; b=TsgC1VnTtR3e9ruvCMdDZ7QUWFOZhXlst4Vh6PYIFeQe5YFpnR8UTydSzBKeaRd5D/ dNIgHu2D7jiytYMBOSNHmE1J54qjC+VsjTJxWFghMg30HmBSavjGUOoDcz2M+WY7SY1f QR3FCKJZq58430UzpkjMz4AkMIFf66yfmpCdbJi80LKi1n8DZGxV+DVDRg2NXh3XhTzr f/RGIrZFJrNthlB5LbDDkTDJLok7HeFzlrrAFCR2HLURxzjgCy9aNkAdqDR/9jvrmkTt cmtER7o2RPOQ9TuoyckGOUEpsCN54/o9MtQ6zr356tPfQ7Ekm29cdmFoL6PW7n1lgF19 839g== X-Gm-Message-State: AOJu0YzU3DcnfXnOB4PNiwpxECJ4iZHKOquG44WzwE9zrKAHidRwjKBV Uslr9dOzaNL5JOYM0f69ADdp+m5XB0wXhw== X-Google-Smtp-Source: AGHT+IEYrrjaOaf5/IBZBDz2VUcMEHweLF977kWhWHW+xRF7Tv9rMBKm8dg3stU9d6EnW3pR2nQiEQ== X-Received: by 2002:a5d:4576:0:b0:337:4f04:933c with SMTP id a22-20020a5d4576000000b003374f04933cmr318898wrc.54.1704373323681; Thu, 04 Jan 2024 05:02:03 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:5b69:3768:8459:8fee]) by smtp.gmail.com with ESMTPSA id w5-20020a5d5445000000b0033660f75d08sm32887387wrv.116.2024.01.04.05.02.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:02:03 -0800 (PST) From: Bartosz Golaszewski To: Kalle Valo , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Bjorn Helgaas , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Geert Uytterhoeven , Arnd Bergmann , Neil Armstrong , =?utf-8?q?N=C3=ADcolas_F_=2E_R_?= =?utf-8?q?=2E_A_=2E_Prado?= , Marek Szyprowski , Peng Fan , Robert Richter , Dan Williams , Jonathan Cameron , Terry Bowman , Kuppuswamy Sathyanarayanan , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Huacai Chen , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, Bartosz Golaszewski Subject: [RFC 1/9] arm64: dts: qcom: sm8250: describe the PCIe port Date: Thu, 4 Jan 2024 14:01:15 +0100 Message-Id: <20240104130123.37115-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240104130123.37115-1-brgl@bgdev.pl> References: <20240104130123.37115-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240104_050208_252769_9A309252 X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Bartosz Golaszewski Improve the description of the PCIe topology by defining the port node at the SoC level. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 760501c1301a..fef9c314ce55 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2197,6 +2197,16 @@ pcie0: pcie@1c00000 { dma-coherent; status = "disabled"; + + pcieport0: pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + + bus-range = <0x01 0xff>; + }; }; pcie0_phy: phy@1c06000 {