From patchwork Mon Jun 29 12:52:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 191995 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp3128150ilg; Mon, 29 Jun 2020 11:39:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTK+SHFI0HgHr8DJvSbX/MyFoWCywm518bzdlx7/P4L7klFOXvnsI9RQomdgWgZFhz/C/G X-Received: by 2002:a05:6402:2c2:: with SMTP id b2mr18842537edx.184.1593455988543; Mon, 29 Jun 2020 11:39:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593455988; cv=none; d=google.com; s=arc-20160816; b=nqaCbZas+ShK+tfl4WAGGvgj+XLCKx4qoaCnw0w4snhTiTEJJN8XFDkeWWGhd/Eo1f 5YJPtlSvZ6Pgg4QC38eUPnlxbFsdwzbh2Yfrop0anEp+E2YNY7sIcibM29KeTjQm2WDa Xoj5ErcX//Fh+Eq1XHATnwAJR2PFWzWGVBUYsC8me2tP7lEORL1bsOukIMH9geQ84U4Q /2xhRKi4i0kTMByHSPLGDXe5g88YJZyO0vN2UQCJjiVtEjPA3YGt3RaFYM2a25mgSGBy UZjfLhQtPW9fZ4erYU6123/8w8Mgziug51N/xefwxzvSFWPuytFIzLukc2bh0N/g6mN/ RylA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=cWFMa/FmsEznGa6urrgF3YL/SYAuIrgP0F7ozOAHwSM=; b=VER3u9HV7BqUnNr6GQSZWSMtqOHbgPOL0cHChywCmUHm9Ewwi+Q/oe/6eunXoCC4iW vPLnpCCil3n+6khjHaoEZjBpCSHeQSJxaj2NR3gx6/yZ5fxiYeMvgzz/Gi1Pdvp9/SZe 7zc0iEE84SNiCq3W/Xoq47HqyLAHcGza3GdemGhQasLxTw9kYQfr0OVEeFwlzu6/1R82 dalYlztyZzWmfGdy54D5QIT05Dtgooyxf6ZgHK9L/fhcm8V1PFkrHplMNvrNRuVK6IxW Hf1vCmFIrs8WAlr7oaQbjr6GESd+lFcdrrkZh7FwWQxN+BiLBfciIUdCBvLx2RClAPi4 cEtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZVxtrVuV; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si257227ejx.496.2020.06.29.11.39.48; Mon, 29 Jun 2020 11:39:48 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZVxtrVuV; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728104AbgF2Sjl (ORCPT + 6 others); Mon, 29 Jun 2020 14:39:41 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54506 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbgF2Sjk (ORCPT ); Mon, 29 Jun 2020 14:39:40 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05TCr87A015354; Mon, 29 Jun 2020 07:53:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593435188; bh=cWFMa/FmsEznGa6urrgF3YL/SYAuIrgP0F7ozOAHwSM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ZVxtrVuVtXHtTe6wHBBmkVkrpRe4NNPw3MLVx99jmgPipyB+B81uXV6UOIe1X/kTs VkgJpTK7aFZTUNLWQh4Cb11gNdPa8FZ/GIaqKsO0s531RYEV1Fb4yGAoU/u88c5bqz 9Cp1el2tuL5zTkn/ACT/u7BZDPCVK1o59OKmy6ZE= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05TCr8fI015229 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Jun 2020 07:53:08 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 29 Jun 2020 07:53:08 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 29 Jun 2020 07:53:08 -0500 Received: from lta0400828a.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05TCquh1015456; Mon, 29 Jun 2020 07:53:06 -0500 From: Roger Quadros To: CC: , , , , , , Roger Quadros , Sekhar Nori Subject: [PATCH v4 4/6] arm64: dts: ti: k3-j721e-main.dtsi: Add USB to SERDES MUX Date: Mon, 29 Jun 2020 15:52:52 +0300 Message-ID: <20200629125254.28754-5-rogerq@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200629125254.28754-1-rogerq@ti.com> References: <20200629125254.28754-1-rogerq@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The USB controllers can be connected to one of the 2 SERDESes using a MUX. Add a MUX controller node fot that. Signed-off-by: Roger Quadros Signed-off-by: Sekhar Nori --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 5f1f11b6fdff..469620aec9d4 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -44,6 +44,13 @@ , , , , , ; }; + + usb_serdes_mux: mux-controller@4000 { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x4000 0x8000000>, /* USB0 to SERDES0/3 mux */ + <0x4010 0x8000000>; /* USB1 to SERDES1/2 mux */ + }; }; gic500: interrupt-controller@1800000 {