Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4773837rdb; Tue, 12 Dec 2023 08:59:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZQ0hP8GVdXEgrJ8pxHMQu8cUHDEoqJitjbVufMVkwxgINu8vwWQn5iugtxsMs+mKLiB41 X-Received: by 2002:a05:6358:e485:b0:170:87d:f307 with SMTP id by5-20020a056358e48500b00170087df307mr7015124rwb.19.1702400348564; Tue, 12 Dec 2023 08:59:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702400348; cv=none; d=google.com; s=arc-20160816; b=0y3m/jY/sH8kE9VJ3bJ2JTB6BbpH2jXac0t6vnuV7X0MIdP9R7t76aKK+HAimeIemG 1uH325TzuCh12fovxQfigq+PGre7dCc0/G96LTFM7D40w+VqkIPPZHUd7Bt26vdlxLjb P1eXK3hs9tAuWPnVcbVF9Y2bkk9B6PsDU4LbBkT0+6HzcK+ln0XhmM2ag8UsgcAFgrJ+ 6DDTwprIrDLgp+alE+PMAihWu7FUxJdxJzom+Fe3mSEvPM4NH+CInwkOnr6O1wHl4o8a xEsJ8D+qmTEgU6Y0361CsgZhpo1dfZ7DdZJzma0ax5ZrmmJr31BdLTodjrD/9D17ioU5 Icpg== 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=fjlWF8XP5KZPR58HGGVg7HX51cZqV46t8AK9tcZd35Y=; fh=IeTkyTSpaOLWPV7O/TpWKT2ocJXcIZY1wPOO99yEKKo=; b=y/Fav3q3s85bBaV0uP+E/lx910wXiUrlbC9Yeh46GhUTz2UL6A1+gzPgC1Z2xoIYz8 wWJCOMyR5tclk3k71NeHUXlKhHZZ32D9mBdPDU+qdN3hzH+tBdTgwYSwwT9L80gO0qno IiB592BfDlVTZyrBtZuXkPDi31Z7oFbzr0kX6RAYkddj9vpvUvieo0veO331XS1s/wUU LyH4Do8WAnWqO1Q/e7CMnvlRoMqFG2pKzNmQ98HJDj8qSorrPqoPyBI5dFXpwkm2sZV6 xoEyY9JbORlZd9tTUKlv05ZEdMwHq9iSHCDIVblLTBlVWX2Z3PDSodTbML7TQUyctSVC RAIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="M/jEF6BO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id v10-20020a65568a000000b005be18ddf8b4si7988768pgs.646.2023.12.12.08.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:59:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="M/jEF6BO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A7E4780B01FC; Tue, 12 Dec 2023 08:59:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232634AbjLLQ6z (ORCPT + 99 others); Tue, 12 Dec 2023 11:58:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232771AbjLLQ6p (ORCPT ); Tue, 12 Dec 2023 11:58:45 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B408BE8; Tue, 12 Dec 2023 08:58:51 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BCGwhuA111227; Tue, 12 Dec 2023 10:58:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702400323; bh=fjlWF8XP5KZPR58HGGVg7HX51cZqV46t8AK9tcZd35Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=M/jEF6BOXKji/8TdwU+v0GqsxBw61FxLEUHCPDBwHDjgpXJbh5VsaC2EEybIGXtt+ Wa050CVUxK4yew3U5IX95EkhUC3vsh72SLhwpEo2wVS/ntQx1WZq+5Q9vfWOptheiB tz1izzvdt9YY7Vq3s1l8tqmJNHEOJgEuEkN5sCjA= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BCGwh5q009769 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Dec 2023 10:58:43 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 12 Dec 2023 10:58:43 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 12 Dec 2023 10:58:43 -0600 Received: from fllv0122.itg.ti.com (fllv0122.itg.ti.com [10.247.120.72]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BCGwhbV045451; Tue, 12 Dec 2023 10:58:43 -0600 Received: from localhost (dhcp-10-24-69-31.dhcp.ti.com [10.24.69.31]) by fllv0122.itg.ti.com (8.14.7/8.14.7) with ESMTP id 3BCGwgRb018968; Tue, 12 Dec 2023 10:58:42 -0600 From: MD Danish Anwar To: Vignesh Raghavendra , Nishanth Menon CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , , , , Tero Kristo , , , , , "Suman Anna" , Grygorii Strashko , "MD Danish Anwar" Subject: [PATCH v2 1/3] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Date: Tue, 12 Dec 2023 22:28:30 +0530 Message-ID: <20231212165832.3933335-2-danishanwar@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212165832.3933335-1-danishanwar@ti.com> References: <20231212165832.3933335-1-danishanwar@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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:59:07 -0800 (PST) From: Suman Anna The ICSSG IP on AM64x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be derived from either of the IP instance's ICSSG_IEP_GCLK or from another internal ICSSG CORE_CLK mux. Add both the IEP nodes for both the ICSSG instances. The IEP clock is currently configured to be derived indirectly from the ICSSG_ICLK running at 250 MHz. Signed-off-by: Vignesh Raghavendra Signed-off-by: Grygorii Strashko Signed-off-by: Suman Anna Signed-off-by: MD Danish Anwar --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index c7be378492e2..055f6e3657c2 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1234,6 +1234,18 @@ icssg0_iepclk_mux: iepclk-mux@30 { }; }; + icssg0_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + + icssg0_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + icssg0_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>; @@ -1375,6 +1387,18 @@ icssg1_iepclk_mux: iepclk-mux@30 { }; }; + icssg1_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + + icssg1_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + icssg1_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>; -- 2.34.1