From patchwork Wed Feb 5 10:19:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 3585501 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 5F9D7C02DC for ; Wed, 5 Feb 2014 10:19:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BCB34201C8 for ; Wed, 5 Feb 2014 10:19:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4FF8C201CD for ; Wed, 5 Feb 2014 10:19:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751469AbaBEKTZ (ORCPT ); Wed, 5 Feb 2014 05:19:25 -0500 Received: from 82-68-191-81.dsl.posilan.com ([82.68.191.81]:58717 "EHLO rainbowdash.ducie.codethink.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751437AbaBEKTT (ORCPT ); Wed, 5 Feb 2014 05:19:19 -0500 Received: from ben by rainbowdash.ducie.codethink.co.uk with local (Exim 4.82) (envelope-from ) id 1WAzZd-0005Np-8S for linux-sh@vger.kernel.org; Wed, 05 Feb 2014 10:19:17 +0000 From: Ben Dooks To: linux-sh@vger.kernel.org Subject: [PATCH 04/11] ARM: shmobile: lager.dts: add pci 0/1/2 Date: Wed, 5 Feb 2014 10:19:07 +0000 Message-Id: <1391595554-20640-5-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1391595554-20640-1-git-send-email-ben.dooks@codethink.co.uk> References: <1391595554-20640-1-git-send-email-ben.dooks@codethink.co.uk> 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.4 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 Enable pci1 and pci2 nodes for USB controllers attached to the AHB<>PCI bridge devices. Node pci0 is enabled for the moment as a device, but could be switched to usb-gadget mode later. Signed-off-by: Ben Dooks Reviewed-by: Ian Molton --- Cc: linux-sh@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: Magnus Damm Cc: Simon Horman --- arch/arm/boot/dts/r8a7790-lager.dts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 1081c5e..15e21d0 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -80,6 +80,22 @@ renesas,groups = "mmc1_data8", "mmc1_ctrl"; renesas,function = "mmc1"; }; + + usb0_pins: usb0 { + renesas,groups = "usb0"; + renesas,function = "usb"; + }; + + usb1_pins: usb1 { + renesas,groups = "usb1"; + renesas,function = "usb"; + }; + + usb2_pins: usb2 { + renesas,groups = "usb2"; + renesas,function = "usb"; + }; + }; &mmcif1 { @@ -95,3 +111,21 @@ &sata1 { status = "okay"; }; + +&pci0 { + status = "okay"; + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; +}; + +&pci1 { + status = "okay"; + pinctrl-0 = <&usb1_pins>; + pinctrl-names = "default"; +}; + +&pci2 { + status = "okay"; + pinctrl-0 = <&usb2_pins>; + pinctrl-names = "default"; +};