From patchwork Mon Nov 25 18:16:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 21756 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 256F420299 for ; Mon, 25 Nov 2013 18:16:33 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id hu19sf10142262vcb.11 for ; Mon, 25 Nov 2013 10:16:33 -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=eSm1JDb8GC/Bo1zYgJ8QyB/PJvT18Bke5E06cWAm9oQ=; b=fa/eNQe4sSFIPSBcRrZhgn3Z/O+ZnDxi6k2FL856uMfD4CAE1TGH0E0O/SXnS208Ra 0Hqi0JTgReNKl77ajK6JOH81vvmErZOx6MVpHATkzbJbh5gWQ1BgR4u81H1LBNKPqv5H olOJONLwaZTo+xSBQR6I2J9nH+6snHMWJsoF52OIihnKoKdEa6TAIIeZNUjMtVbg9zpf 5kb9jPYHwvhXqUmopfmauRTVFngR4VyZ7On9VB45vHIrgSAONUVq05aR6+E9Sfc+HIqY HMxBebA9ndIiM1lpsG3kVwSFUPD9079BZYfCKYQfbw3pQCgnLQ9p2b7C4fSErAeELMMS KJxw== X-Gm-Message-State: ALoCoQmP19gClhjW4jCS9OXheOF35RI/VFWIikq0vWr/x4vbYl0Dy6Re3R0F8tqKpToA0HmvUU1G X-Received: by 10.58.221.98 with SMTP id qd2mr8811946vec.5.1385403392965; Mon, 25 Nov 2013 10:16:32 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.37.195 with SMTP id a3ls2092864qek.88.gmail; Mon, 25 Nov 2013 10:16:32 -0800 (PST) X-Received: by 10.58.156.106 with SMTP id wd10mr27728882veb.7.1385403392780; Mon, 25 Nov 2013 10:16:32 -0800 (PST) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id cp3si18187298vcb.133.2013.11.25.10.16.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:32 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.42; Received: by mail-vb0-f42.google.com with SMTP id w18so3161591vbj.29 for ; Mon, 25 Nov 2013 10:16:32 -0800 (PST) X-Received: by 10.52.32.37 with SMTP id f5mr22723038vdi.17.1385403392715; Mon, 25 Nov 2013 10:16:32 -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 u4csp153008vcz; Mon, 25 Nov 2013 10:16:32 -0800 (PST) X-Received: by 10.42.147.66 with SMTP id m2mr1630200icv.59.1385403392037; Mon, 25 Nov 2013 10:16:32 -0800 (PST) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx.google.com with ESMTPS id qa5si19641824igb.44.2013.11.25.10.16.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:32 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.174 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.174; Received: by mail-ie0-f174.google.com with SMTP id at1so7485105iec.33 for ; Mon, 25 Nov 2013 10:16:31 -0800 (PST) X-Received: by 10.50.147.65 with SMTP id ti1mr14104473igb.12.1385403391770; Mon, 25 Nov 2013 10:16:31 -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 j16sm26901318igf.6.2013.11.25.10.16.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:31 -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 , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v3 9/9] ARM: dts: add usb udc support to bcm281xx Date: Mon, 25 Nov 2013 13:16:07 -0500 Message-Id: <1385403367-18144-10-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1385403367-18144-1-git-send-email-matt.porter@linaro.org> References: <1385403367-18144-1-git-send-email-matt.porter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: matt.porter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.42 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..868879a 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 = "device"; + 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"; + }; };