From patchwork Mon May 19 21:52:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4206701 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B042E9F1CD for ; Mon, 19 May 2014 21:52:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B01C520304 for ; Mon, 19 May 2014 21:52:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E2010202FE for ; Mon, 19 May 2014 21:52:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750764AbaESVwJ (ORCPT ); Mon, 19 May 2014 17:52:09 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:62267 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750712AbaESVwI (ORCPT ); Mon, 19 May 2014 17:52:08 -0400 Received: by mail-la0-f42.google.com with SMTP id el20so4610845lab.15 for ; Mon, 19 May 2014 14:52: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:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=sqfY7piaPizcrvzQISu7UqxXMuHcpDfowyyaoD9huvs=; b=K33JYYZbqcBppNy7fhKwbGsf8ZNzfJ/TdKM0Z5NaSzHwhlKeLMAQwI0FU5uXQnCE/T +O1BcEy7wTYvSRTHAvCiJk5/boNAlBfpyHWmJkt4Swx+oK0gLz8Tb2OAH8J9rUO20LJb dysuZmAsyjlpb9ag3IfmE3pOAAB74eIWqOm40k11zJtSkvfLmSRyjrCdndfVJlYA7R5z ZNxgxInUkr4aTVn+dWwDWUvnbmO9l1P+P1VrrIj8eyCLETguaCVqO9gZC6WrizL1fU4p fpa4Fjoa+oQIj2bXpJ7JBWbwyybcLyZ7F8/UdQcYYkty/Y99rB1E7nqJtV0qzA4fXYuJ Ggzg== X-Gm-Message-State: ALoCoQmLZO1o7oxBOyRN4B9HQ4+jJFs3MHRAXEo4nXE3/3dAaO1PeXzDDi6G+irZ5+d4NWusP4JK X-Received: by 10.112.35.14 with SMTP id d14mr26374258lbj.43.1400536327421; Mon, 19 May 2014 14:52:07 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-62-7.pppoe.mtu-net.ru. [83.237.62.7]) by mx.google.com with ESMTPSA id jq6sm13524728lab.2.2014.05.19.14.52.06 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 19 May 2014 14:52:06 -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 v2 1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes Date: Tue, 20 May 2014 01:52:05 +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: <201405200148.28683.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201405200148.28683.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201405200152.06575.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=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 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 @@ -880,4 +880,40 @@ #size-cells = <0>; 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>; + }; };