From patchwork Tue Dec 6 17:17:14 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: 9462989 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 E6EAC60231 for ; Tue, 6 Dec 2016 17:20:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D34B32842B for ; Tue, 6 Dec 2016 17:20:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6B122847E; Tue, 6 Dec 2016 17:20:58 +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 636802842B for ; Tue, 6 Dec 2016 17:20:58 +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 1cEJOf-0006kG-45; Tue, 06 Dec 2016 17:19:17 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEJNR-0005xG-3L for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 17:18:02 +0000 Received: by mail-wm0-x243.google.com with SMTP id a20so22855403wme.2 for ; Tue, 06 Dec 2016 09:17:40 -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=cOuT+019ZUHZ3nx52Ay9qBIujAHQFwux08oGDvZFkOU=; b=jBtCMBG1sIhBJPvVAMTQLOfpyaI60FbFwb4d98o/Vhwf16lZ7KzTEppiHs1VKZZ7Zg c05PDMgX6E1v4MWw+Gz35pGjod16RLuVU6aLw6zPP5fRRgH7jEBXTKhkK3sd6Jg1AZJR 38baCtnQsZ/nxFLsi/wJMOGcVbmzR8yUSTfbPRB/maF01uQ4vn/PtMcY85ie1dC7pYde D01/DTvhEfSmkBhp8SuSBO1Lsu1YUlDRhGM1ooTlBK21OA0YRk1lcUZBvy7XXyaPkBkn 8e3F3PSFQbbTdZL4DG/dSbA26cEznf3wFhfbxx+4mXH0vobkj92w1QGUkBM1jIKMUVh+ cuLg== 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=cOuT+019ZUHZ3nx52Ay9qBIujAHQFwux08oGDvZFkOU=; b=ZEIqiK73YEp3CqbpUavX/4uvg51v2pY/fublDPpoprXf2+V9SwjMrOOQ5K2KiXC4O0 3xuAC+1gvNPDCG9aSwxkjNKncOruVbfRBKvJpyEgoj3fbCAei6UuhbnLr3yzsjFPcAyC cfiXk7jHr6D6hIQOLaem1JoRW+84BcKfg1FVtrVcDEUBx8jPTNitMCwScgr1zjJhKV+l 8/WqSa60kPSXsW+xmUJG59J0nk+UjKHE3Zt4gZJMVTVWsVS9r3f9m1wrQ+/fxYaw+YAI RhWbSHfj+CE7kBY4Fsfi6LtvgUsN/6Xz/5oZfbKskrHFr63vDc0VlstXy15eoRrjoIa3 RaFQ== X-Gm-Message-State: AKaTC03YIzOEEotvtCEKnVNfIYETv/ETAO6amMXVpiHk0VA1elac+lMyHiWDOk+YRlY08g== X-Received: by 10.46.0.87 with SMTP id 84mr27931918lja.1.1481044659127; Tue, 06 Dec 2016 09:17:39 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 09:17:38 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH 5/5] ARM: BCM53573: Specify USB ports of on-SoC controllers Date: Tue, 6 Dec 2016 18:17:14 +0100 Message-Id: <20161206171714.22738-5-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_091801_415502_BBCB7E9E X-CRM114-Status: GOOD ( 10.94 ) 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 Broadcom OHCI and EHCI controllers always have 2 ports each on the root hub. Describe them in DT to allow specifying extra info or referencing port nodes. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm53573.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/bcm53573.dtsi b/arch/arm/boot/dts/bcm53573.dtsi index e2c496a..2da04d0 100644 --- a/arch/arm/boot/dts/bcm53573.dtsi +++ b/arch/arm/boot/dts/bcm53573.dtsi @@ -124,6 +124,17 @@ reg = <0x4000 0x1000>; interrupt-parent = <&gic>; interrupts = ; + + #address-cells = <1>; + #size-cells = <0>; + + ehci_port1: port@1 { + reg = <1>; + }; + + ehci_port2: port@2 { + reg = <2>; + }; }; ohci: ohci@d000 { @@ -133,6 +144,17 @@ reg = <0xd000 0x1000>; interrupt-parent = <&gic>; interrupts = ; + + #address-cells = <1>; + #size-cells = <0>; + + ohci_port1: port@1 { + reg = <1>; + }; + + ohci_port2: port@2 { + reg = <2>; + }; }; };