Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2559008ybz; Sun, 26 Apr 2020 23:09:09 -0700 (PDT) X-Google-Smtp-Source: APiQypKcTjC85dHfI6hJsIHRRAmhLpdftAzCtqxHiYmyYzYOWvkZS4Urp6jxDQ7FTqQAz+05lOVf X-Received: by 2002:aa7:d306:: with SMTP id p6mr16774257edq.35.1587967749849; Sun, 26 Apr 2020 23:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587967749; cv=none; d=google.com; s=arc-20160816; b=HaJz06Aob3bjL47FHCySsn10FBa4Q4UYQ8OOnJS1WPXYD0gLwhivAVx6q2wutQ/To5 vo9YmVSHo7aBjOE55wu3ZU0ikhtxdGq0HiiNezyEbRiSEII6XLp7BGDOsZUw1Q8ehN1Y ELRf0iFJy9vXZ7gqvzJeTVcADeS1iKsdIIsveM7Jlwle10VxFyMHR3JcBU9IACDm69Rw VZeqdwGwZJbcs/KnJTNS8u2wbJdTJi+JC8h9w85uSiaf1/elY/HdGdzzX5/hSOooFkuX zcBMSfEWltU/m8I4VjAKb6cBZSS0HUttiHZf+PgjcRPP7r4nDP4iIibBk7nocotRKqnl A3hA== 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=KWxHgl1D8Ccsxnel2nhLt5uddk19TGylawwG7hpF37k=; b=U3DiaD43LlHslBV0VinnDzP3CDto7C/cVd5qTAb3SBPqAsnsmD7bW9ZDU2PzMusQ8l /8uut/AUDYQE1zXOidgWZGAMFK1L7ZWEKPEpiSFVgEx6CDn2tIkFRQgrzUXYx4f3Ixfc qMcAGXB4UKkq2JwCf9x6RWApZZRUt7u1CDBVY9EAD9+edrgRSCcgon2MnajvqMUP4/iZ TJAT4Ym0Yy1fFn4Xwid7NIcnfTODBrSzl5W2l4QVYHsDtVp/RklbZyuD3ZWZBRtVTfUW HHBK3Jmgjl5v94doG/SkQS2REbeB04j1PMHi+FNY/+J8OktFi4/mW5PpqpXWXg6mi0X0 TK1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=k5vvdjKa; 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 i14si2203084eja.57.2020.04.26.23.08.46; Sun, 26 Apr 2020 23:09:09 -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=k5vvdjKa; 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 S1726624AbgD0GGs (ORCPT + 99 others); Mon, 27 Apr 2020 02:06:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726221AbgD0GGs (ORCPT ); Mon, 27 Apr 2020 02:06:48 -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 84B37C061A0F; Sun, 26 Apr 2020 23:06:48 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 5C34B20CF4; Mon, 27 Apr 2020 06:06:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1587967608; bh=iUXO+v5HiDqJPHq2gf+ejS8zrWOdgWrDJWhC3uNK88c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k5vvdjKagmkn/5PUC9aQhXpcR8gJin92lltBhFLn5WEKPCmZI/g+MW5zupOqRNVJ5 huJS2ujug92gGvisVZBHmanyu1VQMgOiUrGDVShx89YA8AUj75psSxmTiOpGPDTgr4 7oQnt567WMUYMydlTbZGh2QGo28HQSsGQc/MihCNx0li0rhizHydmApeIgOrNguI+7 LjAYLl5/5RE7Kd7lCrGDWUBf/jACPN2k8g8999MNkllmk0l6awbZzemDNfhV/On6jJ 6dB8iFST3TtbUMYz4VGleuXtCTQuaNe0XFpV50upWudgnDT+PVD5aq7ssCnnhkSF5j Aa72r8hRLAYQA== From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Jiaxun Yang , Bjorn Helgaas , Rob Herring , Thomas Bogendoerfer , Huacai Chen , Lorenzo Pieralisi , Paul Burton , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 4/5] MIPS: DTS: Loongson64: Add PCI Controller Node Date: Mon, 27 Apr 2020 14:05:41 +0800 Message-Id: <20200427060551.1372591-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200427060551.1372591-1-jiaxun.yang@flygoat.com> References: <20200427060551.1372591-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.0.rc2