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: 199469 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1968598dyd; Sun, 11 Feb 2024 07:09:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzeufNBQdJBI5CkOZE+BRI5T7tnuLQ1cKCxPcyfq7aDCfUKgprbuD2a37g2K0vc0fX5bVppBZMfj8npOa1MXuNlbG75A== X-Google-Smtp-Source: AGHT+IG/rE8qdyEQvVnay2+UXCxEX7GlyNny8k6+B6IVDOrXnT1CHHwsL+CosHQObfUspxU94N2T X-Received: by 2002:a17:906:35cf:b0:a3c:1638:b069 with SMTP id p15-20020a17090635cf00b00a3c1638b069mr3106541ejb.75.1707664187539; Sun, 11 Feb 2024 07:09:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXqsFRfk0xMp0kjhDClZqzQH3B1zWq4mgwf7K3kkiiAl/nTJjoiuzOojB5Tr0jWlOGdwjuTqxIgeDyD/FQFgqbyUAoNnw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o26-20020a1709062e9a00b00a3c8050ebe1si536190eji.310.2024.02.11.07.09.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 07:09:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60819-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=EClqjaqM; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-60819-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60819-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=solid-run.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 am.mirrors.kernel.org (Postfix) with ESMTPS id EDE5F1F210D1 for ; Sun, 11 Feb 2024 15:09:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEF8D5D75B; Sun, 11 Feb 2024 15:08:11 +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="EClqjaqM" Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2109.outbound.protection.outlook.com [40.107.247.109]) (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 13AE85C60A; Sun, 11 Feb 2024 15:08:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.109 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664087; cv=fail; b=ABXggl4gGPqMYSBJZQ+p4X21al8cLx+qb0rVKp2o0lDtbH8AO7JexwPg8xY+eX/aNhEYAXTd5+un4E259R3A6wmF8ylDqAFQw8STae1PoPR+plWT/KwXI+IgTKjkngWBILTgyMz7Q8hfd82QOr8+HAst7qDH6/29p29AKBRZsB8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707664087; c=relaxed/simple; bh=hMIKYwARHFl28aOlzWwWn5CF0EjqFkk4UQThGPqCf1Q=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=omvvZWTjKH1EEu5At7bF9J+mBd4OeCm6A2efCUQrAuaPC7UE9CbaAkBw3avmBBOfO0wxBUktRPpxCMyg7ovyT91kvMfEt871fGgQ/76mA7mfD7bO8sVcktjKllH6BeDhfSr0pwS7wHBUUjJfif34zBQruVRmZ00LrXFeTPKNTwQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=solid-run.com; spf=pass smtp.mailfrom=solid-run.com; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b=EClqjaqM; arc=fail smtp.client-ip=40.107.247.109 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (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=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 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: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) 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: 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?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f-8?q?PAKiGYE03djtuHGJz1BEqWmPru8NNXA+HLE2cFZqFHl6uYcVb94IOW9A4qvgli9AR?= =?utf-8?q?v5OiY5JCO/KUBMg6qKIdanlq2gKqcbXBrA6gH4QZOu4dgz0oKQytMJEgQJgCnfxgb?= =?utf-8?q?MDATfBWFe7LfBwt8b7WpIqiGMK0rzChuvOmfSy5cARATxSxJZzSLKjD23gykHmo76?= =?utf-8?q?FxI/O4RSJ7QrbVFld7YwqFHNaX1lXWOfyUk4ALQ+RhT9T5WKDIRi76cVOP4DE6UXg?= =?utf-8?q?ZVcf8oThYcNNIofgM6PTH8XORtPwT72Y6MCwiZX9vHod/accmR2JxrtcUtwgkB+6h?= =?utf-8?q?DTMc8os1zm03Y/8yq0uLbD9V7TfD4DzqFa/O46t+PKkq59sbTvwrsFYV1B3FWMooU?= =?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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790615683397004420 X-GMAIL-MSGID: 1790615683397004420 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>;