Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4760769rwb; Tue, 20 Sep 2022 20:25:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Jd1Lt+rL49RwXxAkr62iCbjbJnJ8lnnZ8lxO0QU05ZjpXre7RzlJKKtetuHsifq/9YjCr X-Received: by 2002:a17:902:d70a:b0:178:5d52:9e41 with SMTP id w10-20020a170902d70a00b001785d529e41mr2741167ply.0.1663730746129; Tue, 20 Sep 2022 20:25:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663730746; cv=none; d=google.com; s=arc-20160816; b=hj1DMYFG38DFuHqpvl6fGZwa9LbNybTpfUvbTgNt+PimaS1XyCBZTmU0D7H+TkpyD8 JA8oHMrIze7els2fI+5i+e5loO80D8gBaAl+PzHgwZW/ehxRW7tY7hCXYfZs/gTGnRfr aut3cCuTKcpKMUbhOX8/zUkdpPfbbDgQJ2KSwNGu/UzSIl4dG3m8jSDdfJfPmuyBkJuL pnX3d+xSCPGR0X7WnliDQIKMYt2sw5Ow1scN0vvzxwXmlDyKp2+bMdbhw9iY9nJfaiLM DSH6BpDlOCIa6Q6v87vzq59c2BEuF3+UJUjWpSqEb5Vh8YiwqVVj4VXCIiITIiG1JdKt ajnA== 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:cc:to:from :dkim-signature; bh=ZrUHB7hSiwgO8aC2igzluVfUcksEqQq/batRKS59/R4=; b=duheLyUjQdkqCMOKUX5l2GV4wawlRWgEvoNVaUGB9v+k+V3uiwhjYjnc/GNIbxC+sl zejphrPcg7t+6DvSUisWrrhvcvDumVEVPZe5oZkiASDA5PargXwy0dV+PYEyZXQKWoKP u2uJearNmoLt6PA/vVV+zCT9c7EgjNfsachca799fpM32Dgq1W73PP7mDuPgQ6T4D8o+ 0CVyD5kG8QfvzPEmx7XimhfMjiGJ1pXvKUUzbCdlgXQLmbSNJ259pY6QKwUQtPy8EWUL UU4Ku3Ce7zx7cnqE7g0IylfCfQDWb0WC5K+RMJYe+HU0CDq1lQZrW42QctOxwPhq+cnL x5YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=EQOpzvJd; 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 lp1-20020a17090b4a8100b00202e104e63csi1694602pjb.97.2022.09.20.20.25.34; Tue, 20 Sep 2022 20:25:46 -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=EQOpzvJd; 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 S230511AbiIUDO0 (ORCPT + 99 others); Tue, 20 Sep 2022 23:14:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbiIUDNu (ORCPT ); Tue, 20 Sep 2022 23:13:50 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E501E7E31C; Tue, 20 Sep 2022 20:13:42 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 28L3DYDU051238; Tue, 20 Sep 2022 22:13:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1663730014; bh=ZrUHB7hSiwgO8aC2igzluVfUcksEqQq/batRKS59/R4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=EQOpzvJdgGNK4/Hv8fLY1IyJXscxxrLRVonR5uei2Eo2Wp+AwrFWZYURG47l+a13J 1s3G0udKgk5fp8ekhZ6hb/IA8dcFEqbZDLPPE/FaetjeO7we91t3/9SmEuo5CyKZl3 eDUxXzhOUHxWYhn7+dHVQGEk5nJV3OlUO1tiZMoU= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 28L3DYph083391 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Sep 2022 22:13:34 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 20 Sep 2022 22:13:33 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.2507.6 via Frontend Transport; Tue, 20 Sep 2022 22:13:33 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 28L3DVPF074149; Tue, 20 Sep 2022 22:13:32 -0500 From: Matt Ranostay To: , , CC: , , , Matt Ranostay Subject: [PATCH v3 1/9] arm64: dts: ti: k3-j721s2-main: Add support for USB Date: Tue, 20 Sep 2022 20:13:19 -0700 Message-ID: <20220921031327.4135-2-mranostay@ti.com> X-Mailer: git-send-email 2.38.0.rc0.52.gdda7228a83 In-Reply-To: <20220921031327.4135-1-mranostay@ti.com> References: <20220921031327.4135-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=-4.4 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 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. Cc: Vignesh Raghavendra Cc: Nishanth Menon 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..1f178ad3fa42 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: syscon@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.37.2