Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3365862imw; Wed, 6 Jul 2022 23:58:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sU0cs91gvlqvjHxMCcV89C3eovGYGohAalU3LQq8dJ2gyKupCobAm9FGqERLT/AbBqJP/o X-Received: by 2002:a17:902:b70d:b0:16a:39e6:13fc with SMTP id d13-20020a170902b70d00b0016a39e613fcmr51465161pls.125.1657177100578; Wed, 06 Jul 2022 23:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657177100; cv=none; d=google.com; s=arc-20160816; b=TKYyebTrthhi+8bs3mOkADCbpjRaoNtD0QPzOUdK4rK7OyX8ux0zsKFq+BFuVw8eDa BIYqVGgBL83XJCaRBR+8pFiTKejyBFNdazLTy254fzXTRe8dO1NzILM23vEOHmGirf1X 47AdM/aPBJMPE+eOYEWFd8xLlQgwRb36YHaZsj+zo8ZXSCxhbDVJqb4w585495tFt5PP k2qdiZH1ehXcTZfucxoOfEyQx0WHZy9qpSOFUrPnC4yM6DN0eypIBZVPBS1JlMigYa5a iDzjp5QBYbVWgczbBCXpbdBsauG2WFLfxFIZ1r92FPlv4dvnNAC+6ydYvYOQ6e+QL7Bn I/ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=BA3dRH6WkPJBb1d5dncmA5rdblpKkGp3owPvjBdVKeM=; b=eQwrnV10Pj0PpVS8WHiYBHy+FD5laG4RafOapdjI4sl7Gy44qi4pxiHkZ98no52ysv R9phKY7FnTs/IXSjQBcTbkfDyGIg7mjWvVg7KDrJtyur26aGp5irpKdRqWmsg5wc7Lbv EQHYiNkWt5D9mHuOmnQ8Zc0f9MpUHaGeQBDM4HT4AMfmVfwVQfblecY7XPMLkqyAfSVX dHee6hxMw6Dr7yqLpoZcIj9/6zumpY4jbnKEJYDwgaT/iTseS86YvvxnVwdginWlyqOp 5cnDFZmbIMypzeX1F7iEMce1POf7puwcRUwruEhnvjjF3m0XXUUFVi/8t15DtCHv4sTN 6b5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pp95UiqC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e16-20020a170903241000b0015d0c53ae0esi51593615plo.491.2022.07.06.23.58.08; Wed, 06 Jul 2022 23:58:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pp95UiqC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S234814AbiGGGZZ (ORCPT + 99 others); Thu, 7 Jul 2022 02:25:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234748AbiGGGZT (ORCPT ); Thu, 7 Jul 2022 02:25:19 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88DCC10B0; Wed, 6 Jul 2022 23:25:18 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2676PAXg027357; Thu, 7 Jul 2022 01:25:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657175111; bh=BA3dRH6WkPJBb1d5dncmA5rdblpKkGp3owPvjBdVKeM=; h=From:To:Subject:Date:In-Reply-To:References; b=pp95UiqCbksyOJN1esrO6rQdGlko0yEQBIgKIGoJU3uJpgjx7kObDqfB8Czxs/Wyj 5lvxmXP4nX4syp02BWkp44DUDaFTlBivCuWuxpGblTysN/b5I4sW0dMZZy3mwuBErS n2aKASX9Phgj5gCGhViXve6NzqxP/IdLIMHIYZEU= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2676PAwt058679 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Jul 2022 01:25:10 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 7 Jul 2022 01:25:10 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 7 Jul 2022 01:25:10 -0500 Received: from ubuntu.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2676P51S106842; Thu, 7 Jul 2022 01:25:09 -0500 From: Matt Ranostay To: , , Subject: [PATCH RESEND 1/6] arm64: dts: ti: k3-j721s2-main: Add support for USB Date: Wed, 6 Jul 2022 23:24:58 -0700 Message-ID: <20220707062503.295663-2-mranostay@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220707062503.295663-1-mranostay@ti.com> References: <20220707062503.295663-1-mranostay@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Aswath Govindraju Add support for single instance of USB 3.0 controller in J721S2 SoC. Acked-by: Matt Ranostay Signed-off-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 34e7d577ae13..f7e359da8690 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -26,6 +26,20 @@ l3cache-sram@200000 { }; }; + scm_conf: scm-conf@104000 { + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; + reg = <0x00 0x00104000 0x00 0x18000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x00 0x00 0x00104000 0x18000>; + + usb_serdes_mux: mux-controller@0 { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x0 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */ + }; + }; + gic500: interrupt-controller@1800000 { compatible = "arm,gic-v3"; #address-cells = <2>; @@ -686,6 +700,34 @@ cpts@310d0000 { }; }; + usbss0: cdns-usb@4104000 { + compatible = "ti,j721e-usb"; + reg = <0x00 0x04104000 0x00 0x100>; + clocks = <&k3_clks 360 16>, <&k3_clks 360 15>; + clock-names = "ref", "lpm"; + assigned-clocks = <&k3_clks 360 16>; /* USB2_REFCLK */ + assigned-clock-parents = <&k3_clks 360 17>; + power-domains = <&k3_pds 360 TI_SCI_PD_EXCLUSIVE>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + dma-coherent; + + usb0: usb@6000000 { + compatible = "cdns,usb3"; + reg = <0x00 0x06000000 0x00 0x10000>, + <0x00 0x06010000 0x00 0x10000>, + <0x00 0x06020000 0x00 0x10000>; + reg-names = "otg", "xhci", "dev"; + interrupts = , + , + ; + interrupt-names = "host", "peripheral", "otg"; + maximum-speed = "super-speed"; + dr_mode = "otg"; + }; + }; + main_mcan0: can@2701000 { compatible = "bosch,m_can"; reg = <0x00 0x02701000 0x00 0x200>, -- 2.36.1