Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1507967rwb; Fri, 18 Nov 2022 21:04:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf7HRau3jH8tJTn7928IkrEBkoFF/o1eNaCqKwbniv/of+VxEuB0Ji2Hy+HmsgzgMFlyumrL X-Received: by 2002:a63:5d06:0:b0:46f:be60:ad82 with SMTP id r6-20020a635d06000000b0046fbe60ad82mr9568599pgb.34.1668834271018; Fri, 18 Nov 2022 21:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668834271; cv=none; d=google.com; s=arc-20160816; b=awpVcVGxllLcMkqtPiAQ2kHa0oAun+b/5YZUjbWdZnrsEGr4YLb5PZsrhsYDwnPxL3 NewMw9RkYqT7NFU6OXFXb8wlYMUNOo9R0hP2+vyX/fGaUJogsXQugC9xw9ylua6Ebf8O ceoUSgL1kAHs5Iys9/sriEy7Gp0BiScK91DkhqFol0rr9WUMbEY7kgD7S15Y+nrvVYD+ nZrqMIdAr3Ytngial88NL3nW4gwgFAahUH5tJq4i3k9pxZrpaihEV1TWXzma66nRuIl4 EQwFGOBq6qzRIpE5cr1iD65vftZKTPDw+Nnxpsx05jjj1t8oARLs0SuzpEZP3MK9rgJC PbCQ== 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=Z7PmexFMzjsMKq/hM3kpC78Li0Ya2z8I4QF30Hq1gkQ=; b=CmhWXONg+R2y41fl82f4jj11a73lU2LSJA4wno4LFZtVBfcowyPQ5a/XEgoU+dvciP aXKA3QA7gAs+eRg+GrIAbd8RqT8zUzOxC+hRvuTGfFsh3vN3FPBJBSAZ5/6b9N5US1Cp aCdJH4sgDJTzm1Uthu58hx6ERwIf7tJ1l6GAbnJKTujCAyi7BOFUlEHLd8/r/85Mu4gG CQqBB/HOBTt6ngkUEM4C3iGl7tWQKZATN1eljJzRpf90vWaNO4crB9MBdfyb4+1E/ztp zECqW6QGHyrsChe4/hIPmrLSeG3tbrdgPxLVOan3Hy1wAbxxqI0bxIXnN8+GyR6v1mOT HJjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vU11k5Xc; 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 v191-20020a6389c8000000b004774fa3d9cesi262448pgd.618.2022.11.18.21.04.19; Fri, 18 Nov 2022 21:04:31 -0800 (PST) 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=vU11k5Xc; 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 S231717AbiKSEJq (ORCPT + 91 others); Fri, 18 Nov 2022 23:09:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiKSEJk (ORCPT ); Fri, 18 Nov 2022 23:09:40 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 108CD7119A; Fri, 18 Nov 2022 20:09:38 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AJ49FBI042806; Fri, 18 Nov 2022 22:09:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668830955; bh=Z7PmexFMzjsMKq/hM3kpC78Li0Ya2z8I4QF30Hq1gkQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vU11k5XcS8As8I//OuJ9yNqnR1AzQ2Jot+bpv8nlKETu1FBLCub/GrzRHsh7i7rII 7aofQYftv9tr7RWWMAShhaDqzuVPzMZaqAtmc2m1XRUHqHDtgd81+0YvKghia7Oayd cHxaKmRby0R378vs9Nv20kyKpTxFpg4xBQKuy4+g= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AJ49FAh002080 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Nov 2022 22:09:15 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 18 Nov 2022 22:09:15 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Fri, 18 Nov 2022 22:09:15 -0600 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 2AJ49Clv092839; Fri, 18 Nov 2022 22:09:13 -0600 From: Matt Ranostay To: , , , , , , CC: , , Subject: [PATCH v6 1/8] arm64: dts: ti: k3-j721s2-main: Add support for USB Date: Fri, 18 Nov 2022 20:08:59 -0800 Message-ID: <20221119040906.9495-2-mranostay@ti.com> X-Mailer: git-send-email 2.38.GIT In-Reply-To: <20221119040906.9495-1-mranostay@ti.com> References: <20221119040906.9495-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. Reviewed-by: Ravi Gunasekaran Signed-off-by: Aswath Govindraju Signed-off-by: Matt Ranostay --- 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 8915132efcc1..b4869bff4f22 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>; @@ -745,6 +759,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.38.GIT