From patchwork Mon Jul 31 21:54:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9873175 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 697C860365 for ; Mon, 31 Jul 2017 21:56:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CA0F205FB for ; Mon, 31 Jul 2017 21:56:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5179828564; Mon, 31 Jul 2017 21:56:40 +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 B9E9D285F0 for ; Mon, 31 Jul 2017 21:56:38 +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=adfCa9eLfE3Uc53XAagn8ONdIpIFWEyx+Crhxjtt28c=; b=HESe77FWP1lRpulFaSRzMHNPuL PCwn4qsWdsxQg73NwbMcWnAIkVBsTfKg+ECbdlKkWoujZ4vEs5Pg/kRNMNyenoigs7XxPTQd17knt W0bFPXDZl/Asqh3bIQrburAcg+yvNZUeYZe1xyCatExKkIkBOGPS4ewL7WesO5gaATJLRL4vYiTXg IE8ZK1gTAL9LldRJild7NgDnfaNg0V6D2kX0sNWTvjzVRyANeobYHocGlPMp/lQitgmw2sNzIdZuk Zc1gTDC/dcXqHsHrYwau5jWO5dFyz5M7GNKzMmo+7Q3Yu3TCIi3txmqGCgCjMJZFQZqwAoGDDndGr wwFiCmcg==; 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 1dcIfO-0003A9-JK; Mon, 31 Jul 2017 21:55:58 +0000 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcIem-000181-SJ for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2017 21:55:23 +0000 Received: by mail-wr0-x234.google.com with SMTP id 33so127828073wrz.4 for ; Mon, 31 Jul 2017 14:55:00 -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=A3RL6QCF3P2PDbfuxlSDepMgs8GzhbY4ZWxaHWPVbMA=; b=cU6ndvdFPxQZ/UNf/2dRWWXBFJzgmXYuIcAn/YhczyiVjBTq2ut/tajiCChYbpZDov 3nE2S2NsutmpJXPkVRHfAbPGchuY5fafXvAJnbVKknK8kjAMP/vKhN2r9fAO0p4ViPyR N61vdwZg6Kvhr+4dm/AS/W8Xnl916YQGYFneI= 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=A3RL6QCF3P2PDbfuxlSDepMgs8GzhbY4ZWxaHWPVbMA=; b=DQJIq9fiQntUlYY8qZ2+Ke8lDQ76ji1RXsKpj9xTfD7L30gbfXJx4njtr7zs1usQXI 6vDoUwYG7u9nC5DXEmVgNHwfdDNV5xD/lTdoKH9EKCYYDaDcvKpLR9wHfG0pTo82mBEQ /fd2KfZdzEhf8P7Ny/BtuBMtXFfR7uDOU0BLLyuPvHD+bhWzAreKifCuqu0zRL1Tc3dv hAMfFA2bZFn0rWYXOsl3f19DGVnzzTCpwFpf0z+gZU5dFJCWdsyKpuvv6UtDsgMglN3T PNhzxF/QmRJcLwf3INC9eROYM3ucYPdw/g/5mWc9kJpqiNpGkvQK566Hxw/A68zjnRgh Ynxw== X-Gm-Message-State: AIVw113aKbZNyzC3+FCAcrYOdqUY6Isw4eTh+NYLSYeNhr796Vwv8N9U pJCtu/3wyQKWc3gr X-Received: by 10.223.181.10 with SMTP id a10mr12889391wrd.241.1501538098905; Mon, 31 Jul 2017 14:54:58 -0700 (PDT) Received: from venom ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id 23sm12180433wrz.8.2017.07.31.14.54.55 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 31 Jul 2017 14:54:58 -0700 (PDT) Received: by venom (sSMTP sendmail emulation); Mon, 31 Jul 2017 17:54:54 -0400 From: Jon Mason To: Florian Fainelli , Rob Herring , Mark Rutland Subject: [PATCH v2 3/3] ARM: dts: NSP: Add USB3 and USB3 PHY to NSP Date: Mon, 31 Jul 2017 17:54:23 -0400 Message-Id: <1501538063-32662-4-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501538063-32662-1-git-send-email-jon.mason@broadcom.com> References: <1501538063-32662-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170731_145521_090523_D8AE0A40 X-CRM114-Status: GOOD ( 10.71 ) 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, Jon Mason 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 9feb3689d191..dff66974feed 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -302,6 +302,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>; @@ -469,6 +479,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"; +};