From patchwork Tue Jul 25 22:06:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9863987 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 38E4F6038C for ; Tue, 25 Jul 2017 22:08:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FC1828694 for ; Tue, 25 Jul 2017 22:08:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23A072870C; Tue, 25 Jul 2017 22:08:03 +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_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=unavailable 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 9E3C128694 for ; Tue, 25 Jul 2017 22:08:02 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=lZ4+TCqyAKYdKAv+d4jHieJh+py0yy8C5dEDTb1nyQ0=; b=cMSp0xJViklXUCLPsmVMNGxDkh P7B4Schsk5EM0APausJTaEAtSsRNl2F+lS1/ZdZOD9LFj2wIOALP6kFT/9CeM4v2EOKMdTK9SOT8f 0RSilt8AHBZoB2DObFtiEm9qbrH6pF6wN31sNZ6boJCl1yguPAXYwz73TyVRYq3Hz3/lL6XuCQT29 UY9HDvcSJWaKSTMq64fd+u/pUkGh3e7ijBAZLTqAzU6lgV6NoybFiUqWifm2Jwqb84RBAhTwOP7aa zdu1doNrdkOHcETP58qWDTOyd6Py99FY/8v0gToGeHGMTP/+18NhTv6S2bAVgb3kCdHeY2mrmlq7e HEMKD5EQ==; 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 1da7ze-0002XW-Ne; Tue, 25 Jul 2017 22:07:54 +0000 Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1da7yZ-0001ar-05 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jul 2017 22:06:54 +0000 Received: by mail-qt0-x230.google.com with SMTP id v29so16574977qtv.3 for ; Tue, 25 Jul 2017 15:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=edQs77420e63nT+EdzxXGGQdUP6Uw7NnwZZ9in1PL7w=; b=FyvpZQdXvAipgIkoE4PwB0WISMxlXNNtFPTBtqMGwmI9Ggh9CHLsiZ4W/+z7nzNduQ 5VEVotxYjLezifvq95ljv2sLcEl1I5/nHsunC6OjqOq8rxAGDnT94N2bF0wcF2gKqxZ4 CjkkwmFm6b+Cw8RuPYh7Nr3d5Oy+sfwfz9xP4= 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:in-reply-to :references; bh=edQs77420e63nT+EdzxXGGQdUP6Uw7NnwZZ9in1PL7w=; b=mXlIgT1Ext4w+DR1JqBzORomWfBdBixlSISBLfX5ROgKSvaj6+l1URbKV3K10NdBJp 5Bs3PPPI2lpxeb4PyuJjobcoM6tDbZP2RJdCw8azbNY4lnAXdSZzbUByF8+Wfz45ModM 9ez7Uq9F6cIZbgoXqT4L5fyCKBui2meQM1DxdK72bIF3YAa3RJ1Lrtdw3id9rQ2jaGOs k64m/c14WukZIaaJh4cifDf1yyqC9MNC0NED++bNs6yr5aqt+ekqZYZFrXFzmT4OXPf4 Ga55Xink6a8itbvqyFFr3c7OF9gALqB+AmTCItbJI+d2DNofRLoRBx443fMZpomkjYhI 0q5Q== X-Gm-Message-State: AIVw112wfDNes3FmvYSaZSPtfkOwBmFCk+4BDtpso8o++91e/tDG4Cc2 Zp/5wkAZYk9Y8SQz X-Received: by 10.237.48.226 with SMTP id 89mr5989810qtf.201.1501020385210; Tue, 25 Jul 2017 15:06:25 -0700 (PDT) Received: from venom ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id y9sm2604624qkg.36.2017.07.25.15.06.22 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 25 Jul 2017 15:06:24 -0700 (PDT) Received: by venom (sSMTP sendmail emulation); Tue, 25 Jul 2017 18:06:22 -0400 From: Jon Mason To: Florian Fainelli , Rob Herring , Mark Rutland Subject: [PATCH 3/3] ARM: dts: NSP: Add USB3 and USB3 PHY to NSP Date: Tue, 25 Jul 2017 18:06:12 -0400 Message-Id: <1501020372-19607-4-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501020372-19607-1-git-send-email-jon.mason@broadcom.com> References: <1501020372-19607-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170725_150647_225388_71B4AEC1 X-CRM114-Status: GOOD ( 11.01 ) 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: devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 This uses the existing Northstar USB3 PHY driver to enable the USB3 ports on NSP. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 19 +++++++++++++++++++ arch/arm/boot/dts/bcm958522er.dts | 8 ++++++++ arch/arm/boot/dts/bcm958525er.dts | 8 ++++++++ arch/arm/boot/dts/bcm958525xmc.dts | 8 ++++++++ arch/arm/boot/dts/bcm958622hr.dts | 8 ++++++++ arch/arm/boot/dts/bcm958623hr.dts | 8 ++++++++ arch/arm/boot/dts/bcm958625hr.dts | 8 ++++++++ arch/arm/boot/dts/bcm958625k.dts | 8 ++++++++ 8 files changed, 75 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 770aa2e7970c..8ba53b834cc8 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -303,6 +303,16 @@ #size-cells = <0>; }; + xhci: usb@29000 { + compatible = "generic-xhci"; + reg = <0x29000 0x1000>; + interrupts = ; + phys = <&usb3_phy>; + phy-names = "usb3-phy"; + dma-coherent; + status = "disabled"; + }; + ehci0: usb@2a000 { compatible = "generic-ehci"; reg = <0x2a000 0x100>; @@ -471,6 +481,15 @@ phy-names = "sata-phy"; }; }; + + usb3_phy: usb3-phy@104000 { + compatible = "brcm,ns-bx-usb3-phy"; + reg = <0x104000 0x1000>, + <0x032000 0x1000>; + reg-names = "dmp", "ccb-mii"; + #phy-cells = <0>; + status = "disabled"; + }; }; pcie0: pcie@18012000 { diff --git a/arch/arm/boot/dts/bcm958522er.dts b/arch/arm/boot/dts/bcm958522er.dts index f5c42962c201..f9dd342cc2ae 100644 --- a/arch/arm/boot/dts/bcm958522er.dts +++ b/arch/arm/boot/dts/bcm958522er.dts @@ -170,3 +170,11 @@ &uart0 { status = "okay"; }; + +&usb3_phy { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/bcm958525er.dts b/arch/arm/boot/dts/bcm958525er.dts index efcb1f67bdad..374508a9cfbf 100644 --- a/arch/arm/boot/dts/bcm958525er.dts +++ b/arch/arm/boot/dts/bcm958525er.dts @@ -182,3 +182,11 @@ &uart0 { status = "okay"; }; + +&usb3_phy { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts/bcm958525xmc.dts index b335ce02e32f..403250c5ad8e 100644 --- a/arch/arm/boot/dts/bcm958525xmc.dts +++ b/arch/arm/boot/dts/bcm958525xmc.dts @@ -202,3 +202,11 @@ &uart0 { status = "okay"; }; + +&usb3_phy { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/bcm958622hr.dts b/arch/arm/boot/dts/bcm958622hr.dts index 16ab2d82a14b..fd8b8c689ffe 100644 --- a/arch/arm/boot/dts/bcm958622hr.dts +++ b/arch/arm/boot/dts/bcm958622hr.dts @@ -219,3 +219,11 @@ &uart0 { status = "okay"; }; + +&usb3_phy { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/bcm958623hr.dts b/arch/arm/boot/dts/bcm958623hr.dts index 9b921c6aa8f8..3bc50849d013 100644 --- a/arch/arm/boot/dts/bcm958623hr.dts +++ b/arch/arm/boot/dts/bcm958623hr.dts @@ -227,3 +227,11 @@ &uart0 { status = "okay"; }; + +&usb3_phy { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index 006b08e41a3b..d94d14b3c745 100644 --- a/arch/arm/boot/dts/bcm958625hr.dts +++ b/arch/arm/boot/dts/bcm958625hr.dts @@ -229,3 +229,11 @@ &uart0 { status = "okay"; }; + +&usb3_phy { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index 64740f85cf4c..2cf2392483b2 100644 --- a/arch/arm/boot/dts/bcm958625k.dts +++ b/arch/arm/boot/dts/bcm958625k.dts @@ -264,3 +264,11 @@ &uart1 { status = "okay"; }; + +&usb3_phy { + status = "okay"; +}; + +&xhci { + status = "okay"; +};