From patchwork Fri Jan 12 17:12:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 187796 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp316890dyc; Fri, 12 Jan 2024 09:14:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7ZeO7ESaS/3HSHkymy/9TCrIHisD0N+IROBeOgRw+KWKPsHBWqIkXi1p/R8ijqnuR3cbZ X-Received: by 2002:a05:622a:1b1b:b0:429:cd15:551d with SMTP id bb27-20020a05622a1b1b00b00429cd15551dmr1697647qtb.27.1705079644947; Fri, 12 Jan 2024 09:14:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705079644; cv=pass; d=google.com; s=arc-20160816; b=ccs2TwEzsreAX5QxCIHgqHXeZ31ntzoxbLoNPU8GwH5VVlB+nQbNHriXtSjWqkTg1z oq4AlzRXHDiLsXysfvu1dJrqjjT/SPEd0tDh/jGkGa2yx4GEMprUgsKYemJ/P2RFJOip pqxPz7ktY65fcGwU2dW6ZxNqVoSNL8eibQ1+A/8PxOPbu0k2PhKRiRt7BdBCnwlYNrNm 1oWFl9ojbwRFzvrkAI36Rl+n2rwXfQNEW7gLdoVxYd0jYNklothd37Zv9+nfuyorwBbh Ih4QzA09AYHI9WDT9FNevunSJFfsKmdeSkp6MOjk+NHIRimK9aeBtgzJgBOwbfxUCrWP h6bQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; fh=Kwt26Yq1a2JJj+Va8QShjAdIFQBf1SgOJIY6URGtkO8=; b=doc8rTUtDWXN9fkhhN7P57pHrHzdNLVdg50uWhsSXibyp9l0dyjfj+dOXhTpbhBcVc L32v0pPR+hpoDieQ0led6FcoWvTfSHrlx0OIduvJkDKpjtvkdK+VFbft9GxsPjCKDTCx YYHmK+3ZJ55hSCRMkEb0xCZFFmierPDFtKC1c5BfQdHVUqhNwcuSSyUAxXNmPR9npOob BM4vmDAoLByaE1CRUbnP5eQUrG3LzmdZmQMKlXX3FhvD25pj3Xxj0TvVqDcHw95gDGlW BVCW+Bc2CDDAXJWuxBY1ifw6p5Rdt2jbt74z9UNU8GipPkzjicwFfGoCTz8MmZxhIqH7 V83A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=Ne8LmKZ1; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-24905-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24905-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id hb9-20020a05622a2b4900b004282be719e5si3364831qtb.803.2024.01.12.09.14.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 09:14:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24905-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=Ne8LmKZ1; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-24905-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24905-ouuuleilei=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9D0EF1C22193 for ; Fri, 12 Jan 2024 17:14:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47F4A2262E; Fri, 12 Jan 2024 17:12:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="Ne8LmKZ1" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 EB41E175BA; Fri, 12 Jan 2024 17:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gwkpY9nN2S6F8GS5IABVYYmuoOzc5pH+i3RH5Akc7K50twrnbPBlVq0MUqV9C6a32B4P10awqMsP19NM+IByfy7pJ8ymwWTRiWIP8rvlj3UnFi9F7diYtdui3s8XOMHXEX2nsoKmAPAyuAhLmKi2swJfpnN4RhwEaEAsbNTtvmZgWpMaNyy62t70ATH6X79XdqQXHNMjUmFZHBt67WUJhY0HDzrXfyzZ2hOgghl0/jUwhGZvCS/e4gvwu4dG+bMgIG8xW7SLtLkKccppMo+GJmn5ETtUUnVXWjZofazgI0dXa2AsjO0cZYT3oOSSJFeEp1oPWDNf36/tA8Tu2kynSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=YD11Bfkd4jVoHsX+uCXi00n51ei3nfAcqcMUurrnwn/E4oD3YbWThCmFKun9/M2cNN72VQKBk2W+Qi+7BGSjtwq6VFjbe9rVcYhhFlEDe85Lz52jFk2c3Yurss38eCw2XavcWy6fabfftzYetWqGlFfi0dnhb0Ly/34VCIrrPoIVs3EoYSH/UIBd0xjZDq+jGzNG7MwwpJ60e8TIQ3ubqFiANtQhhT6hpsI3XdeLSv8+1ZZiK5Ce2Dz+sl31i1RSRM5hLE3Bw9X+34D00KTXGAOv5mI0cNxf1gJaLZUk+7CWL8l9nlKQ9RpLq6khEkPGSP6/XaCKkFpW+kzD72RbAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=Ne8LmKZ15IpcAn/JqRalPITSq7VHb9yOsygx0DI5rtUTXtSJadm1yxDRqH409APqJFddCPhJ1r/QgCIHEuL8BgYraXdZRHH4zCBvMYCe4cMG2OwQ4gUFrCG1CcQj+r/OivG6bDxch0jLWSiPsnfp8/g+E4/C3tfNZuREhURSeUc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by AS8PR04MB7846.eurprd04.prod.outlook.com (2603:10a6:20b:2a0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Fri, 12 Jan 2024 17:12:41 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d%7]) with mapi id 15.20.7181.020; Fri, 12 Jan 2024 17:12:41 +0000 From: Josua Mayer Date: Fri, 12 Jan 2024 18:12:28 +0100 Subject: [PATCH v2 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240112-add-am64-som-v2-3-1385246c428c@solid-run.com> References: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> In-Reply-To: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer , Suman Anna , Grygorii Strashko , MD Danish Anwar X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0098.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|AS8PR04MB7846:EE_ X-MS-Office365-Filtering-Correlation-Id: c046c1e4-4bd7-4611-5ca8-08dc1391af77 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fGdpg/oBMspqqf6Y4NZm8aR4hPkRX5ZX5Lkaf7vGZmB9FWFQ5eUBWpEIZB4L94j4nlkt+LXezwVc7TgkXWRXvycumQrsDU2sakloMj+TF789wdac3DOq2ieLqYpe2lqg/mHMtrSR2xvenGgQ108WofkNXRYfhavI/IIBjN9ecM0Ljv7nGBa/CzTgjsnQQ+L3SHjj78VrmGu7chR1Yq3ID0VrFzVMZcBJSaHISpuIgsNWjlIQM4eG2cFbWeC8I/AJJX0AziuaIksVWXn/PKL0YjZaNfSC8rzkfvqNmGHn8widb+oZkgNbLUk26jUw61ox5WolrVTqFFe/dLT2Tyj96clhaIFqjXhH3a05AEZrOASdcssWx1hZdZvCQqCsYL7FLQ0B7D6X30nojVUNUq/MfVr3KIDCYp/OGTampSS2g/gtpyLKYeP5xQYc7Dzlaqt8P3FWdbym5vwyfp3a1f8bGZViufSBeBhTjeHO/BD7x+I0l2QqaiUH1fmhJRjXP036/mgSUSE+ql0y6Xa7LqMF7JH+ZI3AIeLD8K8CwKJSQtgaZvI3hoprDoXLFKchSmdQLn8y2r6wbtLI0BHOhWINFDyk8S1CB/bHBHXpetBpGsYUot4xgJXjJBNxd/jDD+Ko X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(396003)(39840400004)(366004)(376002)(346002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(4326008)(36756003)(2616005)(26005)(5660300002)(6512007)(8936002)(8676002)(41300700001)(478600001)(2906002)(7416002)(86362001)(6666004)(38100700002)(6506007)(6486002)(66476007)(316002)(66556008)(54906003)(66946007)(110136005)(83380400001)(38350700005)(52116002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QeNQO1pT4SDGuInKpCgfnAgXfb6x?= =?utf-8?q?aB/INUNb/w1YCoFkOEdNSqB3povNtXKK3jEwswD2fgmjV+4Rmov+u/TkRJOs6drXo?= =?utf-8?q?yqksdEebzrJgkkSK78HlKwcv0u9tymAz871YJCzzx2m4NJxPTgZFEqZAoIjrubWV1?= =?utf-8?q?EUQajalB5UlDa5BXA3HTWn3HzMz41ptmeJrsoT8I9bibUrgztCqDm03zCK2ovLfXL?= =?utf-8?q?dSB0/Ace/vRCuQqb+KZ5ITChi1x9SNnSRSCEx+xBuwT26L3kKsg14mRq4e+MZViG2?= =?utf-8?q?qNciERoHII4h6rLeoLSsYDMFkpP4akqX94KgSsQVTMQNlxRh/uSuW0sKTXODMIy17?= =?utf-8?q?ZB+k7F3BOe5I3iE3ykzeXz2TEdGPX1jz8z1FI/JHo+Jyd7MjVNlfn9gzRv6AvWStr?= =?utf-8?q?Daw8QqQTdZkPQHJYGiu8bEWy4vmMazN8VO4m6cXiEKe4wf6Ua0dsv+zuKQu7hP7Pn?= =?utf-8?q?KolJi7n3xL6GOeOMnXd8b8U89V1lzcEPyxik7mS5LndGAw/uRjGsVU4blFLQrccGW?= =?utf-8?q?iEyDl0WhRkC9kDAs3Q6CfYWRzo0aSgmUvK1FqNA6loJC4uYGjxAdU+qdZSu5WzfPs?= =?utf-8?q?Yjoh96qw0kOFOCThIYGTjYRLbFv0jWzkBM9D2gA8tgABBoCIZrg5YeG6kKBrOJwbU?= =?utf-8?q?lWCLxWJcl5ykHBZohPQJiVlG1QJsPB+JYxwu22PxWwBzj9csryDNiuVS152j5QnPM?= =?utf-8?q?fsBkIkJ5HSM1lA5SRK+gs1dCR62sJ0mn3zUVsj6rygmsgLllXbNRjdN1MBN8Onz9R?= =?utf-8?q?RVkdE7JUciJrY6xaKVvF0hwMsK1ptR3lKJ65efk03o9OdiEEjKqpUXQllc9qPRE3Q?= =?utf-8?q?t0JgqJvdDDyAPk4vD/0w9+lWEAgCofamXBm4XWK8mnTtvOhmD+C93OAegpV5+S3Hu?= =?utf-8?q?F9ac2Pl813WMXWfnLWqBysvuXUscdLt2LDxsQDonbH9hdCJXX11rfAeqnSSaOEnl6?= =?utf-8?q?TP7NeEMh9Y0JKf520PFovMIp/XRtCeAwXZCPx5dc78ObaQKYVJVrkyUQ55e9H+KXV?= =?utf-8?q?l0GMkxMlRxH0yLJpqKIeA4l1LtfoW9Km37MC/Kshow9SPWrfXXgK14zTOBZUbny4Z?= =?utf-8?q?Hs3znewse86vQEErDqeCBMSn6bOZ5Bj2qmAg5MGuSIhSwOp/9LZDkRlKj2cJxYk4p?= =?utf-8?q?49UjIwCeZrPLfGA9qCErUrZNQ7FsfL8SoRSbOxFenaviaEGMvge50ppMfunLx+QNS?= =?utf-8?q?Z8cSuSMv+dLFYerIhKX+cfXEuxbVSqHxUE3Z8YUr8znIhPDoLErXclQ904ACtBUEl?= =?utf-8?q?FeRlxdf+KKUjepkj2X1WoGRQ3a4WePpI4NiouRMsc8GsxH2wz9picMnaB6Ns92wyu?= =?utf-8?q?Ikl7A8AAPTj7VmcaHQzW42BFoB2rdlL1zVXZ15YuLAFu0Af/XJIiaJREMNogHvUaM?= =?utf-8?q?GjU56RBZgvTBWrcQVTRgLvFufp1XTDMjW4j29z1PA+H4nuYwoRkIJgLgI0VIWKA8p?= =?utf-8?q?8hNhzh97bbhk7YsEM9I26vzV92Ix0sk2Fn3DTrC5bLGg+7WaFVLFGyfOIb5tDzDkW?= =?utf-8?q?XxMtEEAOh49P?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c046c1e4-4bd7-4611-5ca8-08dc1391af77 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 17:12:41.5634 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 57bCnBiw9vy0RS4BJ3ib5jcaMo208nhDnr7FaLgVy5aWMLqmuFCeJ517scPj410amHoRozZjATw5xwZyDmRrRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7846 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787905593496039397 X-GMAIL-MSGID: 1787905593496039397 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 Signed-off-by: Josua Mayer --- 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 0be642bc1b86..8130ee02a3d9 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1232,6 +1232,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>; @@ -1373,6 +1385,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>;