From patchwork Sun Jan 26 16:49:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 3539961 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 BCC489F381 for ; Sun, 26 Jan 2014 16:50:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 25CD320117 for ; Sun, 26 Jan 2014 16:50:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7122A2011E for ; Sun, 26 Jan 2014 16:50:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752852AbaAZQtY (ORCPT ); Sun, 26 Jan 2014 11:49:24 -0500 Received: from 82-68-191-81.dsl.posilan.com ([82.68.191.81]:41191 "EHLO rainbowdash.ducie.codethink.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752156AbaAZQtJ (ORCPT ); Sun, 26 Jan 2014 11:49:09 -0500 Received: from ben by rainbowdash.ducie.codethink.co.uk with local (Exim 4.82) (envelope-from ) id 1W7StP-0007Kp-2C; Sun, 26 Jan 2014 16:49:07 +0000 From: Ben Dooks To: linux-kernel@lists.codethink.co.uk Cc: Ben Dooks , linux-sh@vger.kernel.org, devicetree@vger.kernel.org, Magnus Damm , Simon Horman Subject: [PATCH 4/8] ARM: shmobile: lager.dts: add pci 0/1/2 Date: Sun, 26 Jan 2014 16:49:01 +0000 Message-Id: <1390754945-28142-5-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1390754945-28142-1-git-send-email-ben.dooks@codethink.co.uk> References: <1390754945-28142-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 57569cb..8dfcd25 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 { @@ -91,3 +107,21 @@ non-removable; 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"; +};