From patchwork Tue Dec 6 17:17:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 9462983 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 89DA860231 for ; Tue, 6 Dec 2016 17:19:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 765532843B for ; Tue, 6 Dec 2016 17:19:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6977928486; Tue, 6 Dec 2016 17:19:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2E29F2843B for ; Tue, 6 Dec 2016 17:19:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEJNc-00069F-Ia; Tue, 06 Dec 2016 17:18:12 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEJNI-0005tc-Mm for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 17:17:53 +0000 Received: by mail-wm0-x241.google.com with SMTP id m203so22730215wma.3 for ; Tue, 06 Dec 2016 09:17:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z2c7FRrTjVK3h6nuvDrAClA4E42cUTSBXl6hHqEn1g4=; b=b+3Ou1v11LGbgUQpdOCXNeT3G7ZiiWj4ghiiEnzA2+0D37Uq44hsjgl6lstjZDwTSE CpJddU4LhJ0LL/hqKLQuWBGstV45NrqK+AXOmDrcwuUXawvAHLdb7efz8Kqr/cGMuwI/ ntjn+B74Ppf7I3ZHkpoamrzcErzQaxJrxXrKCN7UZtrTPzzGYei+djjZz1ovaxrcYoh+ 1LhqFvNEhvR7YjdFgSlF+TRJC8dzw+S4MEmtTJnumHoczBh43KgkGtYHSoDBDxcniNPf D23133RvgjWJHfayz/RX674q2ewiV3X/jY+BegxR2+F19T7qKwXk5JYAEFKmFp4z6yrK Ycfw== 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:mime-version:content-transfer-encoding; bh=z2c7FRrTjVK3h6nuvDrAClA4E42cUTSBXl6hHqEn1g4=; b=QWBjZNevByRDe0IVMXfXHRQUJoLwyylqh9CpBbMHsQuXjARbpj66WSHnwx8Dsh0YjW yOu31I3IlEFU4gDOfZq+sdWWEXMlYPSO2WPB1g1aTLX1ZTU8PJpFgqTVgjDF2oE4jlvR SDIfGF5wka0Bt2wdx2Vqg2/MIrWdgkvqlZVf06vlaOKbiMaIvqn9Z6/Cwgkv2J686rN0 p1vzJO3tMGKwS0z9L52JyaCBhBFXudLADwg8tMKiwHsOtQeKdILkblWxMMO8+f8IaihW Z+8v9umUGlQEXZ+QiSaBLGcIR1RoumCnAZcQAHU1DC8T17swNWFg4665zlZ2pc0IpmLQ 72ag== X-Gm-Message-State: AKaTC02rpxSRb2L6k55RdwJMZkZqA6BzmPOnjD0AbpwLLEixqstYq01NehRkekCzrsmzNw== X-Received: by 10.46.75.18 with SMTP id y18mr27527749lja.68.1481044650663; Tue, 06 Dec 2016 09:17:30 -0800 (PST) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id 31sm3944014lfv.21.2016.12.06.09.17.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 09:17:29 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH 2/5] ARM: BCM5301X: Specify USB controllers in DT Date: Tue, 6 Dec 2016 18:17:11 +0100 Message-Id: <20161206171714.22738-2-zajec5@gmail.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161206171714.22738-1-zajec5@gmail.com> References: <20161206171714.22738-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161206_091753_018122_D8CF4AED X-CRM114-Status: GOOD ( 11.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Arnd Bergmann , Hauke Mehrtens , Russell King , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki There are 3 separated controllers, one per USB /standard/. With PHY drivers in place they can be simply supported with generic drivers. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x.dtsi | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index f09a2bb..bfc98d19 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -248,8 +248,26 @@ #address-cells = <1>; #size-cells = <1>; + ranges; - phys = <&usb2_phy>; + interrupt-parent = <&gic>; + + ohci: ohci@21000 { + #usb-cells = <0>; + + compatible = "generic-ohci"; + reg = <0x00022000 0x1000>; + interrupts = ; + }; + + ehci: ehci@22000 { + #usb-cells = <0>; + + compatible = "generic-ehci"; + reg = <0x00021000 0x1000>; + interrupts = ; + phys = <&usb2_phy>; + }; }; usb3: usb3@23000 { @@ -257,6 +275,19 @@ #address-cells = <1>; #size-cells = <1>; + ranges; + + interrupt-parent = <&gic>; + + xhci: xhci@23000 { + #usb-cells = <0>; + + compatible = "generic-xhci"; + reg = <0x00023000 0x1000>; + interrupts = ; + phys = <&usb3_phy>; + phy-names = "usb"; + }; }; spi@29000 {