From patchwork Thu Mar 27 09:26:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Edworthy X-Patchwork-Id: 334271 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B664414008C for ; Thu, 27 Mar 2014 20:27:30 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753030AbaC0J12 (ORCPT ); Thu, 27 Mar 2014 05:27:28 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:13391 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753951AbaC0J1P (ORCPT ); Thu, 27 Mar 2014 05:27:15 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie1.idc.renesas.com with ESMTP; 27 Mar 2014 18:27:14 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id BD8D64BEE3; Thu, 27 Mar 2014 18:27:14 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id B38F9280A5; Thu, 27 Mar 2014 18:27:14 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id A918B280A0; Thu, 27 Mar 2014 18:27:14 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id UAB11065; Thu, 27 Mar 2014 18:27:14 +0900 X-IronPort-AV: E=Sophos;i="4.97,741,1389711600"; d="scan'208";a="156440010" Received: from unknown (HELO relay51.aps.necel.com) ([10.29.19.60]) by relmlii1.idc.renesas.com with ESMTP; 27 Mar 2014 18:27:14 +0900 Received: from DU0NOTES13.ad.ree.renesas.com ([172.29.24.131]) by relay51.aps.necel.com (8.14.4+Sun/8.14.4) with ESMTP id s2R9R3EK006537; Thu, 27 Mar 2014 18:27:09 +0900 (JST) Received: from duacsls.ad.ree.renesas.com ([172.29.43.47]) by DU0NOTES13.ad.ree.renesas.com (Lotus Domino Release 8.5.3 HF466) with ESMTP id 2014032710270383-166393 ; Thu, 27 Mar 2014 10:27:03 +0100 From: Phil Edworthy To: linux-pci@vger.kernel.org Cc: linux-sh@vger.kernel.org, LAKML , Bjorn Helgaas , Valentine Barshak , Simon Horman , Magnus Damm , Ben Dooks , Phil Edworthy X-Mailer: git-send-email 1.9.0 In-Reply-To: <1395912416-20087-1-git-send-email-phil.edworthy@renesas.com> References: <1395912416-20087-1-git-send-email-phil.edworthy@renesas.com> X-TNEFEvaluated: 1 Message-ID: <1395912416-20087-10-git-send-email-phil.edworthy@renesas.com> Date: Thu, 27 Mar 2014 09:26:55 +0000 Subject: [PATCH v6 09/10] ARM: shmobile: koelsch: Add PCIe device nodes X-MIMETrack: Itemize by SMTP Server on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 27.03.2014 10:27:04, Serialize by Router on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 27.03.2014 10:27:10, Serialize complete at 27.03.2014 10:27:10 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Signed-off-by: Phil Edworthy v6: - Split device and board DT changes --- arch/arm/boot/dts/r8a7791-koelsch.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index ee23b7b..3130a0c 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -204,6 +204,16 @@ states = <3300000 1 1800000 0>; }; + + clocks { + /* External PCIe bus clock */ + pcie_bus_clk: pcie_bus_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <100000000>; + clock-output-names = "pcie_bus"; + }; + }; }; &extal_clk { @@ -382,3 +392,7 @@ spi-cpha; }; }; + +&pcie { + status = "okay"; +};