From patchwork Tue Jun 27 17:35:27 2017 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: 9812859 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 AB9C760329 for ; Tue, 27 Jun 2017 17:36:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95CED286D7 for ; Tue, 27 Jun 2017 17:36:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8AAC328710; Tue, 27 Jun 2017 17:36:10 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BDB99286D7 for ; Tue, 27 Jun 2017 17:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=A/HJXy4SYhM3sJGtcU350BA2ApZbwVbg3c3TQDs9+FQ=; b=pkHt7RLp6inRUE K+q+INlT2SQgMuYuX1gafrtLmsPmv0lyURTKQMDYfjUvf5DtCnXQwwSSV0tyjXVOhgYRzfN8qItaf OWMTU2AvgF2FW9tmHZV9FK4iXJidhqH72AGBO7TLTIUBAAb0iILDdML32wwioc5XWRVUBAsYTK3YG U4nsk+L9zwDTCzaGZ7IIFQhbvnS5igQCNm1e46PBQ8JJI7msJqyAsAFgVNpivmdYSx7pYAePKYp8c QM40qoxd5QkMYdC1DoymkU1EFbLPk2llkWtqh3MFnjv8zlS8yQ9CjAZs+5I/i3Pl+AcAq2YlE1LOh UL+7R8dg8mjagp1xpvJA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dPuPE-0002yq-Cg; Tue, 27 Jun 2017 17:36:04 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPuPA-0002xu-EW for linux-arm-kernel@lists.infradead.org; Tue, 27 Jun 2017 17:36:02 +0000 Received: by mail-lf0-x243.google.com with SMTP id t72so3332349lff.0 for ; Tue, 27 Jun 2017 10:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H7RLZ2zl4NxDxhxrqMxit2xGdCvWB+o8uhIj4igOSoA=; b=eq+cEumXXfyJugAIKokWIM/0DmZaO1aJ8WL47AxFQL3d4KtpXh8r2JkL4TMxJKfLSm h/QxOLY9zGvRiD3EsNywt77E7athQtL4btONMdrgT2nRMZ5a8wReZPAP9QfFBTkOyl2z +zllVDVcHMNNzuO86Q7zQzmhG7GugTlf2t1ow3SRZtrZRPsdouHN+GDiplukbq9VnVdq clh7geSDt+apEfN/sipdvjQN4OjCGeMPJBP3pt4A2nru9ZQX3R51w8DbJO5NZHhALGpv aBJuZ8wgYKnA2pY5VRVP/6LPIq7kXjfWEsxQnW4fePY7jHl0TxmvOr11CtUGWbXBOWNt S4dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H7RLZ2zl4NxDxhxrqMxit2xGdCvWB+o8uhIj4igOSoA=; b=S6JGn1gG5hiFASJzdGsnh0P1WjHaFQeJHiKCpaJI4vR5pPKMW1WvcMNRJ7jGN8QJ2T DCR7HROtasIKQFCddjg34LKIoXfdEEuanMGja24zLDAZS2vgfxhuMLW83jhlh7unnKxQ 3sVHma2AygAeMP1HERaW2AQQLPAsFn0Ck4k5ja6PujTJsUfcjhzglEWTyR83rTSoTpyj g1K/E3wvB4auhLZ5SY91PTlR2RH/Yy9j721vHSY8uKMYke1nWrG3D3iVlVKOsB4FC6sI 5LqsJF4MY8PAHxhTirnStfMFADYYUantlDoaOr5gZgsbC5yaZw9MlfZ3uu9xwx+48uVw h5Ww== X-Gm-Message-State: AKS2vOxBJ1pHbTFAB5PYMQ+o5z9UbUz3pcA0wAw2QGPsb+QH/vg2tQx5 10pPQD9SLb7UjQ== X-Received: by 10.25.37.195 with SMTP id l186mr1865953lfl.181.1498584937980; Tue, 27 Jun 2017 10:35:37 -0700 (PDT) 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 n15sm793321lje.12.2017.06.27.10.35.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 10:35:37 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH] ARM: dts: BCM5301X: Specify USB ports for each controller Date: Tue, 27 Jun 2017 19:35:27 +0200 Message-Id: <20170627173527.16682-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170627_103600_854645_3B5E6E2A X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Hauke Mehrtens , Russell King , 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 Northstar has 3 controllers: OHCI and EHCI (each with 2 ports) and XHCI (with just 1 port). Describe them in the DT. In future this will allow to reference them as trigger sources. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 98647d22b291..045b9bb857f9 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -272,6 +272,19 @@ reg = <0x00021000 0x1000>; interrupts = ; phys = <&usb2_phy>; + + #address-cells = <1>; + #size-cells = <0>; + + ehci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + ehci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; ohci: ohci@22000 { @@ -280,6 +293,19 @@ compatible = "generic-ohci"; reg = <0x00022000 0x1000>; interrupts = ; + + #address-cells = <1>; + #size-cells = <0>; + + ohci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + ohci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; }; @@ -300,6 +326,14 @@ interrupts = ; phys = <&usb3_phy>; phy-names = "usb"; + + #address-cells = <1>; + #size-cells = <0>; + + xhci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; }; };