From patchwork Thu Dec 19 14:23: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: 22638 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 040B523FCA for ; Thu, 19 Dec 2013 14:23:42 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id x13sf1276170qcv.7 for ; Thu, 19 Dec 2013 06:23:42 -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=maLZMFsVFxfC69u0KRXJoRsMSm4MRTx/aFBNiW/1kfHTXtyMxdLnONatse5wCIP75w gALG9jw0ZWMm7t15i2ylXM9pY8bhqfP821qLspVlc6dRuUuB5H5NSdpjvEat0Z6ItuUv 5/U/KczizVrZzk5+AWl/hJAq+6kgQOHd9nDPWQvRpfLk+izqWURnDxA6Ydsujyl/o5Ff T3ham/nAFbRvSpLb+QPPC3CINMMzW6JLflP5BN0hD0X77WJaCRnXNwCt8VCLPMTjT5Kd xaU9BvZklMxtHTWJ5VqMhG+fqrBXrZVpxpsoZMUSt7dyGZUxbZod2JSN6wVbYHxEtFTd T08g== X-Gm-Message-State: ALoCoQlM2Fmyzv5tAuvt1IWPxZ+TFlFTIuSEiRbTBthUQ5vxDct+zi/u6bJ3X+scRMLXP/Dwtuso X-Received: by 10.58.249.180 with SMTP id yv20mr450647vec.11.1387463022198; Thu, 19 Dec 2013 06:23:42 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.197 with SMTP id m5ls377481qeh.43.gmail; Thu, 19 Dec 2013 06:23:42 -0800 (PST) X-Received: by 10.52.23.13 with SMTP id i13mr958503vdf.0.1387463022101; Thu, 19 Dec 2013 06:23:42 -0800 (PST) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id qt5si732312vcb.23.2013.12.19.06.23.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:42 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id ks9so655627vcb.40 for ; Thu, 19 Dec 2013 06:23:42 -0800 (PST) X-Received: by 10.220.16.73 with SMTP id n9mr71156vca.24.1387463022017; Thu, 19 Dec 2013 06:23:42 -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 ey3csp323656ved; Thu, 19 Dec 2013 06:23:41 -0800 (PST) X-Received: by 10.50.159.194 with SMTP id xe2mr2917746igb.13.1387463020739; Thu, 19 Dec 2013 06:23:40 -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 zr7si4016692icb.133.2013.12.19.06.23.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:40 -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 e14so1368927iej.40 for ; Thu, 19 Dec 2013 06:23:40 -0800 (PST) X-Received: by 10.42.4.201 with SMTP id 9mr1196289ict.57.1387463020386; Thu, 19 Dec 2013 06:23:40 -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 l7sm5656642igx.2.2013.12.19.06.23.38 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:39 -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 v8 9/9] ARM: dts: add usb udc support to bcm281xx Date: Thu, 19 Dec 2013 09:23:10 -0500 Message-Id: <1387462990-12039-10-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1387462990-12039-1-git-send-email-mporter@linaro.org> References: <1387462990-12039-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.220.181 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"; + }; };