From patchwork Tue Dec 17 19:42:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22619 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 3FFD923FBC for ; Tue, 17 Dec 2013 19:43:11 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id gq1sf23427821obb.10 for ; Tue, 17 Dec 2013 11:43:10 -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=kK9idBArWgpd3HEXvSJ6qw/5v8Y/DwPMSn7jOx+E5tlQ/zvj2Qm/MYcaaZH++QLErp H/7+ZogD9i3cZoQoUpWIDq3AadnKwl2NUqI6A1XPx0eknv9qZJG3EoDAx4SulcoD3bYV f41SROOYI8TDavuoCenni2l5jjSVNgE0qsJ1x/TjZasAQ+fJMAPlncUZJ/f+hiJsf737 wUJiFRuC+bTSME19WHu2Gg2xfIFaZdIjlMt+OAiq/uwTDZn+69UwhrRkWPDzl8A9RQFP QwDmiSUICi99KGTlx9rFoczSkuLK83NnMTkUtkNUvrM7XhjpsKPexCzCV5FUlDTxB4uc utXw== X-Gm-Message-State: ALoCoQkVHwHo37/MaIKcKyIHB2c+kpdKZopf+HTlMKsAa7EOsN81CxTpA4nHpYcPOaTQ7NmoZTB5 X-Received: by 10.182.186.73 with SMTP id fi9mr1315384obc.48.1387309390388; Tue, 17 Dec 2013 11:43:10 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.131 with SMTP id 3ls2685833qee.70.gmail; Tue, 17 Dec 2013 11:43:10 -0800 (PST) X-Received: by 10.52.244.49 with SMTP id xd17mr9281129vdc.26.1387309390261; Tue, 17 Dec 2013 11:43:10 -0800 (PST) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id q19si5135067vea.139.2013.12.17.11.43.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:43:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.174 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.174; Received: by mail-ve0-f174.google.com with SMTP id pa12so4613180veb.19 for ; Tue, 17 Dec 2013 11:43:10 -0800 (PST) X-Received: by 10.52.230.202 with SMTP id ta10mr5721692vdc.41.1387309390171; Tue, 17 Dec 2013 11:43:10 -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.59.13.131 with SMTP id ey3csp191042ved; Tue, 17 Dec 2013 11:43:09 -0800 (PST) X-Received: by 10.50.61.205 with SMTP id s13mr4691651igr.29.1387309389210; Tue, 17 Dec 2013 11:43:09 -0800 (PST) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) by mx.google.com with ESMTPS id b5si15622870igt.46.2013.12.17.11.43.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:43:09 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.181 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.181; Received: by mail-ie0-f181.google.com with SMTP id e14so9092311iej.12 for ; Tue, 17 Dec 2013 11:43:09 -0800 (PST) X-Received: by 10.50.126.74 with SMTP id mw10mr4784922igb.24.1387309388946; Tue, 17 Dec 2013 11:43:08 -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 v2sm23254399igz.3.2013.12.17.11.43.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:43:08 -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 , Dinh Nguyen , Russell King , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v7 9/9] ARM: dts: add usb udc support to bcm281xx Date: Tue, 17 Dec 2013 14:42:36 -0500 Message-Id: <1387309356-17195-10-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1387309356-17195-1-git-send-email-mporter@linaro.org> References: <1387309356-17195-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.174 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"; + }; };