From patchwork Wed Dec 7 07:56:55 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: 9464161 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 BDEAD60236 for ; Wed, 7 Dec 2016 08:06:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE5762847E for ; Wed, 7 Dec 2016 08:06:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A34B1284B0; Wed, 7 Dec 2016 08:06:29 +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 738942847E for ; Wed, 7 Dec 2016 08:06:28 +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 1cEX7q-0000K4-Ky; Wed, 07 Dec 2016 07:58:50 +0000 Received: from mail-wj0-x242.google.com ([2a00:1450:400c:c01::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEX6f-0007zf-3F for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2016 07:57:38 +0000 Received: by mail-wj0-x242.google.com with SMTP id kp2so48289137wjc.0 for ; Tue, 06 Dec 2016 23:57:16 -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=W+XBJ5UeohiJvOVMYEqFLQ/gTb15AS09nie18OcSAyvEQqPnTfiqBIhyD+MYVrXGMK NL1zRX/rob7N0QCUVqCA/F49aZbLT2u8XxgNISf+h60BD787mx4H3RUi7X4zYjArgou7 SUdXlWT9EWUwGDA9KJigxTtDGumTYN7vKNiHY1YiJnk+X7u4+8YI+klJUxflmLwXIRIB XnlGTxUR2Ebfoss26vd2hcEYHOSH+OMDW4/3QIanbytpi5Lhqr5e+4reiWUV2nrNhaxy VKjt0CUlB3pArzQMMHqVHz8c3GAzHLO1SRc7a4ZbgTs1tOrhVCAbPrptYoDkkH1KXnPA g9LQ== 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=ISPFgx6PNAcbSwErJxUGiLQGa4IMN+usQC1J80OLLBo/OFEINzVDHW+5kQtcon5yE5 0cM7Qq7TSq/Ng37JPlxWsBwDV0FyfVToF9DNYmo3d5KkcLgACOjIrpJlLg5+T0XgKL5t 3B0VzwWRNnjx5ClJHqnveb0gKiOqOIO2b05waXXMg9GC+JuhLHumSWf7SwSC9trRHkql iG713ekJuQozA007Gdbr2IsQtZibvMKXaH26d3mE5qs2m67k/750dJ8zTKg4Qaj4BhXj xa+S56kF2it/SpPik5VGiHi4IjHFO8UreNf6mSCpD9kDn+Q2XVNE1UpSONSzCMDuVjLU unZQ== X-Gm-Message-State: AKaTC03EbxMmxHgPBDLQE/zOlSJK5khurJSDUngpTvOFVEuQaghHlnFIj7nbWT8c4sV9Cg== X-Received: by 10.25.21.205 with SMTP id 74mr24545819lfv.138.1481097435143; Tue, 06 Dec 2016 23:57:15 -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 m81sm4339342lfd.45.2016.12.06.23.57.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 23:57:14 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH V2 5/5] ARM: BCM53573: Specify USB ports of on-SoC controllers Date: Wed, 7 Dec 2016 08:56:55 +0100 Message-Id: <20161207075655.7396-5-zajec5@gmail.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161207075655.7396-1-zajec5@gmail.com> References: <20161207075655.7396-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_235737_461663_3B68AA69 X-CRM114-Status: GOOD ( 11.30 ) 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>; + }; }; };