From patchwork Fri Jan 5 15:37:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 760300 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 265C52E823; Fri, 5 Jan 2024 15:37:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hEHktiNr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 545FEC433C7; Fri, 5 Jan 2024 15:37:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704469066; bh=cxMHZsqoXoXL9f4WjZLur+k1h6gb5OUA+yOongsuZG4=; h=From:To:Cc:Subject:Date:From; b=hEHktiNrwI/qC3Ln9MQp7E4Bq64RgQ4TGGACEtPa0pjHRHP7vswfDLVkCDkJN3aE1 +2RLLA4uio+2sY/IlYrRtb7d2nAhsJmawYKDiFA/L6xRACWZj3PzYMAtE5Eg/5+gds tBx+ilHqoo8rso71IjpYcIMAV3QEG4EhdDF/RTG2+4/lAVUwcgHORDMe1I2mgM9iVC OupuC9p7uqNhAs63ah8NlBCcvVX24u470AKtq1YvwaAi2rpahuFvgdQ7e0/o/u+hA4 g76QNx3kzVVkJ2Sup3M5w4fLIknkBehXlR9h24MPwZxf2IhKOM0SNXtyXD9bS+ngZO pkbrBCte7FKVQ== From: Lorenzo Bianconi To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , Felix Fietkau Cc: lorenzo.bianconi@redhat.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: airoha: fix pcie ranges properties Date: Fri, 5 Jan 2024 16:37:19 +0100 Message-ID: <95e2d79c1c36663cfffce5a20c95f8201670bbec.1704468417.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reduce and split pcie controller memory ranges for en7523 SoC in order to properly load a pcie card on the second port. Fixes: 08a4aeb2c23f ("ARM: dts: Add PCIe support for Airoha EN7523") Signed-off-by: Lorenzo Bianconi --- arch/arm/boot/dts/airoha/en7523.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/airoha/en7523.dtsi b/arch/arm/boot/dts/airoha/en7523.dtsi index b523a868c4ad..bb78d54e94f6 100644 --- a/arch/arm/boot/dts/airoha/en7523.dtsi +++ b/arch/arm/boot/dts/airoha/en7523.dtsi @@ -159,7 +159,7 @@ pcie0: pcie@1fa91000 { clocks = <&scu EN7523_CLK_PCIE>; clock-names = "sys_ck0"; bus-range = <0x00 0xff>; - ranges = <0x82000000 0 0x20000000 0x20000000 0 0x8000000>; + ranges = <0x82000000 0 0x20000000 0x20000000 0 0x2000000>; status = "disabled"; #interrupt-cells = <1>; @@ -188,7 +188,7 @@ pcie1: pcie@1fa92000 { clocks = <&scu EN7523_CLK_PCIE>; clock-names = "sys_ck1"; bus-range = <0x00 0xff>; - ranges = <0x82000000 0 0x28000000 0x28000000 0 0x8000000>; + ranges = <0x82000000 0 0x22000000 0x22000000 0 0x2000000>; status = "disabled"; #interrupt-cells = <1>;