From patchwork Sat Sep 12 22:30:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7167221 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6C9B5BEEC1 for ; Sat, 12 Sep 2015 22:30:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F331207EA for ; Sat, 12 Sep 2015 22:30:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6FBD42087E for ; Sat, 12 Sep 2015 22:30:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753066AbbILWaJ (ORCPT ); Sat, 12 Sep 2015 18:30:09 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:36329 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbbILWaI (ORCPT ); Sat, 12 Sep 2015 18:30:08 -0400 Received: by lbcao8 with SMTP id ao8so53601645lbc.3 for ; Sat, 12 Sep 2015 15:30:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=smvOUSsJuPmGHMOXAxRC3xIlUm3clIulHn+mpTSrtMc=; b=YPt3WPtOHCR4uMKLX/2KWKE57jRdxyys0rV2U6cqm8AeAWVeH+CjtFNkVxjK2AnIN9 Cb3dIBm2TeuXKmaAgKr8n35Zu19JZD65CzgTqSHxmjnlnTX5q5K/xqp2UONciPRX3Ryq WzwfIh0X6tWVJhvfeFZ21f9nwcBTO7i6ncGCUe4NJGq4KimX2iBRXD7n5pH+tiIz3JZ/ QmDTwbF8clyWGGCGR0VUW0Gf29NwkSqh21QeLw/TymUdonuU4ZBkxgQBO2U1v9tQ8+9P R3+UboYyJA7WopEIUWGf3izAUzyRAgMz2GWNnX9X3RJugTY5VcqTtslorcSKx4jjUVGC blQw== X-Gm-Message-State: ALoCoQnJmGt6poV93Z3Zf5MSd/2ztnAuNPD3Zk7AyHArJRXQZd+Vcly6k+aoISiNzHXEAs9uCttd X-Received: by 10.152.1.9 with SMTP id 9mr4480378lai.38.1442097007063; Sat, 12 Sep 2015 15:30:07 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp24-5.pppoe.mtu-net.ru. [81.195.24.5]) by smtp.gmail.com with ESMTPSA id tj8sm1085461lbb.22.2015.09.12.15.30.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Sep 2015 15:30:06 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: shmobile: r8a7794: add internal PCI bridge nodes Date: Sun, 13 Sep 2015 01:30:05 +0300 Message-ID: <3051459.2yiprFO374@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.6-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <3151312.grtDDBsSl8@wasted.cogentembedded.com> References: <3151312.grtDDBsSl8@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device nodes for the R8A7794 internal PCI bridge devices. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794.dtsi | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7794.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -648,6 +648,48 @@ status = "disabled"; }; + pci0: pci@ee090000 { + compatible = "renesas,pci-r8a7794"; + device_type = "pci"; + reg = <0 0xee090000 0 0xc00>, + <0 0xee080000 0 0x1100>; + interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp7_clks R8A7794_CLK_EHCI>; + power-domains = <&cpg_clocks>; + status = "disabled"; + + bus-range = <0 0>; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>; + interrupt-map-mask = <0xff00 0 0 0x7>; + interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH + 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH + 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; + }; + + pci1: pci@ee0d0000 { + compatible = "renesas,pci-r8a7794"; + device_type = "pci"; + reg = <0 0xee0d0000 0 0xc00>, + <0 0xee0c0000 0 0x1100>; + interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp7_clks R8A7794_CLK_EHCI>; + power-domains = <&cpg_clocks>; + status = "disabled"; + + bus-range = <1 1>; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>; + interrupt-map-mask = <0xff00 0 0 0x7>; + interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH + 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH + 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; + }; + clocks { #address-cells = <2>; #size-cells = <2>;