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: 185432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp6296643dyb; Fri, 5 Jan 2024 07:38:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3E6DcFcuCxsKCaWBLhTOrTxHrbR3aoBxiyts+81sHz8D5I7ogJcJ8ZUFKrCZnHL6opbwM X-Received: by 2002:a50:99d1:0:b0:554:715d:aa59 with SMTP id n17-20020a5099d1000000b00554715daa59mr1530747edb.59.1704469084385; Fri, 05 Jan 2024 07:38:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704469084; cv=none; d=google.com; s=arc-20160816; b=ShKKwKj/R9xdNeIxsSJbMEAucrJ3yWF11O9/dkXCNulrv4fJoKSJLHOgPK8l59y30Q Vv9uNjlryacIc5MfeJhjnQLB50gyX9B7W3o9IjevHgSC2PCInUlYysqAPMCQv3HTTbjh DbMnb7mEwz6ZG3iyY6Da4sYQwTsw+5Wkoi4GEjs1qbFPrnDo3/cUnJDT+qc6MnNaQc4S gy6HAB8IPapPpCyr5ZStVfx32RDnXhk2V+qNlI8HP/pEMUMCyWM+uYJj2xMnrpV4Eb0r yqU4N9Tj+IiesoDnDXIILz7Y7A3leZMKVOms2u9YB6kXFPr3EYIdPJNUiwLLv8HoN8Sz lCsg== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=eZcyivV0jPWAEC9YBO2Pq09DahVNVNQe3V2NMf14YWY=; fh=zH3SKkIad5V3dR1oKCiZEIVLMXTi27mOnsoy+OQPntA=; b=OQiFH6ZAhivPeUWMTtMLo0m6f/4fvhM/HCX/lEW6xD3YaN+V1lisCFlmJ/8JoVU2w7 U/WbwW8DIaiwooZ4vRH6crMUAMJNLBUbyzx6tNVExLTQj7IdTUvB1TQlCp9OXOj/Ry9n UNPdFqADUwsCN8tnogwTY1O5Vsb4T/3JzoHFkDwmUSgWIfO+j7gTbxrKS7/AXhjrs7vg Lt9EcyVTdkLb0bIAD8C4LnzZf/+ofc0e9fMiYeXnXdIy5bIjFtUXRMDkvOrjHn1TicfC dMeAivmFcUiOZfAIc/IndhuVBb1omy2tsmYHVcieLgp2cMf1Sh0gkgg3NB0lrR2smG6O ktRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hEHktiNr; spf=pass (google.com: domain of linux-kernel+bounces-18001-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18001-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g16-20020a0564021ed000b00557039aa169si756269edg.76.2024.01.05.07.38.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 07:38:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18001-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hEHktiNr; spf=pass (google.com: domain of linux-kernel+bounces-18001-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18001-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0367F1F22300 for ; Fri, 5 Jan 2024 15:38:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AAA022E822; Fri, 5 Jan 2024 15:37:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hEHktiNr" X-Original-To: linux-kernel@vger.kernel.org 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) 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787265374899731607 X-GMAIL-MSGID: 1787265374899731607 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>;