From patchwork Thu Dec 12 13:26:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22288 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EC57823FC9 for ; Thu, 12 Dec 2013 13:26:39 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id gq1sf1411384obb.10 for ; Thu, 12 Dec 2013 05:26:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=htBxEdkYvXZbgMuly7H20LmSfCMUVHLBRNv5KyA14zA=; b=fNmPGdkK6eTm72UejWwtgUii0hBjtF+LNbyUvqPJQCO2c/Lrv6Vv6ci3TRHwhMUY24 RO6bGtG7V1I4bGtjNfIaqG+NC2U7GwbX+YPJEpDiCA6AZboglj0xVs+178hbD4JQeqBD E5u8F4kkLErYpR29Suy84wL+dp/f/1Xs97RhTq7PyERKXQgyHFnnUK4S3G+XlL9pexjx TAIvkjYgkZ97czsIxdyANM9u9kppxEH8zBBF3VvE0ingk7+MVp7wUR9wRrzYkU9KYvGH t+EJNIpi1xHgabq6+jp54q5Q/SAYQ2If0LjII25RQpDn204fxo5vrvnoK2EsDl/Y8uLD gkiw== X-Gm-Message-State: ALoCoQmMwrHBVB2pzCrXo9FcdE1WOQN73/tLclN0WlJ0Fw4y5tjSPeAqb3XlOh9DshccrYY/kiKJ X-Received: by 10.182.218.12 with SMTP id pc12mr2703701obc.35.1386854799529; Thu, 12 Dec 2013 05:26:39 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.18 with SMTP id d18ls465590qej.14.gmail; Thu, 12 Dec 2013 05:26:39 -0800 (PST) X-Received: by 10.220.127.68 with SMTP id f4mr21231vcs.32.1386854799432; Thu, 12 Dec 2013 05:26:39 -0800 (PST) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id sl9si7687246vdc.73.2013.12.12.05.26.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id jz11so273422veb.25 for ; Thu, 12 Dec 2013 05:26:39 -0800 (PST) X-Received: by 10.52.103.35 with SMTP id ft3mr3175231vdb.5.1386854799372; Thu, 12 Dec 2013 05:26:39 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp354257vcz; Thu, 12 Dec 2013 05:26:38 -0800 (PST) X-Received: by 10.50.152.39 with SMTP id uv7mr31180492igb.13.1386854798427; Thu, 12 Dec 2013 05:26:38 -0800 (PST) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by mx.google.com with ESMTPS id go3si24147407icc.121.2013.12.12.05.26.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:38 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.172 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.172; Received: by mail-ie0-f172.google.com with SMTP id qd12so541193ieb.3 for ; Thu, 12 Dec 2013 05:26:38 -0800 (PST) X-Received: by 10.50.136.165 with SMTP id qb5mr31209203igb.2.1386854797953; Thu, 12 Dec 2013 05:26:37 -0800 (PST) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPSA id l7sm14983106igx.2.2013.12.12.05.26.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:36 -0800 (PST) From: Matt Porter To: Felipe Balbi , Greg Kroah-Hartman , Kishon Vijay Abraham I , Rob Herring , Pawel Moll , Mark Rutland , Kumar Gala , Ian Campbell , Christian Daudt , Paul Zimmerman Cc: Tomasz Figa , Kamil Debski , Kyungmin Park , Russell King , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v5 9/9] ARM: dts: add usb udc support to bcm281xx Date: Thu, 12 Dec 2013 08:26:10 -0500 Message-Id: <1386854770-2173-10-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386854770-2173-1-git-send-email-mporter@linaro.org> References: <1386854770-2173-1-git-send-email-mporter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mporter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Adds USB OTG/PHY and clock support to BCM281xx and enables UDC support on the bcm11351-brt and bcm28155-ap boards. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- arch/arm/boot/dts/bcm11351-brt.dts | 6 ++++++ arch/arm/boot/dts/bcm11351.dtsi | 18 ++++++++++++++++++ arch/arm/boot/dts/bcm28155-ap.dts | 8 ++++++++ 3 files changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts index 23cd16d..396b704 100644 --- a/arch/arm/boot/dts/bcm11351-brt.dts +++ b/arch/arm/boot/dts/bcm11351-brt.dts @@ -44,5 +44,11 @@ status = "okay"; }; + usbotg: usb@3f120000 { + status = "okay"; + }; + usbphy: usb-phy@3f130000 { + status = "okay"; + }; }; diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 1246885..0fbb455 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -243,4 +243,22 @@ #clock-cells = <0>; }; }; + + usbotg: usb@3f120000 { + compatible = "snps,dwc2"; + reg = <0x3f120000 0x10000>; + interrupts = ; + clocks = <&usb_otg_ahb_clk>; + clock-names = "otg"; + phys = <&usbphy>; + phy-names = "usb2-phy"; + status = "disabled"; + }; + + usbphy: usb-phy@3f130000 { + compatible = "brcm,kona-usb2-phy"; + reg = <0x3f130000 0x28>; + #phy-cells = <0>; + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index 08e47c2..a3bc436 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -43,4 +43,12 @@ cd-gpios = <&gpio 14 0>; status = "okay"; }; + + usbotg: usb@3f120000 { + status = "okay"; + }; + + usbphy: usb-phy@3f130000 { + status = "okay"; + }; };