From patchwork Thu Feb 15 10:30:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MD Danish Anwar X-Patchwork-Id: 201391 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp324913dyb; Thu, 15 Feb 2024 03:18:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU3YVp4p3d1PoLKEn2g26gGJauSm/1e6ybQdxs+uZZiHivQelM8mzYFiGMDq4br5pBMxK8ev/fINeQm00BDJ5Ca0XA8Bw== X-Google-Smtp-Source: AGHT+IF4lia1xGSHsDl/RxxwIUBxNZnmGpb2VE1/hoCVjgMSKvJSPi9Ivqn+GL9mek+hzspqYoE8 X-Received: by 2002:a17:903:32c5:b0:1d6:fe15:b588 with SMTP id i5-20020a17090332c500b001d6fe15b588mr1423510plr.64.1707995914651; Thu, 15 Feb 2024 03:18:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707995914; cv=pass; d=google.com; s=arc-20160816; b=1Irsevls7sQSo/ByzwrltHezM2pTZcjo1Tx8K2o3o1XnQeHmLcYWjKvYQKI37eYqBv LzlQOvrZadeV5zZEH/qcVaoJUKEQjOC9waxUvN/QEKbX3s2tGW0DTGIs8uiphNUBeUWT shlETjFSlpN3FVG7Lgs+sbSqgeJF4bFou/b+gI7mn8EIde0i+PRd9Do3alrBdE/ikmIb 7OgzGgN5XKh8hOr4Ihrrbj181MXKIhTpKJqWSNBDXNaHhgR4O5ScIw8LeccLMyJct/3Z 3ZfIbt+HOEIS4dj8FS7CnYyn6HdEwgTn5dl15nuo7/Joj33TiY+sZDW6AesLaFImlaxo FQ7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xUh4OTnhvZ4QilgxMoyStbN6234r5hgOwbudObkOCDE=; fh=3jtgqEY7WUt1mcpjvAzNp0gyuIQKqeIvphN/3R5RBLA=; b=nHk1SOHnevJC6OWuP9cRMabxAk0f2N9FuRY5BXeLfZagiBbKfFLegFB+KJX8b1fQCb CVbeUgyoKSv4j2n36w1YotsPrStPwVYuHn0qzIvvkb4P6BWttHOn1/0+JiJGq1L6VB7R 1RoDqmd3DHc3lsp8p7T+vHhqw0zi9ekHJD2MMMChMr3JnS6w4XTlgdvNCTZv8eAEX69Z INXdF1SnI31SMfbbIlgfXbb3PmX4S3h6RMgkwS2oLULn/U0VpqCFyK72nBV1enU3ltqz 6mDwu+xTY8vkkCmt2kNoo++Cd9oILMGI0x5qQxe3gskmziryzL/SLbhudNmZn/ktFaB7 deJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=D0vwUR8R; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-66630-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66630-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id jw23-20020a170903279700b001db6723916asi934594plb.422.2024.02.15.03.18.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 03:18:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66630-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=D0vwUR8R; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-66630-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66630-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 27AC9B2BF0E for ; Thu, 15 Feb 2024 10:32:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F46D79953; Thu, 15 Feb 2024 10:31:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="D0vwUR8R" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBB831DDDB; Thu, 15 Feb 2024 10:30:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993058; cv=none; b=nUwGwN+K+Zhc6gDT2QnaEl2JpzhIOTZTAENibAZtE2tnnaxVTB8m40yzQs7fWIt9c4r10re02y4yAe0QkfbkTe2GVvUGIoucNWXyhz7okOJLU/hGKtLheAHhPM27USVx09RUNyToZYHwCl4JpxqO4eyy3WGqpKdSpV8KCGfB2Sg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993058; c=relaxed/simple; bh=lFCW+S4RlRFZM8WxmSRzupQnZ8R5azS/EIsucaneiRE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GX22u9Q82gmGeslJxR76lOrcgibb0AS2KfPwlSQX9iPK2Z5c5YYkmtZ+4jZ2W/SY+zorIGzxNoxTkm5jS2a3pGyXqOFid0uml74w9uIJSgtnz3TUfL+jRXCRPfbizbcwatHvVsYC2GsUvV+fdcwWJwRnDQcMfqx4rR5W11pCh58= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=D0vwUR8R; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41FAUfpt095113; Thu, 15 Feb 2024 04:30:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707993041; bh=xUh4OTnhvZ4QilgxMoyStbN6234r5hgOwbudObkOCDE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=D0vwUR8Rm2uES/7J2/lEnjZ/qAkKfrFxsbtM8sWj5NQEGqTLVBzjbUe//cuCeuiCE W4LXTYHJMUwDQWQNf7ZQoONKAAEzjUY81fScQyfng2WIWs1WvWripfpP1S7uwTX2Fr X6oHbmhrTD9/YCrorW7kq0Luz1PA+hBx5jDAq3OY= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41FAUfsx041766 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 15 Feb 2024 04:30:41 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 15 Feb 2024 04:30:40 -0600 Received: from fllvsmtp7.itg.ti.com (10.64.40.31) by DLEE113.ent.ti.com (157.170.170.24) 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; Thu, 15 Feb 2024 04:30:40 -0600 Received: from fllv0122.itg.ti.com (fllv0122.itg.ti.com [10.247.120.72]) by fllvsmtp7.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41FAUeSI004604; Thu, 15 Feb 2024 04:30:40 -0600 Received: from localhost (danish-tpc.dhcp.ti.com [10.24.69.25]) by fllv0122.itg.ti.com (8.14.7/8.14.7) with ESMTP id 41FAUedS031772; Thu, 15 Feb 2024 04:30:40 -0600 From: MD Danish Anwar To: Vignesh Raghavendra , Nishanth Menon CC: Andrew Lunn , Conor Dooley , Krzysztof Kozlowski , Rob Herring , , , , "Tero Kristo" , , , "Roger Quadros" , Suman Anna , Grygorii Strashko , MD Danish Anwar Subject: [PATCH v5 1/3] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Date: Thu, 15 Feb 2024 16:00:34 +0530 Message-ID: <20240215103036.2825096-2-danishanwar@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240215103036.2825096-1-danishanwar@ti.com> References: <20240215103036.2825096-1-danishanwar@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790963523900976508 X-GMAIL-MSGID: 1790963523900976508 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 Reviewed-by: Ravi Gunasekaran Reviewed-by: Roger Quadros 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 ddd382a0d735..c678366623b7 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1225,6 +1225,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>; @@ -1366,6 +1378,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>;