Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2588768lqb; Tue, 28 May 2024 04:58:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUI1RlXKaEySULnh5KNfeUoY2HMs8TmJFB1xr463HJ/fTnMZvGRm78240LSJy61GlWiXWYfgFvQk2py00XHyNAeVwTTua+EvTMY5FEiEw== X-Google-Smtp-Source: AGHT+IHyA8Jt8tjbsUiNsrMSNuVtjAKm/3oCZFjfs2Wgxh9+WuPx1z6RXTosU76Nazofnrl2xGlv X-Received: by 2002:a05:6214:c87:b0:6ab:8434:d4f7 with SMTP id 6a1803df08f44-6ab8f556418mr302582936d6.16.1716897490681; Tue, 28 May 2024 04:58:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716897490; cv=pass; d=google.com; s=arc-20160816; b=NEs4TmWneGlszHF+HgooIc4VqzoVf5W6G3Bta3bKMa++ne4/dFNt9RmVN5eHfNIAsa Pg5y8KUVPyaOx3aMWQgZCNFC4uPXmdMi0FLZ9EsuDJdcTI2mSnt9bsWQiYSKIFf0h94c +xmGk9pF3b+ls0IZ4Tj1nS18ej65LoDX9sw4lgwVavQoTza832cMIcAcTbe3kkZuA3HK RXVL6/HOgXWNBhaPZmilOcHzdtkXvI6zF996DfjWba73YFGE63zNdE74evsLSBGsNJ7r Z6Kh5WrJ7lGQRubXzhTKKjOgexFX8aHpDDCO2Z+1tKJhGbDpyTSBSYMiihOduZhVnzlp mzWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BWT82RO0QunRblba0EFdt4gMDSD5+Ehv5GYKQR+KacI=; fh=uFP6XZg8S+FxzDNcggqn+b5SsHAceP+JFHBXQUvm6uQ=; b=fXlsHNO+957u9+CNi/L1X8MyD1Lb+7CYxckqeIy4vBUO0ScziS/YWvjQiDYjP+b52q KgT1m9jB+tuKm8MiyQ4sfrY1mwhQxEnSNkFqXO28PxEUv1cZCWycuffuIzxEHJ8t61JK WaSGkrtagSHogeTQk5T6toeGVJahgtox2uUttxf29LRnVwx/nfKbMR5LU/EsMRbsQS37 nMcz1PKB+fM0jgDnElQFU8lLXgJCswzg3jGxvII0NmPoanazuZLvsVU6w6Lm96oGR6xW Bmug+NU1uY45OPGJA3mmgk8MtL0qmm4/RuX7hVAMw63Pf00zSE/cvb8pz/+9BUqLYRmI xebw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="LI/XBhMM"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192234-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192234-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac11428481si102941766d6.318.2024.05.28.04.58.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 04:58:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192234-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="LI/XBhMM"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192234-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192234-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5C5941C228BE for ; Tue, 28 May 2024 11:58:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0CDA16C87F; Tue, 28 May 2024 11:57:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LI/XBhMM" 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 076BA4C97; Tue, 28 May 2024 11:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716897479; cv=none; b=rIqu+rBugC2t9eM7hApaOetIsJNUS4wd/TNSBagLzfjagJMISB+RQcomsMkJNsujtyy83jqLv502kcD9FYJJalkyAYTXab6ln+JuvrifQvJtYvrHh4Mq2avCEz5+sqFICfgCqPet3w8lYDr6UWqi97u4kZjlRZ26NsYzqqrA5Xg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716897479; c=relaxed/simple; bh=1lYQK5mXOyUpa175X1Sy96vhJCVsXrfaSlYdbye/ge8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=G0guna3hVbZ1UKgssT7/lhvzIvE+WFJ/8nlOBSKdJxscI/Zsg6Jg6Bv4OXIY7KPNY89Vs14F/Rb45j3WXw99p+hbwi/nFoUiYuM3KhAdgjjRyKgB11HcgLu/S5t1OWFMVHsAafO28lsOgsfu0At/Xllgxe15DqdjSbV92Wj3smk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LI/XBhMM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B9DDC3277B; Tue, 28 May 2024 11:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716897478; bh=1lYQK5mXOyUpa175X1Sy96vhJCVsXrfaSlYdbye/ge8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LI/XBhMMNJFFMWherkusHeRzK7+ig9lgB76uzLfVZp6mhu+jz6rvYccIm0xFBmnKI qdIp+dgugEptH32RE3YLTOitOBMYIkW2ueYGAhLeAMPyxUOVCSOta9cjGgW1C4zOwq NPG4ouUTyBKglYbxJy43bFGuKim5CphIm3SzdPGjIbeMsjvBwRhxSag7ZF37u6JI7v slfoiaO2tH4JIOhF6hiISFnV6FP+EPXBqSnwoLRHUdXfAxWjd9PoxOVOTWUtwxR3zb PQ7jbqxiTd1NKwpJEwNtDkY8ZihuVAt9Nv59Uwgr6NKwU4MDZdrVCRFvdWakdI1uFC MK1nXmNHqjmyw== Date: Tue, 28 May 2024 12:57:53 +0100 From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: Conor Dooley , Daire McNamara , Jamie Gibbons , Valentina Fernandez , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v1 5/5] riscv: dts: microchip: add an initial devicetree for the BeagleV Fire Message-ID: <20240528-movable-chlorine-cc5ebabb8abf@spud> References: <20240327-parkway-dodgy-f0fe1fa20892@spud> <20240327-hurry-escapable-e3212bf3cdd8@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="z79wW9aJnFNbzgAR" Content-Disposition: inline In-Reply-To: <20240327-hurry-escapable-e3212bf3cdd8@spud> --z79wW9aJnFNbzgAR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 27, 2024 at 12:24:40PM +0000, Conor Dooley wrote: > + fabric-pcie-bus@3000000000 { > + compatible = "simple-bus"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges = <0x0 0x40000000 0x0 0x40000000 0x0 0x20000000>, > + <0x30 0x0 0x30 0x0 0x10 0x0>; > + > + pcie: pcie@3000000000 { > + compatible = "microchip,pcie-host-1.0"; > + #address-cells = <0x3>; > + #interrupt-cells = <0x1>; > + #size-cells = <0x2>; > + device_type = "pci"; > + reg = <0x30 0x0 0x0 0x8000000>, > + <0x0 0x43000000 0x0 0x10000>; So this ain't right, I sent some patches yesterday to sort out accessing instance 2: https://lore.kernel.org/all/20240527-slather-backfire-db4605ae7cd7@wendy/ > + reg-names = "cfg", "apb"; > + bus-range = <0x0 0x7f>; > + interrupt-parent = <&plic>; > + interrupts = <119>; > + interrupt-map = <0 0 0 1 &pcie_intc 0>, > + <0 0 0 2 &pcie_intc 1>, > + <0 0 0 3 &pcie_intc 2>, > + <0 0 0 4 &pcie_intc 3>; > + interrupt-map-mask = <0 0 0 7>; > + clocks = <&ccc_nw CLK_CCC_PLL0_OUT1>, > + <&ccc_nw CLK_CCC_PLL0_OUT3>; > + clock-names = "fic1", "fic3"; > + ranges = <0x43000000 0x0 0x9000000 0x30 0x9000000 0x0 0xf000000>, > + <0x1000000 0x0 0x8000000 0x30 0x8000000 0x0 0x1000000>, > + <0x3000000 0x0 0x18000000 0x30 0x18000000 0x0 0x70000000>; > + msi-parent = <&pcie>; > + msi-controller; > + status = "disabled"; > + > + pcie_intc: interrupt-controller { > + #address-cells = <0>; > + #interrupt-cells = <1>; > + interrupt-controller; > + }; > + }; > + }; --z79wW9aJnFNbzgAR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZlXGwQAKCRB4tDGHoIJi 0oeuAQCripgxkKIvfMVj9OYaqpJnxghyOymmY6JCpmywHPYZ3gD+JxPnKPy7CEG/ pxHE90yC5iB1AQRd+jHpUhskYg101gg= =Au0t -----END PGP SIGNATURE----- --z79wW9aJnFNbzgAR--