Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4898573imu; Mon, 12 Nov 2018 20:15:54 -0800 (PST) X-Google-Smtp-Source: AJdET5dtfsBEipAU/6bbQQSCzHFYcTlqM9X1AHnsJSoSxhOPqRsoLn2bFM0qQyv6rnPdPqkLpLQj X-Received: by 2002:a17:902:ac93:: with SMTP id h19-v6mr3405894plr.245.1542082553974; Mon, 12 Nov 2018 20:15:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542082553; cv=none; d=google.com; s=arc-20160816; b=x14Xhr4fAlH1Z9GotRtZCFWIPUOMkFN1OXCoJ+XEf8XW1c44HFfDsfaeBkSNobOF2I 8YfqAKozQWWF81rha0h5jhIiZ2pt77dVxYJFQWIP69LzO4MhJC0+5PqGjAP2qyJqlK+e sSa7in5Ge55FXcbccj6+cz/1E0mytzs4MyGgNqsRk/VNQy08si3VVaZpliF8sENKx3k8 n9nWlFZGAArIrWQu0rIlljdPkq5+co9aTQXdWgJRnfgZec2gMK1KB3vSsGhNHgwrNnGa y14gPpQ6qRvc93ddvDE5qRwhprKaHR9JAEnisS8lJbRihMnYyrRAx3mtaWzP1eudekXL +zAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=fxTRCJYVV9EzZbbnM6Gqj197szT1L21KspOo1diH5zQ=; b=cb0P3nNJtem7y/vODTgp/DRBAGMWC2qYTjwRrR/lhXK2/kWENpLftDXFIygS05l84+ pl5nlUjWZk7oQ3PZi5YdeumYfW72dH3XvY/cHrg1oQW9YZ1nqiDTBsgK+AvnSMYhzq68 kUgL2D41l+id1ihvFasSMBCO8MFX329596Jjcn/mjkBbD1VohPlqp6UyKpzQ6SL/LMOW nVXW7x3lNMTHgJI2FdOPGXNWpIg+kQCClJHupjDQVbbYD2TFMJ2PQI/9mLpwDyCcZ8gk L18NcJcX8sZqm7FmaXarlEwvDVc9GGtaaQMToAaCUMhCVujopyrfEx2+aD6hqAmvFk6a s+2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=CJu4qf1h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t75-v6si21478508pfi.221.2018.11.12.20.15.38; Mon, 12 Nov 2018 20:15:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=CJu4qf1h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730805AbeKMOK1 (ORCPT + 99 others); Tue, 13 Nov 2018 09:10:27 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:39066 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbeKMOK1 (ORCPT ); Tue, 13 Nov 2018 09:10:27 -0500 Received: by mail-wm1-f66.google.com with SMTP id u13-v6so10066407wmc.4 for ; Mon, 12 Nov 2018 20:14:12 -0800 (PST) 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=fxTRCJYVV9EzZbbnM6Gqj197szT1L21KspOo1diH5zQ=; b=CJu4qf1hFaBFOn7JMtBOkuopWSViUWoY/QJKiozSwziO4mz8X0s1n7p5d6EATthR1h cLW4AqZ2y8rkKb843UgqFaUOINvFtY6Zx1aS1jdOVzFDCHzveQR71f+JBUKJ5bjjkTae RtiqNjwREfdudgWV6I+VFmc9V4JPaR7QKlqSc= 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=fxTRCJYVV9EzZbbnM6Gqj197szT1L21KspOo1diH5zQ=; b=PUJy7YeuHv8CgfEBVO38vSXO6R/7PszhJ/0I5D51OAoYbLMYoIzUbqE8Zc4ZuMVdyL eRtouianKKRuzD4RTayzP7JJXvuoOAqofDV0+aMZJb4uyMmHU43OD0jTP6u1i76z7mOw dZOBvodvistb22YbAKPxm5UykIXovf7ToRx5yxJbv8txodKpF9b9IgwFywmSeaFyB6Cp PSv1xIHavSFRxeJLuraXh+F1X6QC9c9xJdrierPbmDczF1VHaScJJ3h1J3oS6K7HBKQN Iz6oa/5KrNDa7EHTCBZSmVsH57pt5zoj+N/EYwP3i90H35y/xd2lS80t7HtIgy7zh0vD olAw== X-Gm-Message-State: AGRZ1gJR6AC9ME6GMVkbhM4eQ/cneQPrwOWZg2w1vPQuBPJ85oV17lOo YdUFDANGsqhXCT340yuW19ht+w== X-Received: by 2002:a1c:85c5:: with SMTP id h188-v6mr1727376wmd.59.1542082451540; Mon, 12 Nov 2018 20:14:11 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id x2-v6sm12206193wrw.42.2018.11.12.20.14.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Nov 2018 20:14:11 -0800 (PST) From: Srinath Mannam To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I Cc: Tejun Heo , "Jayachandran C --cc=devicetree @ vger . kernel . org" , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH 3/3] arm64: dts: Add USB DT nodes for Stingray SoC Date: Tue, 13 Nov 2018 09:43:38 +0530 Message-Id: <1542082418-16675-4-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542082418-16675-1-git-send-email-srinath.mannam@broadcom.com> References: <1542082418-16675-1-git-send-email-srinath.mannam@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT nodes for - Two xHCI host controllers - Two BDC Broadcom USB device controller - Five USB PHY controllers [xHCI0] [BDC0] [xHCI1] [BDC1] | | | | --------------- ----------------------- | | | | | [SS-PHY0] [HS-PHY0] [SS-PHY1] [HS-PHY2] [HS-PHY1] [SS-PHY0/HS-PHY0] and [SS-PHY1/HS-PHY1] are combo PHYs of version1 category has both SS and HS PHYs.. [HS-PHY2] is HS PHY of version2 category. Signed-off-by: Srinath Mannam Reviewed-by: Florian Fainelli Reviewed-by: Scott Branden --- .../boot/dts/broadcom/stingray/stingray-usb.dtsi | 95 ++++++++++++++++++++++ .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 1 + 2 files changed, 96 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi new file mode 100644 index 0000000..164a1de --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi @@ -0,0 +1,95 @@ +// SPDX-License-Identifier: (GPL-2.0 or BSD-3-Clause) +/* + *Copyright(c) 2018 Broadcom + */ + usb { + compatible = "simple-bus"; + dma-ranges; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x68500000 0x00400000>; + + usbphy0: usb-phy@0 { + compatible = "brcm,sr-usb-phy"; + reg = <0x00000000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + usb0_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + usb0_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + + }; + + xhci0: usb@1000 { + compatible = "generic-xhci"; + reg = <0x00001000 0x1000>; + interrupts = ; + phys = <&usb0_phy1>, <&usb0_phy0>; + phy-names = "phy0", "phy1"; + dma-coherent; + status = "disabled"; + }; + + bdc0: usb@2000 { + compatible = "brcm,bdc-v0.16"; + reg = <0x00002000 0x1000>; + interrupts = ; + phys = <&usb0_phy1>, <&usb0_phy0>; + phy-names = "phy0", "phy1"; + dma-coherent; + status = "disabled"; + }; + + usbphy1: usb-phy@10000 { + compatible = "brcm,sr-usb-phy"; + reg = <0x00010000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + usb1_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + usb1_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + + usbphy2: usb-phy@20000 { + compatible = "brcm,sr-usb-phy-v2"; + reg = <0x00020000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + #phy-cells = <0>; + status = "disabled"; + }; + + xhci1: usb@11000 { + compatible = "generic-xhci"; + reg = <0x00011000 0x1000>; + interrupts = ; + phys = <&usb1_phy1>, <&usbphy2>, <&usb1_phy0>; + phy-names = "phy0", "phy1", "phy2"; + dma-coherent; + status = "disabled"; + }; + + bdc1: usb@21000 { + compatible = "brcm,bdc-v0.16"; + reg = <0x00021000 0x1000>; + interrupts = ; + phys = <&usbphy2>; + phy-names = "phy0"; + dma-coherent; + status = "disabled"; + }; + }; diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index e283480..6927236 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -287,6 +287,7 @@ #include "stingray-fs4.dtsi" #include "stingray-sata.dtsi" #include "stingray-pcie.dtsi" + #include "stingray-usb.dtsi" hsls { compatible = "simple-bus"; -- 2.7.4