Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp14274ybs; Tue, 26 May 2020 02:25:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJe3g25BlohOK8KM32hcsZWQ3O2XnK+kkRTOHq1k1m+4SmxRXiuWzdxBzTz+8hoAH5GtBq X-Received: by 2002:a17:906:6d18:: with SMTP id m24mr262062ejr.519.1590485116762; Tue, 26 May 2020 02:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590485116; cv=none; d=google.com; s=arc-20160816; b=nMEcCVphRmjqUtGPTYwhX9eSBsQDyOuNh6yZGz6wuVOn9A813ZaIWSiIywvV7Iwepu Aj/hHRYTsfF2/yDemo+WKad7k9BCYZtfAP4F8L/O1A0QM6todmeyX+x4+3seXcCZo5s+ oqXDf0MP0pvKOao4ELkUeSuePOfJwoBY3fAOVKXfeTJzSqiAGWgdHP4n7XaUa+YqEbJH bDbOnhK/IOmy9mMiP1UHe8GWYcjRMATMxv7o5+NSyBStlcgenyAxjpLatLJCd4YiPYId IR3V+SiETdTDNZQYmcAvlNzyEaF6wVgyuRpsYdMlNqlHG0zBkoeLcqn8oXDvvjv9U9oj XqAg== 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=VLb/+P8COx/Uw+GQiu6jQB80nTMVF90hKAs2xZMx3f4=; b=o+7z9OnDEe5th/PEFzbQQX4Pb3fKW+duxusbYd1OY4+eWnArg4Zd6pMFj4o+quWQ6C 1UDKd7dI95EBTXPsLUiblw1XHmmH8M/1XDrVW/TCW5BOqAenAdIXhk12eQ9pWUXMNUMB 0u6MmNJ+a4dPFVbX0YwSBlpjUWZunZDmxtPmvBNMCrfpIr3LcQ7yGlyIPHX0h3a+cQD5 OH2rLoe2+4wh+StjkR7JW4juT1xALe5b26b2nMFjC5Wzbuqoxq20+BcmPWsFmzm/Mhw2 N8w7gcgGoE8RdibK+AQpcB5B8k+LJsurdHsp0tyXxUbUAkondXbo8HWA6z3emItdQlQ0 iuVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=dDVgagmL; 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 u7si4019034edy.15.2020.05.26.02.24.54; Tue, 26 May 2020 02:25:16 -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=dDVgagmL; 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 S2388603AbgEZJWt (ORCPT + 99 others); Tue, 26 May 2020 05:22:49 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:34282 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388425AbgEZJWt (ORCPT ); Tue, 26 May 2020 05:22:49 -0400 Received: from localhost.localdomain (unknown [142.147.94.151]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 99C1820CF1; Tue, 26 May 2020 09:22:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1590484968; bh=1A7r30/ddO3YA2iwUg/iQ9hDTh5suKpgGWHi+jEZjWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dDVgagmLdmWB27rdrU+DYce+G6UbOoqtem4yEuPVs8vU4ceVlKwyyGBaVLXGYDyC1 T9b/7rFsjCK1gZQhRcgRepMcCB5cwiUh0nDXz82gY97MszRvpGCAq4uZ+yq4avhcZq YH0xzxtARQE6FsVV9Bo4ldiIgzQAU6DfaRGH0nY7MSWPuhA0ZIYcK2S+hot8x2sRx/ dBzmTHttwwKwv+L6Y/IvAtLZwxdcjndcPd4UWKt60T2DbpfzgaYO2Ew+9Et7v8wbmj aQTf8eLrVMwQosJguKomKZXCfcogVbktToSasgvndzNxr5PK2jdFAA0vx0LpBn+9+y Gyjl1FHPL/jOA== 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 v11 4/5] MIPS: DTS: Loongson64: Add PCI Controller Node Date: Tue, 26 May 2020 17:21:15 +0800 Message-Id: <20200526092130.145550-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200526092130.145550-1-jiaxun.yang@flygoat.com> References: <20200427060551.1372591-1-jiaxun.yang@flygoat.com> <20200526092130.145550-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.27.0.rc0