From patchwork Mon Feb 5 09:05:44 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: 196686 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp754192dyb; Mon, 5 Feb 2024 01:09:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFf+dIORLskYcfG0gf3uK2PEGJNZg+UOEBYpkxKxLA5L+myLE/sxrm/T7nJse1xwTWSGHoq X-Received: by 2002:a17:90b:198:b0:296:f9f:9d77 with SMTP id t24-20020a17090b019800b002960f9f9d77mr7450009pjs.30.1707124193442; Mon, 05 Feb 2024 01:09:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707124193; cv=pass; d=google.com; s=arc-20160816; b=vcAOkQCoKEa9cnf84F724Iub+nHpDMH8D8tGWxBoElcpe7gS+H2rdNOF5wSvFfhtxc 6RoR8BwlG8yutYhPlk8FXPAItTOiifZ8AI4wHHTZBjTcCGbeqn3H3ct3BclMt2nUCiQJ 3CXlbvyYWEvEQlqaJh0BWeyAp0HEiMLEs6MRM4y1uwiMYUZToObMz+7pIcYFEKtZ7A2G Zzq9SI5+tmE9cIkya5H9s2vN30L4jp66jLqz+xSAmypFIhdcjtKMRfJcxgV000/TtKtv Uo/HzTIFNPWcLlzuq3R8i+BuOgH+oWGd7ci+4V2NfcNa5ILTkY6N4InrRO3lxZvRljVM XgtQ== 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=2cuwx8uQWWFYnfHdRsH5mjSDyuNRfi/7cJl2DykRGQA=; fh=qXJzHExty0upfDxgKGmOgKTHZTZ2Sf7kUomyduqxRvQ=; b=HajJ1uSV5nYaBMg2Zv0UWsjmGjkc4O/M2m1hNFRBuqBNSVUVQ76JRh4fSUBvUVMhO8 YRfQ5WaYWgnTW9pYFGIs5fHAKWR6qtFB/M1Z6fwOhEfB6gi8BrMLSCckFDo1V8625EhX iOeIiuMnNTaNz4eucw60Ar/8PxzLBh0/cEb+mzvEk6u7oTemjmUMWD0nKdWAfW0HfpfK mY7DGdZpSAJFacRm/Kr2IWYRU1uYarSAgHV01XdepRaCd9LFh2VRTfWlQGoc2qE12UmE +LbYreBinRDXxBldBJMQ5eDY3SCZj8jUud/UBfDbdDe32yGqmnxPBbjQvIdtkiNiEc+w JZuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iIjV8ofK; 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-52254-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52254-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVIG+Gf0NGKbDbDsEXLMrS7L7Q8P5/Dwvh3qWQfuxksgabij7x3zkkbQczadRpGIkHxpFvYkobxlPyIFKJ1l3UcDdO4Sw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t9-20020a17090abc4900b0029640db349esi4199426pjv.30.2024.02.05.01.09.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:09:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52254-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iIjV8ofK; 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-52254-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52254-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B9B762841EA for ; Mon, 5 Feb 2024 09:09:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2912112E7F; Mon, 5 Feb 2024 09:06:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="iIjV8ofK" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 8AEE4125AF; Mon, 5 Feb 2024 09:06:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707123963; cv=none; b=SjENR0S6ZAR31fOnGQlreboA9XgHCMFjHB5DR1bJ7zv9A7SVRtYaCk+65Uj2qExtUJmRFumcL+G6wOoZ+JULB5Ugn/8nX+JvQd6jsWZfWNXk51d5wVQN+J5MME8d47wJEGHAy3VI+I6yG+emMw3VUxxXPVy4BLmaNJZ0awLoXPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707123963; c=relaxed/simple; bh=cLno8nXsijZnWS2UJtaH5N5P2B6t8PmHRwjGLZQJMmc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GMu4/05lAMXf9FLLXxVQYJcjWGqp16qXJRAG1YZFPaCj3mtFMAjbWBxWs4IaFjjuJpfOJPY3E0qle/jUuhNKuJ4RMBOSMoeBu9FxNvkxQLt80EL2dFkfHrQ11+NA/2zWPlKjfcu+Wze19PHggRXDjwhimPjdClbpxDxb/pU1GPg= 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=iIjV8ofK; arc=none smtp.client-ip=198.47.23.248 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 lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41595pUQ098580; Mon, 5 Feb 2024 03:05:51 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707123952; bh=2cuwx8uQWWFYnfHdRsH5mjSDyuNRfi/7cJl2DykRGQA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iIjV8ofKrIryt3Hq2CRQNuVR/NmVua4KNr8cv7NinklymGqRfbk3ntTiQhN+bhvh2 lk/31rxm99iXD5O2vW+saSAJohqLgafmNZEcjF6dXStYUZ4GTIV/ac3SkEcHX5fbpk dM2+cm3jBguKbgmTiqAk4QhcwiGgkCbvPc6fU6T8= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41595p4b029240 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Feb 2024 03:05:51 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 5 Feb 2024 03:05:51 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE108.ent.ti.com (10.64.6.29) 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; Mon, 5 Feb 2024 03:05:51 -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 41595pZq009492; Mon, 5 Feb 2024 03:05:51 -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 41595oi0032281; Mon, 5 Feb 2024 03:05:51 -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 v4 1/3] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Date: Mon, 5 Feb 2024 14:35:44 +0530 Message-ID: <20240205090546.4000446-2-danishanwar@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205090546.4000446-1-danishanwar@ti.com> References: <20240205090546.4000446-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: 1790049458221518133 X-GMAIL-MSGID: 1790049458221518133 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 Reviewed-by: Ravi Gunasekaran Reviewed-by: Roger Quadros --- 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 e348114f42e0..9d2dad8ae8df 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1244,6 +1244,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>; @@ -1385,6 +1397,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>;