Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2507869ybk; Tue, 12 May 2020 00:50:15 -0700 (PDT) X-Google-Smtp-Source: APiQypKuJl+bERat53d0xuZr/KKM+cB67p0YD6kyyEp02DC9zWIHPDxsJmQS0GJHgWC6vobcXUn0 X-Received: by 2002:a17:906:7a4f:: with SMTP id i15mr8119789ejo.71.1589269815591; Tue, 12 May 2020 00:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589269815; cv=none; d=google.com; s=arc-20160816; b=bXis81aPmzsuT3TQ3LmqiTWMonrAcWTm34HV0uGmlldC3NNUrNB7iG6T00ViespLyr wxplYnlsS7cEfYM47ymnNvLDcdUDO4c5xIV9fWXK9/h+S1f0V+130YeCEOMbM3btP12g 5lYppWjvxzQcIUMML2v1fYcdhYF+dU8yP8SP1f8szR77JvsuGXGzZ4B3m/ZDauT/oTvu bPP5JVd//douqcg9nF9nGsAzKggqZsDDEiE24KcDm5dGNCZDb2cgG6Lme1+s1I7xB+Kf JF06TcHhzk3hwvvSPRmiPlSzwSITEUbXEG+a3SMV4sMOqPLt0vdHaG4CR4y7JfHeaX6X /MPw== 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=LkZX+9i1249BFnsUU1KCo2t2OSvNx2AfkVsHJjRhtw+aXTDb8kxjKSFyckgbjC8FAD 1mJXmCuCQG6AuROiuW690K1VoCIYpjX0QmCcsMfpqVSaHuC43y7y+2M7G3bqVIJlXwyh FhrQvxRxi6oHe0+JUbgXfmXxIBvgGCJmBcDW+fF3lqpZQpLj1ytKl+dAMRhkSmcAr4wp AY7Q1HZmXMQTwQ2iXBuzNmmfX8yw+3dwiUmFsMoEHUEMYFA2Rg5QClNKR0wTMv0vVCVe M8JkDr4gc2XgqidQ3R2IlyepTxXJ6poss6Pfi1Fz1idMhO+lLCyLgruW3VTHNCOoMg5s vjEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=I1zJHcfo; 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 j22si6943003ejm.490.2020.05.12.00.49.52; Tue, 12 May 2020 00:50:15 -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=I1zJHcfo; 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 S1729065AbgELHrs (ORCPT + 99 others); Tue, 12 May 2020 03:47:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbgELHrr (ORCPT ); Tue, 12 May 2020 03:47:47 -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 6FCBFC061A0C; Tue, 12 May 2020 00:47:47 -0700 (PDT) Received: from localhost.localdomain (unknown [142.147.94.151]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 03F8220F1A; Tue, 12 May 2020 07:47:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1589269667; bh=2II2DHV4+Iks6xy2EWtnJbO+xA3KlRUpJ+Ydv9JIdBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I1zJHcfowIfrvYY0to4K2WNseXbmadXj3RD/weZEpu6awBZJxHlF6RaZ6gImFf76/ K+J675jN5/X/3nKyIterZo54TDlZ5pWtg2dXpjw4TmrTVtVDmzY9+VN84M3c1vgsG0 3eo2hbMJsF18ZAP1pQR6xNSH55wxPfRtubsa3//Sr27NqOXHk5QvKHSDe0R+h3DY2d L+qNvTstu+NEKvohfedINLaDiX7XBreNiO6S/kf9ug9VL7Nl5vo9tMpRqAbnavNjvw u9SD5Xbof7TJDEFQlAsj/JddqmeBv4MrIwAcBGR0i7ggi5FlGDHXph9zAgFJCRZmS6 NP2RGVWX/5QgA== 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 v9 4/5] MIPS: DTS: Loongson64: Add PCI Controller Node Date: Tue, 12 May 2020 15:43:58 +0800 Message-Id: <20200512074413.3557835-4-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512074413.3557835-1-jiaxun.yang@flygoat.com> References: <20200427060551.1372591-1-jiaxun.yang@flygoat.com> <20200512074413.3557835-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