Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp745479ima; Wed, 6 Feb 2019 07:42:38 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia3AwEDoFeeoenf+sC39pMIgL+eul9d86QleYJEZjyZF4A6NEMAWAiKEbsXhS+sGhL3G1tz X-Received: by 2002:a17:902:a513:: with SMTP id s19mr90646plq.324.1549467758495; Wed, 06 Feb 2019 07:42:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549467758; cv=none; d=google.com; s=arc-20160816; b=t2yRN0WRLhPY+p25cYwlvkAOdTD/K0W3Poge5QT674ZLgkvltYoF+4Pny8PhU4/T2K Uoc8kkCczMyx87z+Wp0uPMI8lH7JjsT2ZtaaNue9NMUVeoTPh6irfD1lRCMjrtbpMxFJ XUnfL3j841WUrMz3aGcBTiCIkFeXLOW05Hs9+iGGMc8k574C6zdRd41HN6EF2A9CEJU/ ZPICmHekbO9KfUTZCCBxod4zb/nI1P+Pil9aw/QSc/kbs1CZsyldeMgTZSzN4plnuxSb 3uXhMJlkFK6HrIHEcjpJDw1g/sRYq7U38NB5gR+vfhF9S4tv+BB2jjMWjQez9k14Tvm+ 7jYA== 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=vCZzyrDDCvMOjsaqAXAzp/AE/7pbIygjlfYoxlnSqFc=; b=yzCpfhdb/1k/zMu9g+ZePJ3j2Q/MG/YQO0fYOesDrpgDT7R3HjSwpXGRZmNaL6+0g6 mbj4pu9KROXBG88MaLyxhuo3Ichfi7Fvr0T9pywgV38/mfAGmGJ4+wLCIMj7tl8lfgm0 dwUmJ5253ZjKl9I28gY0jER01RW0X3rgAQtYpvXWx+yOeDP8louHWf4vS1XKgJTwXHYF 2Y4ueuolXm+a7F9xgdAEw4sXR4c7mz6dpgfnEVETWEQhORyhP21FMpyYSjvATyuZhN7c B5zQSVSgnRsAxIZYlFEO/KCbrQEXnXGQVimJtgr25wKquSBrtbDraNtd6ValrKh3jQK9 wkcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=In3DwoAB; 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 98si3810973pla.320.2019.02.06.07.42.23; Wed, 06 Feb 2019 07:42:38 -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=In3DwoAB; 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 S1731386AbfBFPRT (ORCPT + 99 others); Wed, 6 Feb 2019 10:17:19 -0500 Received: from mail-yb1-f194.google.com ([209.85.219.194]:37810 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbfBFPRR (ORCPT ); Wed, 6 Feb 2019 10:17:17 -0500 Received: by mail-yb1-f194.google.com with SMTP id 2so2601158ybw.4 for ; Wed, 06 Feb 2019 07:17:16 -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=vCZzyrDDCvMOjsaqAXAzp/AE/7pbIygjlfYoxlnSqFc=; b=In3DwoABQpS1NzcAz6SYfdoV6/wSteuen37Wriwh/VqH2153w454ttFQLxueLwCaJb +bp0RUa2SKvlrY+ARo6viv9wZyJ9JwVnwE+Of8qJXa0sgy9v3X7SmFDvNfKc3M1RYHWE yxg7TR7rlE7mch6H21zQogi94oFLxczuPpjV0= 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=vCZzyrDDCvMOjsaqAXAzp/AE/7pbIygjlfYoxlnSqFc=; b=lT/mqwePL3FfkSpD+WJ90+0/DhDaXREc2CHsb/PNMGRjWeaWLN/iV09APPbeTCMOup M2pjsdrh1SmOson/zAlbOZC1UsYy3BCVCnGfFAuQd6XMS5Fiw5zlDkTg5IqTSmfsTGM9 pDa543hqHTOI2MKWp0Uis1V6vnZuIEeZo9ypkuZeSIMruN2N0/ni+EsvXMMYiHXw2+Xa HpUrs+PLmnFDiWnmCLQzvFrTRgfiSAWW1MIX0gbi0tcEpQtp8UkhSaq5f11EkP6qAscR 9GYZ1G8x2jsxDJIWoXQF1wt9XDGNbThE0hhB/vYGgjhMP0qXt6g/76i7tIxCxR4iKcYE PFzw== X-Gm-Message-State: AHQUAuZYGWlLtRgD0+sUkyqGM0p7jvmzQ+jMaV5Wy7fZ4fqd9xSNAIdU BcGMZjSVVSTNbJmepXxt2SQ3Ug== X-Received: by 2002:a25:ef4c:: with SMTP id w12mr9081072ybm.177.1549466236391; Wed, 06 Feb 2019 07:17:16 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id r124sm557617ywb.39.2019.02.06.07.17.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Feb 2019 07:17:15 -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 v3 3/3] arm64: dts: Add USB DT nodes for Stingray SoC Date: Wed, 6 Feb 2019 20:46:47 +0530 Message-Id: <1549466207-3190-4-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549466207-3190-1-git-send-email-srinath.mannam@broadcom.com> References: <1549466207-3190-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 cfeaa85..21dbb12 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