Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp19079rwn; Wed, 7 Sep 2022 19:03:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR6bJodaOsG0qOH1kJgsmEDykYN8gs9mp1TPQSMpZ17t2D5Cwa6Ww72jAWjB0wpFCJC7qFO0 X-Received: by 2002:a63:e156:0:b0:42b:5541:80d4 with SMTP id h22-20020a63e156000000b0042b554180d4mr5675147pgk.183.1662602585863; Wed, 07 Sep 2022 19:03:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662602585; cv=none; d=google.com; s=arc-20160816; b=bsKe1WNEucR9kwLr0jvtaON1eS6vC4j0CbECDc8c0gMiQS3doXiOiNZnU7P+b+XLOV orss/IzvWg6L59WcGgSNwrt1IcEALEkpwcS7OwsWD/QVubgxJtchjYYZxMIp7ZPw26jp 0KrPM5EKhOPqymRctGKO79by7X+7Yv1NTHSTe+XjrC5l+zurc+uZECIagJAuiOuat02M XpJBSwMvn9cG0RSyAHaHzIFBDsaG+svMf7GR4Y0pYKY3BlH5pM6SZVGbii+N2DBjmuGA lY5rafSX1yMBHTZeAGivkBx7M7ul7i3dJGa33ycW2tiw0XtkjEM8zwzjqwrUK3ns7OxE XuEQ== 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=CiujxtxI9RYDoyeskp4KDklyVi6YfIOKqU4K9qbjpeY=; b=t2rH401EiUWDsw/Id+gb2PBrt9duea58kLFzfKKwRRVW6oLXFtbn7OaBczIKviOZfZ e2zxF9bg8q0AQfRrKMsgb3rTIpAgLVI4e6FQ1QkzmxV4PnYYQL35IaXJ1y+i6TNLAJXz Ws4en+JEj4n8bsEjCSVIO1bbqfrrIMXCQ9pjzo8tbjAxgRAuZAGthYft40PZBT2hqaf0 61bla5nGEaIjFAmXRoGeIFsGklO6qVET1M4QPJqwjL1VP4nuMlgnJVUo0jVTXpwhUI1F lwGR293/pRQV5yk74e+TxXI3dz+i5VF/jtq+XnbqDKJS2uzLT7YvSu63NU64YFEp4LtV fn8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mZwE2XI4; 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 s38-20020a056a0017a600b00537a1cea917si20203205pfg.30.2022.09.07.19.02.54; Wed, 07 Sep 2022 19:03:05 -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=mZwE2XI4; 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 S230406AbiIHBUv (ORCPT + 99 others); Wed, 7 Sep 2022 21:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbiIHBUq (ORCPT ); Wed, 7 Sep 2022 21:20:46 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CA6DAF4A6; Wed, 7 Sep 2022 18:20:45 -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 2881KfxR103353; Wed, 7 Sep 2022 20:20:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1662600041; bh=CiujxtxI9RYDoyeskp4KDklyVi6YfIOKqU4K9qbjpeY=; h=From:To:CC:Subject:Date; b=mZwE2XI4xrwzZIy67Cw4x2Cvfk2SZ7cAnwlspK3D2dXPni+P+txR/wPv92SfNQFho hTK7oDmvNgDLb8tyHWeouAFCE4rJCjwHew2vx2/glt3en1GKtGC9krrXjWpShtNhSp G9dpBXdnxjTySTaug14JcuoxzQqtAlvSTqwxcXTw= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2881KfgB028760 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Sep 2022 20:20:41 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Wed, 7 Sep 2022 20:20:40 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) 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; Wed, 7 Sep 2022 20:20:40 -0500 Received: from ubuntu.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2881KXFc009016; Wed, 7 Sep 2022 20:20:35 -0500 From: Matt Ranostay To: , CC: , , , Matt Ranostay Subject: [PATCH v2 1/6] arm64: dts: ti: k3-j721s2-main: Add support for USB Date: Wed, 7 Sep 2022 18:20:26 -0700 Message-ID: <20220908012031.3354-1-mranostay@ti.com> X-Mailer: git-send-email 2.37.2 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,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..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.30.2