From patchwork Sun Feb 11 15:07:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13552494 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 40706C4829A for ; Sun, 11 Feb 2024 15:08:23 +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=g1xNeN8+v30vuh EnUtJIydAXogxqO3Tfw660CbDKYPzstqdjMNaQMyW5bQGrVI+UD52uBAhpMTCaqib23Go5n1T3HZ7 lLICtG0LlXiCk/5cNJyaZzNOlGJXf6+pvH22iO5iljqcO5cFEyG91hHbAjXIaYehZ8qlaDWrUnKMc LrelqbFZCzeSXeK+UlJUONZUMnY60E6SbwgFrw7tovpXvOSTHEf4ZK/WH5+6sr23beBMCehgg8ook PlFT4AOQByd9GYduWex2AbGi1aW0tCOXjw2aXG6Fo1vzD7UHs65JfhpUX493/TRnWJerQDuowWp44 YL4TDI+g3KPecRh6haBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRD-00000002sw7-2Lyi; Sun, 11 Feb 2024 15:08:11 +0000 Received: from mail-am0eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2606::701] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRA-00000002stt-1r5F for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 15:08:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cm39Thu1zfY4vkTY3+gPddsOb1xw7POucZ/BiiE4QfHO/Rh932AjT3Se1rPpU9UuHmfUEli5G/7Q4R1xIeuM+yJyisC6pk1iahWqwb81MbL0guGnPToj20NdC4CikCExw/ShiRKlqPF1cdB0sDL6qiabWMwiXR4I2eTboMQq8HMeth2FkjgAONeBhvSUipM4bCAQxKtDu7skJitU9lO3nzPnRNRyln9I9dJuhYiuq6FBecojNPKHmZxKgNmzzXYtHo0vwIXaJW6qR1ZyA/+E7vUqpM0fe9B0l6IXY4ifKKFuLAF5VZa/m2K+gPgQq45VsFXOWxmzQaruHC6b8OFShQ== 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=VN7VbaotF6uN6QuxMSFkKtLGuIgZpKjxGS69jm0tZ3XH0QNbiYVYkmO2Cj4LwaSxOYi9VzyFyjtXnV9TG1eRoW+m0X1RnIXeLwnrQaddOWFTsYOlXWYFLy7g9XM/o+1XppzDcFBxuGYnNlz7inZ2mGCfDJG4TUOlOCFlJcDgLiNhC4Y1hrPbBW64E2uVjTG2DSL+IIifA3rpVD0zFGLCJq4t8xGfUR2RQRtOlExE1Q+h/0T7Khd5G5VKhV2EMayFVAcKya24ckggrp11fsoPcDm0MR+vW7hexdw9OFNpP9nabJM0Xc1Bd53AKZKgRmwm1aGFKX8ezn85+8Tmz1SSMw== 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=EClqjaqMnIFQPfVKrgcloFisdPsCqdCCKBNt3at+drBSEbNLtNc8Far/y1LL8IAi0jdTA7XeZuz89L4092y0/QJrlGLuE9dIm4a1xcXJhAKPmnw9tVBSR8NHtSIqheSsBRj99dwIF3DRqyhSojPcJjgE/OrUrEBmv+Pn5YUS0Ig= 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 DU2PR04MB8725.eurprd04.prod.outlook.com (2603:10a6:10:2dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Sun, 11 Feb 2024 15:07:59 +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.039; Sun, 11 Feb 2024 15:07:59 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:07:58 +0100 Subject: [PATCH v5 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240211-add-am64-som-v5-3-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@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: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: a55ab056-88f7-4676-57ac-08dc2b133c58 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9KF5R6vqgUpmmXqJ4Y1ADF4ljBGiMAoSs/wTDaVlF/aTXM6G0/UGwbqiFD5x38kP4vib7a7QuwzyMngtF1Ypnr7/PlVT2+3lErn7ghC61pFo34o8mKZkEvaYN/LsYijOg+t4Ez9OzwptKLOzuZRpM/eGdzPftxdw4gVubMIHJRcku56HsbmOdorlgWkwY6hPLxyalo3KFA1VyLHXwDjmVc3XOvcIdXmvbF1hCd1nxzUW32zUFzlWkLbzI+UDDB/2Bq9elPbaeEFrvS3jF4meSgzrZRL+ANs+G5Nxl0pQtCF7ZiBvBJdgEh/Vh9TnuPQxkejdfO6pNyW+bke2QN1phQqPvWyqRWYhQWKcl4FmAhlCl8pwqZfmpNoa5piKRCasTKxJLCxfScKM1fNh7dH2lrypp02vcI60YUXgPcQJdpSVk8fF/0gtSwODt8XsgjCp97UXcxJC1t09+oa39R0MF/ahUEY5kSYAYfoTloY8TATaArCXTobPYW2LVpiqKeG0UX8NA27tjTE7TLbwAhkd4vZ0Cw9j6T4/gR2HSfXwU9nDUShUocu/OfERykLgU2CSlOMw6Ra1mg/N4yzmmSgip81fmtj7Nc5zSLxdcXrXJeIYNJlA/SG8inRTUYuS4K5N 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)(39830400003)(366004)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(38100700002)(110136005)(26005)(5660300002)(2906002)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZsAXsmnHBccJqa1RkJu3psqGqEyX?= =?utf-8?q?r45H7GdLmOjKljBEcWOKp7BIFV+/5gg0z9Sai/J74ZYuZBUDbjZzQZ4I2h0LuTQ2r?= =?utf-8?q?JZk+1fYb2W3zEx9dBMZVNup6im3rt7hqk0zwVuIUdGIh3EaGuKTKXtDAKSrsJi/S5?= =?utf-8?q?F/MXSfb0wE1q4Pz49gIjajyYdy9r4G0zyAVhEZ/h0dQZC6zCU1cfkSPEugjh7ssJd?= =?utf-8?q?PeEuBM7oFjHrVoNFAr+njIE2hqI106VZhHgk6tl1gRKpKgESEX/Li/7boIUGX0+CS?= =?utf-8?q?CqKaZzg6oZjptIy88yMz/qTW6ydwaQFDpwh3Y3Oe3WopfPR2Gswaf2H5Q7nxxHZJx?= =?utf-8?q?qUUEV8iCuhyCTM9bRTR0dJ6hjzJJP3Bl9CHwkZ4JYQ9P5GnTATi8Ft67L1TFStE7r?= =?utf-8?q?daNne5OBpEQgfY1qEKICDhsxrtLqF/EtpPUyCu4UpYnzt576n0HAlLrdXzC9Rhxbo?= =?utf-8?q?VUC94Lx8qTWOmHqf6YSpJRhFvEpTQLWbnZlpYJGveYFrTJMB1LC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3FWMooU?= =?utf-8?q?aOElawN/RRBjG3vHb4saSwXPHlt1OW4GPmKDoQpKyK/bsQYKif1kJVRCwt8GL1iWL?= =?utf-8?q?VCxXYUSIEa8m5YTN3pWRN9QxEZDB9MNm79PS1wIzMNgxsxwwAxoko+MdLrGQGSsvn?= =?utf-8?q?wFsTFioOaWXw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: a55ab056-88f7-4676-57ac-08dc2b133c58 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2024 15:07:59.7418 (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: 1TT2RdfR8aOfxN37MA7o0cfdcZRLz44Nu/9yGuaYkp8GcV1IkP1pPwTXx8wUXsGx9cimF+bA5bUgx7sg5jzrpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_070808_554408_D7BAB6ED X-CRM114-Status: GOOD ( 10.35 ) 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>;