From patchwork Fri Nov 1 19:45:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 3127701 Return-Path: X-Original-To: patchwork-linux-arm@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 403659F2D6 for ; Fri, 1 Nov 2013 20:22:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5844D204C9 for ; Fri, 1 Nov 2013 20:22:45 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 39D50204AE for ; Fri, 1 Nov 2013 20:22:44 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VcKi2-0004qZ-4Y; Fri, 01 Nov 2013 19:48:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VcKhD-00085M-N8; Fri, 01 Nov 2013 19:47:51 +0000 Received: from mail-ie0-f170.google.com ([209.85.223.170]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VcKgB-0007uW-K4 for linux-arm-kernel@lists.infradead.org; Fri, 01 Nov 2013 19:46:50 +0000 Received: by mail-ie0-f170.google.com with SMTP id at1so8345043iec.1 for ; Fri, 01 Nov 2013 12:46:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZoQrU8BqeDyyB6UDLtAbndWvPi943gJyDeh+WfOQxb8=; b=QnU1n/pXilEXoiTEpbs65knJIIyp9CKSEfmvAHhFf3cFVubh3Y2K3r6w+ng/7h+2jk 7x5ZKJ+L1NBIxybaYrajGa3ANPuP4e6jsRowdMFS2j5LVsox0NgghABa3okl2c+Bq6e+ b0psxsfilsZ9Dnm1dYdA7TcuhTHHOM1DrkvOjzPwQyr6ZY7PifboiyHYPPFkvdhaF6f5 sSNzO4Z9WNNrtjA/jiTffGXC8cGEo1ClCZIvf4voVjCakO6oJSUigWi5cpQITY1bc5mo fvptibpOrhmymv9Q8ByUk7AKWTj45V/cOVOTf845KfWR/2e4z5CgVlhae3H8AN6VHP0L LfbQ== X-Gm-Message-State: ALoCoQmFYG5xZ7tlLv5STX3CImt7DFb0h6AIt7CW9JMkNxFYZvQfHj+TPhPITlnSTXbgarkfVIYu X-Received: by 10.42.156.73 with SMTP id y9mr109800icw.77.1383335190104; Fri, 01 Nov 2013 12:46:30 -0700 (PDT) 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 f5sm5616338igc.4.2013.11.01.12.46.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:29 -0700 (PDT) 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 Subject: [PATCH v2 9/9] ARM: dts: add usb udc support to bcm281xx Date: Fri, 1 Nov 2013 15:45:58 -0400 Message-Id: <1383335158-19730-10-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1383335158-19730-1-git-send-email-matt.porter@linaro.org> References: <1383335158-19730-1-git-send-email-matt.porter@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131101_154647_902065_E205F620 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Devicetree List , Linux USB List , Linux Kernel Mailing List , Linux ARM Kernel List , Linaro Patches X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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 9d36eb4..047c635 100644 --- a/arch/arm/boot/dts/bcm11351-brt.dts +++ b/arch/arm/boot/dts/bcm11351-brt.dts @@ -43,5 +43,11 @@ status = "okay"; }; + usbotg@3f120000 { + status = "okay"; + }; + usbphy@3f130000 { + status = "okay"; + }; }; diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 0755f43..247f9fd 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -284,4 +284,22 @@ #clock-cells = <0>; }; }; + + usbotg: usbotg@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: usbphy@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 bc4e62c..8347d1b 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -62,4 +62,12 @@ max-frequency = <48000000>; status = "okay"; }; + + usbotg@3f120000 { + status = "okay"; + }; + + usbphy@3f130000 { + status = "okay"; + }; };