Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1325137ybk; Thu, 14 May 2020 06:19:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2XDBU1ksdcIH/jx/ocEPBtNvUHnXJYupnVbSUUcKuRHN9bjSFFh807Q+1zbPrJl51Zkro X-Received: by 2002:a17:907:1189:: with SMTP id uz9mr3856632ejb.53.1589462385562; Thu, 14 May 2020 06:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589462385; cv=none; d=google.com; s=arc-20160816; b=zF6u6B5dE2WPScHN39TrQYAxNLQemhTm4aYVWz1O98mo7k71dWFA7Bic8bUeDu4Xbw p94FEErDunz/VmODbghzOgP7mPK8K/bhtDQBZWZIg+Cqq/kyjzCB1wRyCgnWOEGzxbwW Ih5azFbbeu2HgvvmrcDr6B63Y+2qND5ifaboplVGr/yhEteEiYmkh3Z6YwWVZSFXGUES QpiRNM2h+8rZKwqGmV30zxRRqXD6qC35y0NTJ+DRtUmUfRBwU3Nk8Or2xVmi9vkPPYUK yex7rfmSgUYejims2MPZIp8X8Z2zezUxDTQZk8C3JfSaT8u6U8ruwtQSoEur3emTpI5o eHWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0iJIFc8ktNVElS7JrKBFXAmH9F6v+2jTN3kQ8YoQgtU=; b=yM9tKDgzYPNi2t8MK9A/B0yKLio+VVszFXUw2F+o2LRKcyzLAgom6Hahd+CzlLdvV6 FmWNzkyRN1Ho87XAmRPFLZB2rc1rhW1umIJZzYk7fuli3tKVUm8aoAcBVb5p99+4ukFu oSGcbpCck+VESF8cRzbpuVA2pQ8+W6yaWYnyY6Achb9YDj/8KssSPeUG9tL+bD7+gq+K MDc9QAKU0V2Kll6pPgHSeAln5tKdTLeGAB1GgGXSvIv5HdprgtIwea6xqu/cdi/LMKpr B5mnYsbK8S59f0pxCbXtupZtUzNRI4+QhHJ3aSP8mAj6GYvu8V7sJf6IpEYdqttAhcaA 43sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=kxjLBnzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si2002085edh.424.2020.05.14.06.19.22; Thu, 14 May 2020 06:19:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=kxjLBnzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727841AbgENNRl (ORCPT + 99 others); Thu, 14 May 2020 09:17:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726037AbgENNRl (ORCPT ); Thu, 14 May 2020 09:17:41 -0400 Received: from vultr.net.flygoat.com (vultr.net.flygoat.com [IPv6:2001:19f0:6001:3633:5400:2ff:fe8c:553]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D56FC061A0C; Thu, 14 May 2020 06:17:41 -0700 (PDT) Received: from localhost.localdomain (unknown [142.147.94.151]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 12843204CB; Thu, 14 May 2020 13:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1589462261; bh=2II2DHV4+Iks6xy2EWtnJbO+xA3KlRUpJ+Ydv9JIdBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kxjLBnzSnCKPKzk3QO7XoEx1iBeA5qZtU1+cumcmELrDgLUQhlhnW+JvHfaRWbGRS txPaC3dFUldnFN4oZmPF8aiQjj1pLv2PoQumDjB0PADTNso7pwDU1sZMRSPFyzJtvl ipO/FiOLUN50R843o0ZAWN5tqMnwcElRXtx7pJAgWddIKK2i/SWj2UDvDqeKUnn+sk drHHLZ+qAZOq3c7F9iMh96moNZ9i4ZJWTziI7ch4ugfmt6c/Oj4nddRZz1fIsUCaRC PyJO3w08/+yADnJlm6IiCE9wCHXxJoanog7xUbO+htcD38oA4wVQzC/BIcE0QzW5dA rAt+01Cj7mh+w== From: Jiaxun Yang To: linux-pci@vger.kernel.org Cc: Jiaxun Yang , Bjorn Helgaas , Rob Herring , Thomas Bogendoerfer , Huacai Chen , Lorenzo Pieralisi , Paul Burton , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH v10 4/5] MIPS: DTS: Loongson64: Add PCI Controller Node Date: Thu, 14 May 2020 21:16:40 +0800 Message-Id: <20200514131650.3587281-4-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200514131650.3587281-1-jiaxun.yang@flygoat.com> References: <20200427060551.1372591-1-jiaxun.yang@flygoat.com> <20200514131650.3587281-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add PCI Host controller node for Loongson64 with RS780E PCH dts. Note that PCI interrupts are probed via legacy way, as different machine have different interrupt arrangement, we can't cover all of them in dt. Signed-off-by: Jiaxun Yang --- arch/mips/boot/dts/loongson/rs780e-pch.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/mips/boot/dts/loongson/rs780e-pch.dtsi b/arch/mips/boot/dts/loongson/rs780e-pch.dtsi index 8687c4f7370a..d0d5d60a8697 100644 --- a/arch/mips/boot/dts/loongson/rs780e-pch.dtsi +++ b/arch/mips/boot/dts/loongson/rs780e-pch.dtsi @@ -9,6 +9,18 @@ bus@10000000 { 0 0x40000000 0 0x40000000 0 0x40000000 0xfd 0xfe000000 0xfd 0xfe000000 0 0x2000000 /* PCI Config Space */>; + pci@1a000000 { + compatible = "loongson,rs780e-pci"; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + + reg = <0 0x1a000000 0 0x02000000>; + + ranges = <0x01000000 0 0x00004000 0 0x18004000 0 0x00004000>, + <0x02000000 0 0x40000000 0 0x40000000 0 0x40000000>; + }; + isa { compatible = "isa"; #address-cells = <2>; -- 2.26.2