From patchwork Mon Oct 7 10:12:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 2995471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CDE87BF924 for ; Mon, 7 Oct 2013 10:15:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B613D201CE for ; Mon, 7 Oct 2013 10:15:17 +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 6B5D8201C7 for ; Mon, 7 Oct 2013 10:15:16 +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 1VT7p3-0000Wz-C3; Mon, 07 Oct 2013 10:13:54 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT7oj-0007OJ-2K; Mon, 07 Oct 2013 10:13:33 +0000 Received: from mail-ie0-f180.google.com ([209.85.223.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT7oH-0007Je-Ph for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2013 10:13:07 +0000 Received: by mail-ie0-f180.google.com with SMTP id u16so15307151iet.11 for ; Mon, 07 Oct 2013 03:12:48 -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=VE8Bk/182lGZp4UobvAY/SkyVjLtdSLwfw/q351cruU=; b=INRDyx5VQtT4Ic6Zb/7vYCq8CLTfB1MeTGUkbv/mvGRzZKjyiYm4GTda1GxTl524/U IidQfWA/l4X0L3R4l0yG44fsB2gJO/OCZnYXadKqMU5ryQx++RVchYD673ouW8cNdQ4n bTADKpuh+zlDYlXNMX7CgUlr+wQPTnEroMbLfHM5ARYoVBTjBngE2S9Nx4hUuqJQjlD0 kVa3wqCNWMUa04tOoejHS1VSKyikWtc6qz07xg4C/PtSGKvBT5/iTGTCdJt8bHnbJv8/ gU2jEeCX8ziWFMZ7417AHFmp8bvwxGP5gPojG/XalGL9350MscLxIcSJyVqSRLcKuP/s QIPw== X-Gm-Message-State: ALoCoQlpTDTOAFjVXdzuNZi6GBzd9AjB1MpeiLnf7sLAOjqCT0Zq/mDds6QK30oy9gMMqHEIf/zZ X-Received: by 10.50.154.66 with SMTP id vm2mr16157372igb.57.1381140768230; Mon, 07 Oct 2013 03:12:48 -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 y10sm22710942igl.4.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 03:12:47 -0700 (PDT) From: Matt Porter To: Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Christian Daudt Subject: [PATCH 5/5] ARM: dts: add usb udc support to bcm281xx Date: Mon, 7 Oct 2013 06:12:32 -0400 Message-Id: <1381140752-312-6-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1381140752-312-1-git-send-email-matt.porter@linaro.org> References: <1381140752-312-1-git-send-email-matt.porter@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131007_061305_910921_62C3041A X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Devicetree List , Linaro Patches , Linux USB List , Linux Kernel Mailing List , Paul Zimmerman , Linux ARM Kernel List 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.4 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/Control/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 | 10 ++++++++++ arch/arm/boot/dts/bcm11351.dtsi | 21 +++++++++++++++++++++ arch/arm/boot/dts/bcm28155-ap.dts | 12 ++++++++++++ 3 files changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts index 9d36eb4..5a269c7 100644 --- a/arch/arm/boot/dts/bcm11351-brt.dts +++ b/arch/arm/boot/dts/bcm11351-brt.dts @@ -43,5 +43,15 @@ status = "okay"; }; + usbotg@3f120000 { + status = "okay"; + }; + usbctl@3f130000 { + status = "okay"; + }; + + usbphy { + status = "okay"; + }; }; diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 22aef21..1c647f2 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -227,4 +227,25 @@ #clock-cells = <0>; }; }; + + usbotg: usbotg@3f120000 { + compatible = "snps,dwc2"; + reg = <0x3f120000 0x10000>; + interrupts = ; + clocks = <&usb_otg_ahb_clk>; + clock-names = "otg"; + snps,phy-utmi-width = <8>; + status = "disabled"; + }; + + usbctl: usbctl@3f130000 { + compatible = "brcm,kona-ctrl-usb"; + reg = <0x3f130000 0x28>; + status = "disabled"; + }; + + usbphy: usbphy { + compatible = "brcm,kona-usb2"; + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index 96ae67a..7b1b741 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -42,4 +42,16 @@ max-frequency = <48000000>; status = "okay"; }; + + usbotg@3f120000 { + status = "okay"; + }; + + usbctl@3f130000 { + status = "okay"; + }; + + usbphy { + status = "okay"; + }; };