Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1572365ybj; Fri, 8 May 2020 04:39:44 -0700 (PDT) X-Google-Smtp-Source: APiQypIFLCTJFMHpSNjakP8o41Z6+UOsnBF7OVJEsu9qVBgeAWx6DnjgwjSJKZVXmj/GiVKuJt74 X-Received: by 2002:a05:6402:206f:: with SMTP id bd15mr1839334edb.24.1588937984647; Fri, 08 May 2020 04:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588937984; cv=none; d=google.com; s=arc-20160816; b=Mku08hY9c1otTGfhtVwsDn/34pZfVegWVnkdlBs7PoLUlv5hSjVgKk0+SUliGGQiOi XNv7MhnjbFegazmRi9BededmX136qkCUQVZNNNNRYuMy/h5DOXRd0AYYlPFRcUZhEOaE l4Jgu27McgeE8lwOwSyO7loym4f7ivNGl6vzwL6jkz6V7cvNVALvFRD2hqcQ4B/23mmR oNvRY5EWXxiEjbc7Zm5kYA7k4cbLVCSdgVaeWvAVAvsyojwwofSgsDAp27qX3r0TVJcW p/HQiUfeFk6UmLjdNoqAvbUGQqiv3RALKh1MQpUctulX6mVq7LNQrhd/MpmtAOzEmQBT lkWg== 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=wU+0p6oxLD9UlzperG05bPhP+mP5Iu5yRjrNth5LzlPTDfwWRqV/sizBLspa1fd3cW Wlb23jC8laZEIMhhZWRsRb1D12Oalu9mv0rx1DV99s0pcpfgS7ZtIpCuHVIu7DRGbMfj LwwZtyGpxOGAwW4Xnl9LIcmbvTJAzkg0U8jZ9CWx1ZwWYYBZEX9rBUZE0UoZnJj6Ixgl qGnvaG/ST0c6YeJr4Q9a0wECjPlJ0Ox+lhymsZsOJJsvZhznWM2pOoD7acWsbdO/eNby zf2zfG6OxW9LzMXEzQg74kHE/iM9JriqVhWPxwJ/+WTQiRQQxUwIb4Q1b7hhxmir/OBk OFdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=vc1AjuIL; 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 q13si739430eds.115.2020.05.08.04.39.21; Fri, 08 May 2020 04:39:44 -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=vc1AjuIL; 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 S1727801AbgEHLfM (ORCPT + 99 others); Fri, 8 May 2020 07:35:12 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:33114 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726946AbgEHLfM (ORCPT ); Fri, 8 May 2020 07:35:12 -0400 Received: from localhost.localdomain (unknown [142.147.94.151]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 8C25F20CE6; Fri, 8 May 2020 11:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1588937712; bh=iUXO+v5HiDqJPHq2gf+ejS8zrWOdgWrDJWhC3uNK88c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vc1AjuILSImBhPgrLowaPDdLOFhi7Box4JH+iYxpBWjQLDAY1Vc/gzeLtuiGK2a+j rdi71CpmFEBzy3Bphflmr3nDCfQmo8JcbWxzpimD/IZs184Zkyvm2apd0HoDx5gUBs Uwx2Xg+IjdQ2L+coWsrRs6oi8XSjcjNxHI6GSb0f3ow3vKl1qPAgCLPq1PovOgzh9I Lu9PWNck2U98QgSz/S3x5nhHS5stBlVPGYUcRayBytZwTk8IP1GXc/WsmyCoQKFqaX Ha35SSOIY6a8m3+NM2GrFfbvMR9phsHZSdj+DQqYn5SONzAti8Rt1XRygSyd2KRvW9 /JL9KJqHqHCRg== From: Jiaxun Yang To: maz@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, linux-mips@vger.kernel.org Subject: [PATCH v8 4/5] MIPS: DTS: Loongson64: Add PCI Controller Node Date: Fri, 8 May 2020 19:34:04 +0800 Message-Id: <20200508113414.3091532-4-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200508113414.3091532-1-jiaxun.yang@flygoat.com> References: <20200427060551.1372591-1-jiaxun.yang@flygoat.com> <20200508113414.3091532-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