From patchwork Fri Jun 20 20:48:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4392711 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1B046BEEAA for ; Fri, 20 Jun 2014 20:48:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 462A2203DF for ; Fri, 20 Jun 2014 20:48:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5FC0F203C4 for ; Fri, 20 Jun 2014 20:48:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753284AbaFTUsY (ORCPT ); Fri, 20 Jun 2014 16:48:24 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:59068 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750747AbaFTUsY (ORCPT ); Fri, 20 Jun 2014 16:48:24 -0400 Received: by mail-la0-f45.google.com with SMTP id hr17so2705598lab.4 for ; Fri, 20 Jun 2014 13:48:22 -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:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=ErM43GpGeT96CADgzOezYULT2194fAaW8HxOIUhL8OA=; b=L3kjdMegLIsEjx3M9j7OtG+KpfOlK4i1OuCSl06ktEdPg8UJ7cgYpKtLKZyGa7Bcmz Qtga58cdmdEEL4e30G33VqeO+LO1O1Xgvjt39ng3MViOCLDRfBdyfTzUWRzSuOEIuvJm BrtSL/6+OK+yf8SpDswFJ1JHYhnYGsBJdTdF1W2d5xIoljv/osl6uJd4LBHWZGy9ya5L FFkBD+XcJ220NnWLUGZcWJIa1ixlYkrYnTj+/pxTXI88mgtBqiw3K034OC92/zAXK6wH ncYu/R8lBzf7vTKrXlLd3cnOKlZY+BOE+K2NM967K9ri+5DjOT0DRkJAySk1BITEL/Cf ik2w== X-Gm-Message-State: ALoCoQk0BmnpjJf676AhxngNXGT2gvXgUFKV9YZTptyHZ+U8xH6hfYpYTaW6l/L3f4C119LpHjq1 X-Received: by 10.152.36.134 with SMTP id q6mr4157346laj.29.1403297302556; Fri, 20 Jun 2014 13:48:22 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp21-225.pppoe.mtu-net.ru. [81.195.21.225]) by mx.google.com with ESMTPSA id wm3sm4100230lac.43.2014.06.20.13.48.20 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Jun 2014 13:48:21 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded 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 Subject: [PATCH v3 1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes Date: Sat, 21 Jun 2014 00:48:31 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org References: <201406210044.51620.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201406210044.51620.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201406210048.31877.sergei.shtylyov@cogentembedded.com> 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 R8A7791 internal PCI bridge devices. Signed-off-by: Sergei Shtylyov --- Changes in version 3: - refreshed the patch. Changes in version 2: - added interrupt-related properties to the PCI device nodes; - refreshed the patch. arch/arm/boot/dts/r8a7791.dtsi | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 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/r8a7791.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi +++ renesas/arch/arm/boot/dts/r8a7791.dtsi @@ -961,6 +961,42 @@ status = "disabled"; }; + pci0: pci@ee090000 { + compatible = "renesas,pci-r8a7791"; + clocks = <&mstp7_clks R8A7791_CLK_EHCI>; + reg = <0x0 0xee090000 0x0 0xc00>, + <0x0 0xee080000 0x0 0x1100>; + interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + + bus-range = <0 0>; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + 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-r8a7791"; + clocks = <&mstp7_clks R8A7791_CLK_EHCI>; + reg = <0x0 0xee0d0000 0x0 0xc00>, + <0x0 0xee0c0000 0x0 0x1100>; + interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + + bus-range = <1 1>; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + 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>; + }; + pciec: pcie@fe000000 { compatible = "renesas,pcie-r8a7791"; reg = <0 0xfe000000 0 0x80000>;