From patchwork Mon Jan 22 14:06:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ghennadi Procopciuc X-Patchwork-Id: 13525541 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 C7826C47DAF for ; Mon, 22 Jan 2024 14:23:12 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8IYvUy5btaujDcSibZ/UswGC6N4ubWsIGwej5GY/AQY=; b=TzKESlsvkEQkHA CMVgHUAuyn4NCoFZl4CImUMTGfc4MKoUAI2nf5+t9ZV5x1s3gcYOXnLJH88ARDzUEKTzJ6CLSSi8V q7n9IEMEp2hMIa8CFmxhlv0LIIjik/5wihqGepydZBfDs4FjAzF9VmuKc9ufcTGvGnPLtLwdzaPWM weJ8FjfPfUvtmFFdJwpX7e/i11bE4Ymk9E3QxNrHUu7g8xgIxzssUeeu+pooWNVqvOnYiziA66fmQ /n1hSs2Iz4ieftokm6b3ZNWdgho6v1LTzABcKUV7q9ZGeWa7kmOhq9fdgXVShfmzIzG1bYDFO5rPI U4Vflb5nS/E8gNsA1PSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRvCD-00CNlv-1L; Mon, 22 Jan 2024 14:22:41 +0000 Received: from mail-am6eur05on20600.outbound.protection.outlook.com ([2a01:111:f403:2612::600] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRvCA-00CNl1-1x for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 14:22:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h9htmxVDGXfI43m7xRVGtUWVV9b5NQKPhdZKx8KxOzaQb61HQhEURDJzVAiBP8A9tGxIbCJffFeMQ9n2oTpxdtGbfVuXhCpcLYy7bc1sCG1fwWf7TaEvLpESyF58CmviNIDlleDYWLwUxWPV6ha5TJGeeYvALepdD2r1XWStjA3RqAVzkvYIkOjqQ+XH3H2B7ZDHYRJRqr0JhO9oTj4WV7JpC8F1c9dva6knGfjvk40Y9kzgZTdXyulKLIA1Yg69FXL+Q3tUSx2V2ke3nkPc6edMF6/U6qHGIdHc5Gnuqwr15KPCKgkCtzrYfx2JXVam6DE4GvpfJKDkCVyOCmDVcw== 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=CLGY3CEeZ95A3cvRWlQoLVkz0Jw2+YffZ/FS0N+GIFw=; b=H9sBQHATeb6oo71PXIWBqRMc36lZBJQ0qjKhK0AJSM08do4BXodppPvj/z01o6Uei4ZVOZ0tP7NPt0PhMbqNClLyS8yQaGp7Xz36BkjNqworUca9H3SrtGfNX3I0pOdfJI5WalOpU0VA5F9KhdQLiB/E1r2RcAuf5WyQt7AmRwsadei/WY1g+FFlvdoj3dcrRqmlgVysO0TYMMLnfj0NX8ukN1yr1B6AgDrCc7qOhi85YTb3x/QenV+Z5xlDOyAwvn3Zh+9u94+bl7rFqbhdZNg8uAF7Xf8LcaY2OZpgxL1j0IM00Cwo/pfcGTWnSeAwB+OR3vbcr+Eev+tNdfHULg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CLGY3CEeZ95A3cvRWlQoLVkz0Jw2+YffZ/FS0N+GIFw=; b=UwgLpneQmB258JylS0N8m+C9J9Ujs0H7Svl3BIwBuz8C72D/5s8uZv6hVT3pScS4NIP1DRpQTmTVOMtvJS9UKHZYObw6UJeqtbXZozzJ4HBg2yqJUp7WBHcDEn/1Kv6HCcmfe2ZUpXgRiUab0y5xBg5ovnVQqCp00QljGtbV2QY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU2PR04MB8582.eurprd04.prod.outlook.com (2603:10a6:10:2d9::24) by AM9PR04MB7635.eurprd04.prod.outlook.com (2603:10a6:20b:285::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.31; Mon, 22 Jan 2024 14:06:21 +0000 Received: from DU2PR04MB8582.eurprd04.prod.outlook.com ([fe80::195c:9861:96a1:56ed]) by DU2PR04MB8582.eurprd04.prod.outlook.com ([fe80::195c:9861:96a1:56ed%4]) with mapi id 15.20.7202.031; Mon, 22 Jan 2024 14:06:21 +0000 From: Ghennadi Procopciuc To: Chester Lin , Andreas Farber , Matthias Brugger , Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , ghennadi.procopciuc@oss.nxp.com Cc: NXP S32 Linux Team , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Ghennadi Procopciuc , Catalin Udma Subject: [PATCH v2 1/2] arm64: dts: s32g: add SCMI firmware node Date: Mon, 22 Jan 2024 16:06:00 +0200 Message-ID: <20240122140602.1006813-2-ghennadi.procopciuc@oss.nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122140602.1006813-1-ghennadi.procopciuc@oss.nxp.com> References: <20240122140602.1006813-1-ghennadi.procopciuc@oss.nxp.com> X-ClientProxiedBy: VI1PR07CA0294.eurprd07.prod.outlook.com (2603:10a6:800:130::22) To DU2PR04MB8582.eurprd04.prod.outlook.com (2603:10a6:10:2d9::24) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8582:EE_|AM9PR04MB7635:EE_ X-MS-Office365-Filtering-Correlation-Id: 5575c1b6-bbb9-4f20-9f4b-08dc1b534f5b X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p8cwq85LqbS8iMwCpzZOGxwAFDkyee6LGC67WWJJzLfqtjT2w+ZCn2aEP5dltui6Yx0Et+RccQGly4bhvC5ngLdxFWVtg2Asp9BHzNeYNoEH7aMRZI1Fi5rYOmBWJBClCkK1mnrVw7b6SkzeADq/+9ibpxX0Siz0Ei6S0Z2LLDjTmJA3cLxSemFuoJwmrWayDgf4JT3JUGM03ibxaSSzfNmPoibvlesGhjMHhZ/rMBoIVH7LRfMn8QltP9O3WDj5qG9Xim8/9GIVp6Xj60nSJNtEn+TbfR9Ci54TVpF/tW9vpuhQJmh2R9x4NixjnOgpiDSneKTLMzJO3BILc1Q/NbPuSeiGIPY3Coi5nPq9e0/yxpPo/2e6MeZcpYa+vPrt2akpzMkQHJeMOAjfWKVNqYGmC+B6vsZQog8NCEpxtKAXw8j/K3LHF2Z8z7nli8BiQbRH4N0aVbd2kubi0kUqmT1WRtQWgpFEpz1cV6saYX9/3C2089y0Uw16/O11fzE4bC9xRO1zBTmIiRXZzJS3BYxbAcCtdH88T8uO9jk3hgOauw6uvUkJDIlBTbVabToBo9nO5lu9YwSvCavbD3dURBx3CbY9DZsVaRfrN1Sjxxf4p6UvrCMn9fZGGkqZsmsLelExOOqyqqKXkENUezIFhQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8582.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(396003)(136003)(366004)(376002)(39860400002)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(38350700005)(921011)(2906002)(66476007)(54906003)(66946007)(66556008)(26005)(6486002)(6666004)(6506007)(110136005)(478600001)(52116002)(316002)(4326008)(8936002)(8676002)(6512007)(7416002)(5660300002)(1076003)(44832011)(2616005)(83380400001)(38100700002)(41300700001)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7axplFPevzsInJWY5dConZQm4f5H1ltMYHFeXuifMVPJRg9iSNE4VbsqUm63mpbezZpM7g9Cxgw6d6lSIZ6oCGbfrVoO4dNYjTupwzfU2I/+2tnAk3omKIl6vQEP91U4e/odBbHMlJHrGk06k0RnafPSgIweEcyZq+rlLvsAFd3jl/Z8xeYBLmGuL0T6v5frldyFLncW0qI7efRymz0WX2G8jpyPXFNAq7/8h2UGjTdMpIr/BmOyOVD3VXjiHEf8cbMz1DnayXsWw/puwAf53EKmX7ZfOxNSeIcfDj8qMualJJq7ZvWc+9lRBfUogLZzBbQkq4byX6KQWFBtJqRcSqHVN5V4rm2yBLyf4fKc88F58hs1FR1+ZoRII4Fq6fRk9bCCZ5e8NfAVERn+4oTEcdfHxnaQSQook3veUggxV9eCGWNmYB5ztHmeKEDOM0tNpVjWem0T0b9GXUE6f7ZCUnI8xQjwoxXQMaDgOqYjwRkoJcnbEkLonHiau2wZJjdOVOYBXW4HiUOYxm4jzv534UuPb8p0qKsp/1pmEG0EyvuPec6WZvRfucT1Nz6GBVTv62Efa7KfAu3oijCpWnVsYAEIQKtGLbfDx6ZiuitFdiln1WVydOz7mUBnMxpPuCe5qeBRaXyMD5AUlQaHUqmaBfBHhgXNdPjBI9OzwQeBAcGsODPZ1ibqEgw3KNUwI0fDW0TwuZOC7kll3R1qB70G9uJZpk5dcMrmPxyn5aAv9hq3CTHXzGpW+W8nw1N8MWb2txUAJQAKRDukkPF3+cMe/84mYvPuYnjC5jPH/eDWPFMP2ayDQ8wS6se4zrxIPVmBPFyd6krU17JmZ6MYp0Oequ4b2pOKrRyi/1SpIphEGX9elzaX7c18PbolVzgEYYoQMRQRrirRwokC6iHv6J1TykYtWG+Yv4boIBucETq+Yh4jHz8kTPTnpLeEa4jrSOHvKoyzw/0MHmLIswua0OqXIcYZVVBOav85m6fH3d638a/3GVtM9XQMROn611gfKOo/LMepnrSz3jqzvdjo3KHYEZCoFqRBAMDK1FyGwrOP/gPFoTW8VVbU/ujqTh/ZwdfT8XHyRkiboPxa/l7fZ+Sos1wRtBSOUpKikz4Fd8Xz59XZwPZptwu9Io7awXWRywzMB2O/YyOR2Dj1+KCaxBa7H+ASHlVCXnweypxVeZZAIPtcq78GpKs0Xk3tmQ7ZUEXIjwyBimO4eLW+tucFG7CZFVcvxAYfsnpBy7N0S9qyrN74b0jiKUFC1UM6nCsc+egSzuLYGqJq7cFYCjgC7MprS6kpMK2feJJV0HSl1ygHElozauEuYMtnNVhQKEPJM+7bEfCdY6un6s5M2/9MokuRg1GtUqBUKaUvYEzZM/BphG4oFLYDE2LDsmMv/zFIsnVoREvcTIAy5gcA8+/LTRA8Geso+24IpL9jlVYqoZKLxOY7WKgU26PwgxsDvr6J5z3jsaANqknljsL0VLOkVDdN5s4xwQId/0QfAQ+MgSUYhfqxQnz9goyO7yUnl6FsbwccKTEhKVaEeK34T0duH+9lczBZxivXxJrnAmiUDVnL6q9RCBoN8407qlrUSblHI2iolZ9N4HTmBjbvuPP+ih0A5g== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5575c1b6-bbb9-4f20-9f4b-08dc1b534f5b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8582.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2024 14:06:20.9924 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /vEVWKNFcBC1wqdcyws0oALNy+HYJEpxEuW6M46ysT9NYpIDjTLr0EZBerxZr44fPylO6KSurBdCZ4lxHvhYv++g/9NTg46NKBmauNGAXMg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7635 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_062238_647082_4C8E5118 X-CRM114-Status: GOOD ( 12.27 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Ghennadi Procopciuc Linux controls the clocks over SCMI on S32G SoCs. Therefore, add the SCMI device tree node and the reserved region for SCMI messages. Signed-off-by: Catalin Udma Signed-off-by: Ghennadi Procopciuc Reviewed-by: Matthias Brugger Reviewed-by: Chester Lin --- arch/arm64/boot/dts/freescale/s32g2.dtsi | 27 +++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi index 5ac1cc9ff50e..ef1a1d61f2ba 100644 --- a/arch/arm64/boot/dts/freescale/s32g2.dtsi +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi @@ -3,7 +3,7 @@ * NXP S32G2 SoC family * * Copyright (c) 2021 SUSE LLC - * Copyright (c) 2017-2021 NXP + * Copyright 2017-2021, 2024 NXP */ #include @@ -14,6 +14,18 @@ / { #address-cells = <2>; #size-cells = <2>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + scmi_buf: shm@d0000000 { + compatible = "arm,scmi-shmem"; + reg = <0x0 0xd0000000 0x0 0x80>; + no-map; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -77,6 +89,19 @@ timer { }; firmware { + scmi { + compatible = "arm,scmi-smc"; + arm,smc-id = <0xc20000fe>; + #address-cells = <1>; + #size-cells = <0>; + shmem = <&scmi_buf>; + + clks: protocol@14 { + reg = <0x14>; + #clock-cells = <1>; + }; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; From patchwork Mon Jan 22 14:06:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ghennadi Procopciuc X-Patchwork-Id: 13525539 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 F0AAAC47DAF for ; Mon, 22 Jan 2024 14:21:29 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/mOnTzrFd3/G2QnFAUr6WRdy6/X2k7fhjAWzTB7cOy8=; b=Pd0PA34wkFDkQY 6v/Ex/dBEoJaoYYGx6PBmix5TFSnvhkl+vqXuq1NoPdTdRGNgLquQbBoEcR1OR83EUdkhg9jFdZ3s oHpUMiHWU4y/0vibPLURuUH3VS6cYdYZg+rLrj3WeYayiVQENb0qiH3MDrzuqU1kAPf5CIDcRxiYy Yjge/z8KSe//5EOW6QadDqgtdVL/NG/alj4j8a91AYVGcSzfQ7m7juPBFGzvFPr5bGXQw1WNQmYFz 7XjTrN8oH3YW17/hk0+TwH/zlr+WSYi8TVGzxhLtHU1ZGZPu6OikcHtw4CGZtib7vw720e60KXgJu R3X604iTX2yL0t+qRI7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRvAT-00CNOy-11; Mon, 22 Jan 2024 14:20:53 +0000 Received: from mail-db3eur04on061e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::61e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRvAQ-00CNOV-2F for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 14:20:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TxYbXgPeRBdoym3xI0GhYoAx0Jl3X4f1RDjljWW/OuO+6haNHGVdgHQxUoQpNoPxpOvJVIGDXKM1O959BDbQI/zG76PklOmhxkEnzktkqBTiTh9TE12e785cW8DuWJdQDG2KDqCk+8jUjpLXRr9KnmlMr0ETtVg/avauDq6gQm3yHuWObIDZ6dQ+qVUR6++3W8UuwuQ4Yzr1Zu6cPkXzqr5NR98NUSKWUDVd2ofLGVRydsDwXoZyboWU65usRhatX07nEc3H0B5Pu104XbM8Wm/ih78J0czOer9bIBtnuGXDdVw+xrSkmTj0VXi0hvBORCys4BJJGdWyneV1jVgQkQ== 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=orMrRCqw24CVOqdyIU7ec0WaG1tebdD5twBNvy5ojTE=; b=ZZzyMV2Xg9rHoS+LI6uUmdrMr/jLcIPp5JPeT67Qt+FlHlc7zEV4NQki4HQulpxzJB1n6MJjypctCKbszekWkbd8RWw+isBXFXL5ITtgKX3VYE0fu5V8J9fI0faWI86fQ4U4WYESh01f5AJ/0m0wLSILC6wgzQYcaSI756mCdupQZL/ayLS/AKQ0eODKeUcX7nz1EYtD3km0HGSzB4nErsg3AXCI3G5ygZx9HzHVC0zFGMMWzeB3zu5RW/yMtajMlVXgEgxl/1co9dIAcZEhh8yB0yzx9k+oZ8ChFP32ywKQ3815nrp87yy2xYYaLH7rA26s9aVzUVhZ3FuoI/n5Iw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=orMrRCqw24CVOqdyIU7ec0WaG1tebdD5twBNvy5ojTE=; b=J/lEUqOAmmKw+uxKkJ6VsYp7x5TIYLeV7DMzJjIwtIr504CxKxLbVP+sXay92EugG0g8rnAp704sKC3ueREM21LM6TwUq7AQe3w0Edt6tgKh8FWKuVEGX73WJ60DoJt+qpnGUsZHU8tdCHOEGN+GBHMiiLgbPuMIB2KiptElJBE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU2PR04MB8582.eurprd04.prod.outlook.com (2603:10a6:10:2d9::24) by AM9PR04MB7635.eurprd04.prod.outlook.com (2603:10a6:20b:285::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.31; Mon, 22 Jan 2024 14:06:23 +0000 Received: from DU2PR04MB8582.eurprd04.prod.outlook.com ([fe80::195c:9861:96a1:56ed]) by DU2PR04MB8582.eurprd04.prod.outlook.com ([fe80::195c:9861:96a1:56ed%4]) with mapi id 15.20.7202.031; Mon, 22 Jan 2024 14:06:23 +0000 From: Ghennadi Procopciuc To: Chester Lin , Andreas Farber , Matthias Brugger , Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , ghennadi.procopciuc@oss.nxp.com Cc: NXP S32 Linux Team , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Ghennadi Procopciuc , Ciprian Costea Subject: [PATCH v2 2/2] arm64: dts: s32g: add uSDHC node Date: Mon, 22 Jan 2024 16:06:01 +0200 Message-ID: <20240122140602.1006813-3-ghennadi.procopciuc@oss.nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122140602.1006813-1-ghennadi.procopciuc@oss.nxp.com> References: <20240122140602.1006813-1-ghennadi.procopciuc@oss.nxp.com> X-ClientProxiedBy: VI1PR07CA0294.eurprd07.prod.outlook.com (2603:10a6:800:130::22) To DU2PR04MB8582.eurprd04.prod.outlook.com (2603:10a6:10:2d9::24) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8582:EE_|AM9PR04MB7635:EE_ X-MS-Office365-Filtering-Correlation-Id: ae839d35-9886-40d8-d3b9-08dc1b5350ba X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kIBcC/P8zyOhip9kkT2Bw1B5xu9i+gbT9owM5V3LK5ZMvr53P3PK/ZJAl0msWh/QEgv+p+qj4ra7h1sjMqx2L8RTN23w/jE1ph4Vp04NiYEdY2Gj5DF+gto22fn2vZO8XNulfwvyiAGk5Q7H9js+qDMp/uOOAPdgOskW8PXMz8NxYOh8qTJ6u8VIblfL1i11xtWs4L450M7JiggFniZ6rKR5NStw1WJkb0pzCbdCc6Ty8JLjEHHh3b6Ad+0fN9i4Tm+JGfU/0u5diN6Dm28/m3ZXPbd0KUKiG3VJIDBYECqilQWiCJAddJobcnDFIo2rgFbvd7aDBLuETUQEefxu3+Oe55tVasNLJNy5BL8km5bKLOZZEH2wqInwKgavCBGtyoRmt1fC87Vmm5YEvOCMcJgupxIulUbtEI+XOud+YKU21MO6E04kwX2vXPdumhJ/nGESwGLehBe6+3R/clXs5ztoySKgIicHpj/K2IyXHxW5CX8zvLxdIrpueqKvZpDHsnXy4BYGjkF41+oneIl01UZfRr09jjL8F5HHq8IwuXvoBqDW66KFuEDCtJoh0aR46fiHs1CPEWBd1zAJGMg6MumszaFe3pDY5eOPD2ONJW0QIHsC9gY2/jDdYuaroXXtQjMqyok7TNyjKW1AOB4Rnw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8582.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(396003)(136003)(366004)(376002)(39860400002)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(38350700005)(921011)(2906002)(66476007)(54906003)(66946007)(66556008)(26005)(6486002)(6666004)(6506007)(110136005)(478600001)(52116002)(316002)(4326008)(8936002)(8676002)(6512007)(7416002)(5660300002)(1076003)(44832011)(2616005)(83380400001)(38100700002)(41300700001)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZirDk7x3ooOXfWLTKXlIGe2D4/vOD8DgKhoIwo864w9YUYuQLSWCD9WyFcVjtP/ydsLedYpuC3dVZt20JrShKj9fswl47J4lgHk15OiYUXVXl9/ysCzdL7RihUenWwswL7ugMlszVVBqoPG/BmuV9tfkdux8hYUhkWxdN8MwxEXRTaqjx2QnwrwS4X/z3ZMHc694CyNpQuoOamWGZrdROG7m5f8zF1l/zz+1t5iVoMauOwf0Fy8CMS/nz7N4UL8IvE5F29z214iLIbZFGpk1WF0H3gJ6dfWPbomcOm7tTSwU7n5zHd1gdCtR/To/Zku6grV5Wtef43CPhPd1qnGACKCh+KS+uZw98x9IOBpmsexa9+xECTuzbroFax3RV5t8aDpjbOAK0jI95OGEakAZmavHq0Fgw/9utLQ6nHkbyLYXKw65Y7nmB1wOEgVUTrUfX1CUPNR8HyuZtEdwPTRgOQSFY7eMoaeMeJF48nn6Lm754t/f+BM6dTXB+TMl+3zJh5RXZ/dCq5e7GLrMaEb6GdMRZwM7tcIXT57zvNfL7r9NwsNt7XN8si1o5PqP3YWrKusg3+eThsZA74qt1V0JVkLPTi6pJraimXfKoh9RPo9JaqWOC4rioKjcgm8nH9aZB6gCuG8C2zOe+qsSbAV/A/eY3eU84OjLAQ/blR+CcTAU5uLjNPDOLyNnN+Oc3fv6ixXaszhK+BG9++mKIEaHASL/ODpa/Zv1H8vNUnTqYwO/6dGY1zuhTBSdnRhSQyULM9LxGlceFb/st44Khixj/x8/gj8bg0gADcX6foE43hpzwhV8ZCMfNBkv7lrrzzLycSWpgdj3CzyvyzPoo9QfyfEIGet3UuLLv/s/qGuFCjC14HAIHrhCB2QxHi0bkD16q8zjYmnAugI9E1dGq5cAPK2yiL/0tmBBWBE60Ot6UNDQSYf63NGOMHDDeMjFLAu3m/thTj2dffk6YJXZuSWkBKNOcKJR+1bQtFkYTpRYkk3U/wU2UpEXgIv1FmHprqj5HxDOJoBJfZ6A8kU9WB44xyiUT629EZOkzoloDuU9XYEQTuFIOC2ZRa8EwSmVmJ48SGzPkzPRThmsn2iGHns5oeEpt+ND+4e9mrpMDFZY6Y9KqpdgPCPE7QqFZrexJ8kZcpGaHv/Etjjww6Dm2GDO6uSLh4d/isXnOJmL+pt9ewyZbFtw3Lf0wAheCY856rcMrvH3zR7KWpJviEBxfGZfsExRQGcuugmEvm+0+7oFlC/zbxyheGrZJI5L0fm0ucLji181ksz+P2gFFgsU04FU7FLkrfzM0uaY/q/E8oRuqdvR+pY9DS6kSQ5L+CU30o6l04eHDPJnjLlTf61xEcRU0jz0osZq5c/oH2/X5EnyR2Fr8cAQeuMWnOk5qFaypph5RHhieX3fO4k8c05cGfpf8FV7mTHwg1ca6P5z5aqYLNE8b5o6Llc7T5r8DbSp+9p2wg7Hw6jXWIU5Tc8uMn7YuwtabkEyMaEgYYtMmVq4xsm68punb+J0ZD8rLv9FZiqqzHVaS31EbyyXrHxJOjCR9ck6A8Ns2KonnrfbHYt65yvorurDZp1PGL5tiiIS4fcqUr/AnCkMno4jy7XzKsRd4g== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae839d35-9886-40d8-d3b9-08dc1b5350ba X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8582.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2024 14:06:23.2004 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /dRHT0xtQJaDLYY3XBIuaaFbkxGiUOREo+RCFtOL/ePmWJQwxkNwFxCZcRtkHha4rwEno4G5A6VTBv8tKKDslp99lc0vk07PgLX0/9H4Uuc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7635 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_062050_757490_5FD3841C X-CRM114-Status: GOOD ( 11.55 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Ghennadi Procopciuc Add the uSDHC node for the boards that are based on S32G SoCs. Signed-off-by: Ciprian Costea Signed-off-by: Ghennadi Procopciuc Reviewed-by: Matthias Brugger Reviewed-by: Chester Lin --- arch/arm64/boot/dts/freescale/s32g2.dtsi | 10 ++++++++++ arch/arm64/boot/dts/freescale/s32g274a-evb.dts | 6 +++++- arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts | 6 +++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi index ef1a1d61f2ba..fc19ae2e8d3b 100644 --- a/arch/arm64/boot/dts/freescale/s32g2.dtsi +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi @@ -138,6 +138,16 @@ uart2: serial@402bc000 { status = "disabled"; }; + usdhc0: mmc@402f0000 { + compatible = "nxp,s32g2-usdhc"; + reg = <0x402f0000 0x1000>; + interrupts = ; + clocks = <&clks 32>, <&clks 31>, <&clks 33>; + clock-names = "ipg", "ahb", "per"; + bus-width = <8>; + status = "disabled"; + }; + gic: interrupt-controller@50800000 { compatible = "arm,gic-v3"; reg = <0x50800000 0x10000>, diff --git a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts index 9118d8d2ee01..00070c949e2a 100644 --- a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts +++ b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright (c) 2021 SUSE LLC - * Copyright (c) 2019-2021 NXP + * Copyright 2019-2021, 2024 NXP */ /dts-v1/; @@ -32,3 +32,7 @@ memory@80000000 { &uart0 { status = "okay"; }; + +&usdhc0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts index e05ee854cdf5..b3fc12899cae 100644 --- a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts +++ b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright (c) 2021 SUSE LLC - * Copyright (c) 2019-2021 NXP + * Copyright 2019-2021, 2024 NXP */ /dts-v1/; @@ -38,3 +38,7 @@ &uart0 { &uart1 { status = "okay"; }; + +&usdhc0 { + status = "okay"; +};