From patchwork Fri Feb 2 14:22:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13542942 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC170C4828F for ; Fri, 2 Feb 2024 14:22:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:To:In-Reply-To:References: Message-Id:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GnauBdERQ7aCexddO3Klr5V9N1ztPrcznOrDVek+0hc=; b=Vn0lSjcxdfGS41 pYixdJDLZlkRQD0gN7WaIjnedJoYfi1B32jSG/6ewhjKK+QWXb+7+V+bRQ0Rn0SQrFFUVWILMRQfM D9aVXNlmz1EQv4PShc255aDhN9NhrnYmKo3XKycV188GFiAi2F8VqhnmxCulc8adCVwS6ngxIal7t eu13J/P8GbILn+3PUjSboBHazjWHsmhcAq+e3wPwjqDtmBycZIYnoCPQbvrm5ID3YfaJz+fGeXyyV MZbNOXe2CK4HoiJQGjJZnjv8RZogNFeHOadeEqEV/gnNuVrud5+5eaXcFkWZxyZX9et8viA0ZFcIW E37OBNQ63o6BEuWAizZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR8-0000000BjTQ-14O5; Fri, 02 Feb 2024 14:22:34 +0000 Received: from mail-am6eur05on20701.outbound.protection.outlook.com ([2a01:111:f403:2612::701] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR5-0000000BjQK-4BBY for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 14:22:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hbx3bXk2sQYZfPn/kDN8IXJRxdEKsq8oEZSAU0oaN5NhbQxjsMmRcEtt7+KCCR+t05huuqQjjspTbCy9zkiIxzNFTRpE2BQKhg0ifN5Q1WnRqXEIFQU+NsOedeDAIyi15mR9WAXD58+MOPNUAQSqnWLUQhIiqlKCx8H/0jx/2PasovQqCRkzXSVrVjocPgMQOqQrOAD17kW3TeCleTBmfa+NHaGRvXyEYgMr7vyzEJt5fPQnERATLf1SHwuCYu524x3nVrab9iipQZPYRNsPKD3xVFDCA1JwACEEI8XJu1m+0OPNfzmdzmMCkkISkaUxyKuz+3nohuuqq8h3iwjk7g== 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=iY3WU5P6EFsYfbZfpcTnd0V6x0+5gfuK6cWHCMu52cuuD7Z9IISiTmy1B2mBWxNIF08y47Yhs0doSIWp5dUn8mFdMoylO7NCKtjC0ilRp120+2F2zO+zy7o6SHZYWKvKy3ZjIeQ/yzaa6Rszac1qjd66xUrwJZPK60S2SXe2I3rdgCy85UkBOKTGpM2xInYwtP5ReaJMV3UJznplcDVZmJ9JA8ZJiL0otvE1IClw/IO7sWkMdSUJhzus5I3UUDb3f81ry0rit7gXsjX2Yfs2Sod9LQpQfS0IjsOWDj6JGbfxfiuQd3XVnfdKD95YGd3HZYdL596ixOxLRN6HjsU0/g== 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=O+FK+oC34r/RDo8lFkFYdfBR93lHEiQBVKctXcQe/wYPB1KS4lotmN2IcmwRrGLjfS6SzmQtg4qlREHReB1HNjdycjez7G+xK/yTWhxNm46vnAFQLXY5kJ1KwMTIz++FdpgtlVAnColtYX9XstcR0iOlZSyj48fzASkt4FHrLdc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.30; Fri, 2 Feb 2024 14:22:24 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 14:22:24 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 15:22:19 +0100 Subject: [PATCH v3 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240202-add-am64-som-v3-3-2f44023d50e9@solid-run.com> References: <20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com> In-Reply-To: <20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0174.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b4::7) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: d3a9f311-adfa-47e8-c555-08dc23fa5ff3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vYbIZXzYac8GuJoBhA4o0ovutt5xhnjYrSPeGPQVjGcmfZWkHG6v4WQLFyQVV2ehAMjepxeE/CUe9U31oIvstQ88y1lsccus53y3280RR/3y6+aTCnGVIqlKB3qOxtvos0EhLQKTiUHINm1UytpWLYVWxvgzxDOb+JaSl24YEDHilkGNaPwgVzLj4zhjb+j3clNAy9/mFjpJdYNdjppDuAxs8bJm0ysi++HUtF/rCgkNUFZxPkSU0ynVuHAQGUBQ/Gfjq/jcTsJ9B7XhpvPmUstUBurmFzwGrR8ctVFV4Kupt/mV7DZ4pRL3CXOt+RV7fTj4WGAUh37iUBvHoU78hG1Peb8jFpwkprIwVNJFwWSjaTP7zIJ5YwavTco3+wL/FoKWmLKSrsVldQDqH129z94WZDWh/4a2qvrnWnGW4KxRkwZDxomRg4fTYIHhUV8+IxD9a0zQJYzfAA0GwyCwvyfPxtRkNmuGiHNEywSyBc0NLDy/D52PASmmPjFz1vkCF1nE6YeZPFioq8IACOZtensul+XEJR6zu52P/aSyfnaHVDLxmcK9WyoCtEHy+zfbTJbLq9h5iw16HFGZPkCFGOjQpQRsLkCsFZQAQfzxMYEqokuJcb0d4EtO97j4vrOK X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(136003)(396003)(366004)(39840400004)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6512007)(38100700002)(41300700001)(8936002)(6666004)(36756003)(8676002)(6506007)(2616005)(52116002)(26005)(7416002)(2906002)(5660300002)(54906003)(6486002)(66946007)(316002)(66476007)(66556008)(4326008)(110136005)(478600001)(86362001)(83380400001)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?SKuxUTsLi21uz9twjQaz9Jj1vcoa?= =?utf-8?q?9nK/v/TD8xnGzTjL9nQ9NNi6jE1epsKmts/r6oIEt5X0AP5clf7H+C/UmTtSEYO//?= =?utf-8?q?p7PWoC1r7/j3JpFi29Y4kYsKBTL/ak05qUeaLZA3EjAbNmvQEAOSGtDx0XKDwKu5J?= =?utf-8?q?RNoElJFR81j25zyCDAdnFHV7Q5RwJSRbK3CoVVfs/lRW2EDH3eBqPMLpT0fJ/qpg6?= =?utf-8?q?fMuUUmACC/9kCy+LAyPI0XIG69m2Ns+iEQe9z4YCjbcCw6wFSRpRAnOhbGaBQUEEK?= =?utf-8?q?TYJYQX2mSPNy0rdcN3Vi8aq+SD/Vx5CYbcfvJhpIrNiUwNepUxY/oRrZYHsK3BpP0?= =?utf-8?q?HIgUGhHsyuHrOa1Z5kjFsF105aeNX8xxuKTr0bqDbqi6n+84EYd0hjaSKxE09UsCZ?= =?utf-8?q?4Daw5DyQcDkuNI3vhBkbStvJYphvdObgqzx3+FJ9W2Ix4A1lmkPVrcvUQ1nEm0H66?= =?utf-8?q?I33qavaTC2SPbBShxkdxHnAnUBe++lLICMEKjKwOFDFIwDczS9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?= =?utf-8?q?UDhRXu6lWerY5YOCQWO7kPycZRLJLij0YycZmc9/rWuFLeM8Hh9bQMvA1IAHaDn6H?= =?utf-8?q?xQD1bxMBLo1NnhUp9HjjJfZNpar09pS38RNwEKbaK/80cAaRZHVZ6tH6kt9S4cXbQ?= =?utf-8?q?1dRwcYmkHKQb?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3a9f311-adfa-47e8-c555-08dc23fa5ff3 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 14:22:23.9454 (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: cM17LH4IFrBBa+SrEKBq7kUlvNJntwFukBtMZzkQmXEOEuftOrpWYqFFS9aKT3JCE1vmRVntewd0KxEqpn3zwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_062232_090533_3D9F01CC X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, Grygorii Strashko , linux-kernel@vger.kernel.org, MD Danish Anwar , Josua Mayer , Yazan Shhady , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>;