Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6914200rwb; Wed, 10 Aug 2022 03:30:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Ptz2uEfgf11cplCJJsxP+r6qJIbxhwGrCXXoxSoc04ZFz/r5C/tDKk6zzvNJxYIhdjOin X-Received: by 2002:aa7:8896:0:b0:52e:7cba:ffd8 with SMTP id z22-20020aa78896000000b0052e7cbaffd8mr27140372pfe.82.1660127432289; Wed, 10 Aug 2022 03:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660127432; cv=none; d=google.com; s=arc-20160816; b=CmMPU2uoUhzDdjZ5SlMelp6B1EZc4jPysYPFzhw+JywZ1Sobzo2gup8gh4lQQeJPYN PUlVpBvMtOxTAa4w75gSD/5BsKIhVsa0kaQ52EddHRw65wgvFcDSJqG5mXhBQPi1QR4B 1vgSk1yMoXiijum7p2Sn4K4z+s6q7u5u4wNqPDFnbib6Fqr/MznP4DfzwJMYsXFyeQrT M3O1IW6w/ZL2KMsanYyE6NXOJupObqdNILCnEubx7JfRxuCtGQGtdCKcMuhNZ9+8zvfh OMWV0EiwT7+VxDTg/D+73khHRtxGZwzxiIPGA24RzH+987KEaWlSpkSZ3tL1HvCu5FbX 9vSQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=X29vcjWFhF4UVgvsFJrukUPzgpktPiXJ72hCk4ztzTE=; b=ExqnIFsbvhuHr4MLujVB4gKOTzrwKSR3MbdHbhK58w9ZmZeId6u8IkQzrKpuOWMD5R lTBvJa4dHcwduBTF3y80b8elANfcOC1ed+FIZaR7WQG1ez9FXwZLjM2dQjlOWjakkq// TiI5matS+OkQlusX6nyg+j3lAbAwVUU01z0Id5QwXNPKR1sT7o5alKnMIzhEN005mHO0 ld1uZSztl5lAyK0CZelTStMSD6Q8Ha29h7H5s19iDzHcYSwrplo2JtWAhCVqv3H9N7Sp T6gYuaOQ2NA443HHqyfL4rwrwMUHcDpdHU2p2N92sPmehORzDPv6G3LeOv7YT2kvSYQs /GsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XUIlmLqN; 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 p12-20020a170902e74c00b0016eef21566dsi5799845plf.198.2022.08.10.03.30.18; Wed, 10 Aug 2022 03:30:32 -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=XUIlmLqN; 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 S232119AbiHJJkT (ORCPT + 99 others); Wed, 10 Aug 2022 05:40:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231228AbiHJJkR (ORCPT ); Wed, 10 Aug 2022 05:40:17 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C68AB1C9; Wed, 10 Aug 2022 02:40:15 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 27A9eBeo091533; Wed, 10 Aug 2022 04:40:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1660124411; bh=X29vcjWFhF4UVgvsFJrukUPzgpktPiXJ72hCk4ztzTE=; h=From:To:CC:Subject:Date; b=XUIlmLqN/8G4QIu55VacPa/R9V/83MeZxa0BTiaOk7+RkMtbNCtStQ3SIjEar/9ma cEyFWuLMx+UIqR3zMPvAXmCkIyis2eoQyOitlK/RVEyfYe2x3AWUgGSKbuPO5BJdaK 7EZfc/Vdxim4im4wsq9HaakFSR8EOOYiZB9rjWsg= 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 27A9eB8a039120 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Aug 2022 04:40:11 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) 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.2308.14; Wed, 10 Aug 2022 04:40:10 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE110.ent.ti.com (157.170.170.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; Wed, 10 Aug 2022 04:40: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 27A9e2Po121822; Wed, 10 Aug 2022 04:40:05 -0500 From: Matt Ranostay To: CC: , , , Nishanth Menon , Matt Ranostay Subject: [PATCH RESEND 1/6] arm64: dts: ti: k3-j721s2-main: Add support for USB Date: Wed, 10 Aug 2022 02:39:55 -0700 Message-ID: <20220810094000.248487-1-mranostay@ti.com> X-Mailer: git-send-email 2.36.1 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.0 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. 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..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