From patchwork Thu Aug 5 06:54:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 492607 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,URIBL_RED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99ECAC4338F for ; Thu, 5 Aug 2021 06:55:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 791C860F58 for ; Thu, 5 Aug 2021 06:55:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238157AbhHEGzY (ORCPT ); Thu, 5 Aug 2021 02:55:24 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.111.102]:49716 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238134AbhHEGzW (ORCPT ); Thu, 5 Aug 2021 02:55:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1628146507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dQ3sNnxHrPW+0NfPoOZXUmTpCXoqKD62Mr9gJOSmmRU=; b=SwmXJpQBByUAAP5TYEbnQJnAnfsQZxziGf+VxiS3lCp0U3wlzwz/nuLL+JXIWuNe/Q6JYR vqFHuUSkhhVh+2fmPNk+ROlbSH8jamS2EDMmPoqhCL1I8B8iCuoKig1T4LULYQNEC2t2Kj l2suQI+2jBbBnbCjHjasULiTT6LaCH0= Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2058.outbound.protection.outlook.com [104.47.13.58]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-16-nzQwq9hVN2WeBoLoozovjQ-1; Thu, 05 Aug 2021 08:55:06 +0200 X-MC-Unique: nzQwq9hVN2WeBoLoozovjQ-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NapABS16R6ap2YLFnly+1fX7uztH9mtRuAtJERQYfZE4VKS/hY2cHYWMo05Hl8ThNSs7nnZFF9f0UXag2rR1/32nRO6LaC9FCG8K1enJj9RkkJpdXIsMiQjEv4g/34GKACReFjYnco/yGX3/PITs9zh1GKwYjlqwngvdwHDHYOfzhYG4OSYJhRMBuruhNnRH2kk/HmlBER1w6hGY8hGSoRbhXubO78tE5/ZxgY0Lvr66IZPFdLArYgnai8P0ATdnKioFJTMdFQUILuZf4OsxPOETqYwdfWw8+sU6w2l0DbkHlmPtt16Cn2yFsve6Uks2VUwTG0VLrseZSB/2AI3o5w== 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-SenderADCheck; bh=81yB69k1vG4wf6qDlHCwCoVh0suoz8CGiIPEt4LR5vI=; b=HDAhw1P6oJkRscYFU3+l6v+mu/TLGpWU5a1zN2yzn/eW9iJzTuBRMTZ2ExAj/y194t+fwmy0776yEzy0sGtQwPNalvOgtBRUjiI2lFMeXNc9VIbSrFxlCLSv409s6tfcUPGFZEax/AW7cbCz4Ojbu+cpBZuPd8Vo9dEI6oTkn91pawXYxHOY7kndMaEMyoEpG52jb45z7se0z+Br0/ACCVwuRfRmZINKVGgmjk7nDFoBxCbyHNq1pDUmYX3rr6YM2L3rHQLSbP5HGlenWU4plXryybdixkxd9XWuD9R9aUoR2EIz9f7NwMcP9PNg1BuhvcQMHLcWQVqmF+CrrxFCcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: linuxfoundation.org; dkim=none (message not signed) header.d=none; linuxfoundation.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by VI1PR0401MB2368.eurprd04.prod.outlook.com (2603:10a6:800:29::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Thu, 5 Aug 2021 06:55:03 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667%5]) with mapi id 15.20.4373.026; Thu, 5 Aug 2021 06:55:03 +0000 From: Chester Lin To: Greg Kroah-Hartman , Rob Herring CC: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Shawn Guo , Krzysztof Kozlowski , Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , Li Yang , Fabio Estevam , Matteo Lisi , Frieder Schrempf , Tim Harvey , Jagan Teki , s32@nxp.com, catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, radu-nicolae.pirea@nxp.com, ghennadi.procopciuc@nxp.com, Matthias Brugger , =?utf-8?q?Andreas_F=C3=A4r?= =?utf-8?q?ber?= , "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH 2/8] dt-bindings: serial: fsl-linflexuart: convert to json-schema format Date: Thu, 5 Aug 2021 14:54:23 +0800 Message-ID: <20210805065429.27485-3-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210805065429.27485-1-clin@suse.com> References: <20210805065429.27485-1-clin@suse.com> X-ClientProxiedBy: AM3PR05CA0141.eurprd05.prod.outlook.com (2603:10a6:207:3::19) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (118.166.54.149) by AM3PR05CA0141.eurprd05.prod.outlook.com (2603:10a6:207:3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 06:55:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 22155975-0f0b-4e18-2348-08d957ddf383 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2368: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3MoIkS5YxdR1Ap1chjNH01i58N6epMe1I9SZyUfiRLVn/qwcvu02KwnsIa/8ZYefuyAe3EqIZh/OYLk8aCvN/rBxni7ig2m+PG1g5jg799nlXB3BWiHtb+g7z9/f4KZm31vrBE+JsB5mIyUiTojB+3NWewh+lR63DGhAcbciQ/gxUo7xVuOo3OytOXyc5Ys+w6J5ERykVaWgQIA3myPSoDikcOnevxG5FdckKMiSt9duBNrEIEtcLkjsa1JT9w/dBRsl/ju740ejJeTK/4Avp9Idy3Tinh53WBmeSQrdYbEnF71Q+CfqQPkAGFmOieb2LaSgZhPniqIxo7h9/A8tZnuf2JMYCxSA+xajRFHLFEZBnwG3YSihH1PRawr0Rcvb5KRJIORvf0fJUU5qGh6AztPnS25VzUoN2sZC6AhHJG7mwrB2pRj9iyN2FO/Rikb0RgPp74l5/la33dOUwM7INA5icaHszLmesaaivD766n2LcKqns1YjhJ0gQOtn4YVV4wWx8r1JCq45z7a+VxA58Wp4FzUWfZtJNnDbc/Cx1lYP5kz94aWFvbQv40+Ja4elGp8bJZjWyD6b3YxXTXq4TJX9i9sqlnolCM1eEWDt3GIkZuytVuAIngLs32BDYgoY30twS5s42r4CFiYNKjDSzugcvmxfm81AoG4mIr4Cm7lw9VqGr9UYA0icPE7xn3tJdbHOJm0LtISI7DDZyfd2LmctNeHndwyKHkrnw/CKI2o= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3439.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(8676002)(86362001)(6666004)(8936002)(66946007)(66476007)(66556008)(966005)(956004)(2616005)(508600001)(83380400001)(1076003)(5660300002)(26005)(4326008)(7416002)(6486002)(186003)(36756003)(107886003)(2906002)(54906003)(38100700002)(55236004)(110136005)(316002)(6496006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: RJoFFTwqd8X1vu6r9FZzaJG6cCk0gIX16tm+wazGYzVGIMy1zkz/QUUA/kuvRvljxkyueqmTj89S7tcpC4x9lxVgslwj9PFvf2XPBhZM8iPOeVihF0pYLGTZ9SjJ2+AUi1Qb7/h5DqusCh4JJqQS9EqojaUn70PfW60TBR6qkbWZkxjzeKPHbNErOZdmeXTQVUs/ukK23ZC+O4ALzWi7eLTPlSXNkXF95bBpAe5QSgeZeAIvtlegWlmfYb57T+liAxVbYofr/xvRrQnhJY6xr6y59HU2MIDWoRysm+kaUpZLrenghX8Iioy01u9RxytftqxSFlehcpkAQ55QK+/f1r5TOCSgbH0mCJSq+Bn08v3UYixmDzhfQuAOul2QJpStga0sFAMUt+rRyUzqBBWsFaehIXwAAGD0HwErp1vw8yrdhJWIEzcw8Isqfs0XizAGAU1HasvCi97QHMB/GmdvMSHwOHqu5vnjzRC9XP9K4XGHFiV7UN8WeLtngQbdi218iRuv7Mqh1grZipLjnwK5jx5tROHlzNQEdxgcRjVW4nwELLAEbWSi35dcGVT8Fxl63potTvuwolTYJcCFCM4b0o9dxz8TZQMNPmSxabV4jLFm1KYYsBHqadP9DkcE3A8yuXS8YhMRjWLGRHdFxHm98YvJSbdxjfWFIoCCx/yY1FsXj6369+OhAdQWdJm0im9oZvGDqYNyxakyLgvuwd/0HZ3UFM43xaJfBKHmQIzjbYFJZWXWmgH5MZU4LGCejwraoSpWblCsHzUda3e6YqtZlv9KfHCJvvf55FDzjqx1uTOGz8fhzfaMoZhO6A1P674h2KUuN3W8QIkE7Y3S5VgydgKgK2h5YPvfweoUzXRhzEm0QS/oU+e8s6osrQzw1MQqtJNlwclSkGTVyHiZbU+b9lVvlUsL2/4SVczeYVW7/0HIOhZwhmJO6JQEuMJQQ3g4QSOP7FK5TKP2x6q48T1viglgBv56s0ZquOYKGxw4KPkKSpKrmUUWYnCt57NWmpltyZbmbj/L9xIfn5wYfO0NteN2QpVEJh0QCMQqWmVUK8ToOj08blhWRJSM9nKFqyAXDcdOLoi2jVOP4mcFVE3YH7u3WnZH56tgDVFAuIFYJ8c5bCFNi7h83VKoDBKMCcu7PjTupxByjc7QnYkHMWiB+PTib/gtRq0Xo7infLaKm31IpcLi86demHikBkpRqychfr6YNUMTAA5v/ylu23Pw59l6TZ/yzyXboEeC1aOSfLQePad0f/I23sB/+gGpxgMXKsm0yGSTDWvqqWNKgx91OdUkw29Rguifeljue8lUEUgqbaKVk7HsMUm1AUeGUtx6 X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22155975-0f0b-4e18-2348-08d957ddf383 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 06:55:03.7220 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kOB10xJSAW9pRj6+bgqUlecBvib0Y1LysaSuY8RiuwgFd6xHVkdKHvUH24+jyfSH X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2368 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Convert the FSL LINFlexD UART binding to json-schema. Signed-off-by: Chester Lin Reviewed-by: Andreas Färber --- .../bindings/serial/fsl,s32-linflexuart.txt | 22 --------- .../bindings/serial/fsl,s32-linflexuart.yaml | 48 +++++++++++++++++++ 2 files changed, 48 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt create mode 100644 Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt deleted file mode 100644 index f1bbe0826be5..000000000000 --- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt +++ /dev/null @@ -1,22 +0,0 @@ -* Freescale LINFlexD UART - -The LINFlexD controller implements several LIN protocol versions, as well as -support for full-duplex UART communication through 8-bit and 9-bit frames. - -See chapter 47 ("LINFlexD") in the reference manual[1]. - -Required properties: -- compatible : - - "fsl,s32v234-linflexuart" for LINFlexD configured in UART mode, which - is compatible with the one integrated on S32V234 SoC -- reg : Address and length of the register set for the device -- interrupts : Should contain uart interrupt - -Example: -uart0: serial@40053000 { - compatible = "fsl,s32v234-linflexuart"; - reg = <0x0 0x40053000 0x0 0x1000>; - interrupts = <0 59 4>; -}; - -[1] https://www.nxp.com/webapp/Download?colCode=S32V234RM diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml new file mode 100644 index 000000000000..acfe34706ccb --- /dev/null +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/fsl,s32-linflexuart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale LINFlexD UART + +description: | + The LINFlexD controller implements several LIN protocol versions, as well + as support for full-duplex UART communication through 8-bit and 9-bit + frames. See chapter 47 ("LINFlexD") in the reference manual + https://www.nxp.com/webapp/Download?colCode=S32V234RM. + +maintainers: + - Greg Kroah-Hartman + - Rob Herring + +allOf: + - $ref: "serial.yaml" + +properties: + compatible: + description: The LINFlexD controller on S32V234 SoC, which can be + configured in UART mode. + items: + - const: fsl,s32v234-linflexuart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + serial@40053000 { + compatible = "fsl,s32v234-linflexuart"; + reg = <0x40053000 0x1000>; + interrupts = <0 59 4>; + }; From patchwork Thu Aug 5 06:54:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 492606 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1AEB4C4338F for ; Thu, 5 Aug 2021 06:55:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F0F2D610A0 for ; Thu, 5 Aug 2021 06:55:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238273AbhHEGzn (ORCPT ); Thu, 5 Aug 2021 02:55:43 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.111.102]:45597 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238304AbhHEGza (ORCPT ); Thu, 5 Aug 2021 02:55:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1628146516; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6Zmc6Tja/FDrw+1LpizfijcQa0175lf29b5kr0oBbuc=; b=LSlHoKXUy0cFFQn+tnLv1ESj4Zapv2sqjiz6NvSEFkfEhLbDezXxxLsElu1SLC5u0lvZFH z4pQsUMovRb+ItIcKAIXBSQu+P9yxB5g6NZe1KbzOkvzBQMQdiSbZjS3dwFHbncEGVOAlo /9Zi99Mv+HPyVbikQh/8gevZ6HaCmos= Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2051.outbound.protection.outlook.com [104.47.13.51]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-34-JFMEcdLjNbimZ4qLnXA_sA-1; Thu, 05 Aug 2021 08:55:14 +0200 X-MC-Unique: JFMEcdLjNbimZ4qLnXA_sA-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=frAN76kDLvH/F9REfRObahHDfntB+VA2nRy8hwpqxxTTmpbo5Gn6Bz0AoEjHt6QESfcIPfzz31xFdm+FQkA6hIHK7BowfH32f/3dnofAt4866VRhQ2Cq0k88UL/yiM4b3JVHu9Etnxlblnvtv6SNt0UF4HqEUKJRN0ovmkgUpDnGFGLFDzXykyWjELTltuQk+XYDD2QI+BTZfZr93WalJMdYQvPyRjxji9GJzVGuQlyQogQbcDAycQ6jT2XbBP1Mi/goXQCr4YtC5XoE3DbYHlHdD0Vhu7yeRGjt1jWlx98OuoLzliicq2uV3HLGG18vjPI4iQs/LoZGsCa+tcwFWQ== 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-SenderADCheck; bh=xjIW4uXbAmVlo30kygizRjnAv9qD6xr52oshhgvP4Uc=; b=Dz9GiAiNv7KLAgNDskxvqHS91Utb0IAe+fqZONhTqcXrpHhy3H1A4qgaMpqseB9y7SHOvzaqoV7LAaMZuTvoQl5vIz0zppbMpzn6GWowcTYI4eziW8IjhhJWLSM8cqRH+KWpSgSbQ6lTNsS6CsxYJkhYT3UqvbHG+sEjwRUXlBolR/lNzPLC60eB7N1qdaemfEByADUlK1BO6HD1+Q91l4mBShvqL52qesUJp9/IUsieT07J75NbhsPOdQeTXY22s6gL6Rax7g9gnFMO0faF4QEIc1xQyGDa7DirZhzM58JF8CCit6aIDHuVxlK08Xa5timDSwmt1KFeLA/E9mNxPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by VI1PR0401MB2368.eurprd04.prod.outlook.com (2603:10a6:800:29::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Thu, 5 Aug 2021 06:55:12 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667%5]) with mapi id 15.20.4373.026; Thu, 5 Aug 2021 06:55:12 +0000 From: Chester Lin To: Rob Herring CC: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Greg Kroah-Hartman , Shawn Guo , Krzysztof Kozlowski , Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , Li Yang , Fabio Estevam , Matteo Lisi , Frieder Schrempf , Tim Harvey , Jagan Teki , s32@nxp.com, catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, radu-nicolae.pirea@nxp.com, ghennadi.procopciuc@nxp.com, Matthias Brugger , =?utf-8?q?Andreas_F=C3=A4r?= =?utf-8?q?ber?= , "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH 4/8] arm64: dts: add NXP S32G2 support Date: Thu, 5 Aug 2021 14:54:25 +0800 Message-ID: <20210805065429.27485-5-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210805065429.27485-1-clin@suse.com> References: <20210805065429.27485-1-clin@suse.com> X-ClientProxiedBy: AM3PR05CA0135.eurprd05.prod.outlook.com (2603:10a6:207:3::13) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (118.166.54.149) by AM3PR05CA0135.eurprd05.prod.outlook.com (2603:10a6:207:3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Thu, 5 Aug 2021 06:55:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 685e81ec-8238-49db-a8af-08d957ddf87c X-MS-TrafficTypeDiagnostic: VI1PR0401MB2368: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1186; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: riBkHNOKX0JtspFFEMH+/pakwQVu/kwBOsgbVQdlvsHY8HaDeEuw3ae+pIRlXHSS5zeX9Q9HGXTaRAALhq/tYWOY2nzcAAFW0ePtMiWmoBVY3tFsTq67S3GJblX8VYbTAz5at4tldupnAtGd55rmqkSZ8RZoFTIy5KJAEUvLNxtic4qKxxSNZJVQRkctViSd9L6/wOCD2k95lvySZOVzI0pAQtxuyE0OqhAW8sVzitYuWirDuXLRye56B5SWCP4rpWCRIiBdhqze6fCjUsXzCqH6rbdt+CZMfS432h58zbVXgV1R2YalTWLm9Z6y+HZ/0fE3hTEk4mwdYI+0RYVKUi+6vtByrLBLvShQIureKeYTE5n2WoaSpgJKJJ95i2h98p1pDwuDhV/7I/4yAn7uKcEjIvqc8slmLmBwZE0PWXAk8XQk20cm+TJFrud0WaANV3s75Rzed218lZbyEYACMh1bebPdu7xXjL+KUMpVNlz1oOhbI4weMyH4iMf9vxChtkRpp8zkPw3ew8Hr6qa5IqWa/gNBHN2Q4VT2hK7UgVVnNMXlB33HNmp8de/vimXvkRRB6SwV+63BUTER/dfIjljf/oSNAjcb4ugZcEDysDYTqVH2LlMPsHMhnUb0nvy8oTpH2Mn5cL0CDby9+5hbMQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3439.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(8676002)(86362001)(6666004)(8936002)(66946007)(66476007)(66556008)(956004)(2616005)(508600001)(1076003)(5660300002)(26005)(4326008)(7416002)(6486002)(186003)(36756003)(107886003)(2906002)(54906003)(38100700002)(55236004)(316002)(6496006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: edSvwQiXqFu5pJ4rX1FGqWHf3V2Dy7rYfOqd0lmlB/OJ9YtHwGLKzM6xtIGHgafF+zIkGu1EPPPSgrdtA2GOuUJVCwL025Tn6hpL3o0MXempanOg/PTMXudjmTttM+ZkKwlEEnpvcA2/d3/IqUy1lJyp6QT+yKyAKB3Fz+YQ2Rqvxi3NYaSTYeRpo8+8WaU5ZGrPBwfz5wbbbq9/+OqKm4vW3z/6Wb37vVgJSRENhrimbBV3Y/q95Q5x4CPSJaaEYhEpyhv28YelKZpxIyFSv59l8C/3FEJu+0iGOi0aTijJ2BN2MlhqiqzhK0rk+rzNPLWb3IeRnhPdHS9vDPtdCSMm8tBRaTT7Dl9EbIUvZhoKIz1qSNHpJpl+Ge2MV7j99f+ZOeBnquOPSXYMy8Di5+Pj+2x5FR2Cjyp9ZuCRLFE6YKLc0PwC0b1R2adBZKjxEiYCIG2VUUc0GAIVwAWih25bRcCaCQCCOm3UP6sgzhBbalPoZzYX2LbeVDV4bQabg++XYr4EtD6LFJ2+qEicBzm9enP0eqAhfDlUGPax5fKKjTbexD1b62r46wPXx+oYJ+mVJJlhHIDw3m1+VDpQ5QfXFi5QNTe3YyBIUthJxroL1oMvgfy3DS9b6mGenbiHL8MNmkedce8XTQAzYQXUtxU3ar8nTwrQwcQ9TTZOQm0IVa+m0+3zVKpMlAbfrD4JYvNVRQ/aCGdA/OtspMTkyRxu3C7+/XnadZoDKGjPf15AujTbbS3qiQFqW95daFncrSsaquzlbby7HRbudJXkijjO389WVMz5ta5PWnyZJUEj5Al5k8/art974vcV+OevRQr8ctigGikpejK1k63b0fSxU1kDubvJESGl86DR54MUd4acgz7IQqJ4yESlEzgu4Ghv+5x6jE1Z9hBX5LdHU4mH5Eh01gpC8gd9ehB1pd7G8+Cp2OkMzVZ8SMivq0iI2eL2Mee3kzccWuJGkhFbXqANz7F4TWSN2Zs13GoTbM5CvOr4BJhV0zaP+RnoQ1o23Q4hSS7baimdcq+1t2U1BAuMd3JlJ7WOUxrbxcs36jRUwYXKruLik2s/Mtq+H+SyRBaXpPyIX3mEwrTi5SUc17qWFLEZKv9HrzlRFYZhC0kdr1BGBgo+grQfBrdE7y3OUjYJf+gqP1DaBetEnILWGcBToom4Y+Ik7is7Guosf2lehu7jkH4Fy8KDu1q5KEZ57eTVKrR01EMjlZT4kwUUkvrx6Ekb53Kfe+57ZZsnvYspasHXo5lEINhufRAE8zlnSy7Nj2nMN5BDQ9hnhEM3BXLANCmj5rGXjTD4erAHJD5wj4XWQdjeCRXFlZ6cDKep X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 685e81ec-8238-49db-a8af-08d957ddf87c X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 06:55:12.0672 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tGiG28JfJ2jerAenpxc2fLbBaN68bpbsVSuewGT/OZ1EzJ8W8GkwfjQT8ICoKz0x X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2368 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add an initial dtsi file for generic SoC features of NXP S32G2. Signed-off-by: Chester Lin --- arch/arm64/boot/dts/freescale/s32g2.dtsi | 98 ++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/s32g2.dtsi diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi new file mode 100644 index 000000000000..3321819c1a2d --- /dev/null +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi @@ -0,0 +1,98 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 SUSE LLC + */ + +#include + +/ { + compatible = "fsl,s32g2"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0>; + enable-method = "psci"; + next-level-cache = <&cluster0_l2>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x1>; + enable-method = "psci"; + next-level-cache = <&cluster0_l2>; + }; + + cpu2: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x100>; + enable-method = "psci"; + next-level-cache = <&cluster1_l2>; + }; + + cpu3: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x101>; + enable-method = "psci"; + next-level-cache = <&cluster1_l2>; + }; + + cluster0_l2: l2-cache0 { + compatible = "cache"; + }; + + cluster1_l2: l2-cache1 { + compatible = "cache"; + }; + }; + + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = ; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + soc { + compatible = "simple-bus"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + ranges; + + gic: interrupt-controller@50800000 { + compatible = "arm,gic-v3"; + #interrupt-cells = <3>; + interrupt-controller; + reg = <0 0x50800000 0 0x10000>, + <0 0x50880000 0 0x200000>, + <0 0x50400000 0 0x2000>, + <0 0x50410000 0 0x2000>, + <0 0x50420000 0 0x2000>; + interrupts = ; + }; + }; +}; From patchwork Thu Aug 5 06:54:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 492605 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69418C432BE for ; Thu, 5 Aug 2021 06:55:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 40D6060F41 for ; Thu, 5 Aug 2021 06:55:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238463AbhHEG4F (ORCPT ); Thu, 5 Aug 2021 02:56:05 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.109.102]:60192 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238404AbhHEGzi (ORCPT ); Thu, 5 Aug 2021 02:55:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1628146523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DD7zviREXQQlcg7evTk/OeIKc2yX2zWQYjkpZ5QZShg=; b=gNpO5Lo1IHJVte/BSSaHKsdxE++Z3aj/1dlhlMj+lzqryIBZKh8lN7/ZsqQJY9d/C+Bz6Y 0u63odg+FO+DzQwJ9FdnSR2P871xhiuskDsCk5qjcptV1OZPWLUqfhBr9dD53C2k3nxypO A+aH44qOYGKeNB3eNJ8aFZ++el3ut+E= Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2109.outbound.protection.outlook.com [104.47.17.109]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-7-w_hP8sX2NByiXgd6NTtk1Q-1; Thu, 05 Aug 2021 08:55:22 +0200 X-MC-Unique: w_hP8sX2NByiXgd6NTtk1Q-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CYfRBzN96rAP0nCfcuSA8656vVvqGiL9FlsnNB2IecgHHY67AAFP4m8qbik7H91cOxOgyJci1UrZjn3qtZyBkeBWJof8xy6Ayzrb5TNpNrXboJxTFUN3S/m/OeVj5oalGXxLbhVWNuDu2d8VdgK37ZOdbfpUEDIksiVJPrQsviqaAjBXa1k9QV4DRiebIspFANUOYogTPlsmkaulU5Dpi5VkxA2YybyRDD0ztwI5SEwjS8Ovm41IW+Ow+BG3KWL3B8+/FG1Sg5L+uKd1hFrCW52ldS9zy4AKfM0S0l8vJmiWJ3/fVDn/VHBvpUZ0DTXpT7PPcStzuYpfLTBC3JLS9g== 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-SenderADCheck; bh=t50iecsKjCtvY1sICL4y7g0m2qTZuEdWe1dFHXz2hHk=; b=dH5Mnv1ySeIIElwaHzs0cKRWyKvw4yMjTUDVPNQnKpZ/u0I9wxyvdPHMWkeAni8wjEmJNjAQlgnzDgFMUHEQwjqanYLjzqyxvAzTUH3CC2ROrzDlTbC2Mj1vNThHeCfkmryZFsrzZHXxieTxqm4/mutoR+NKI3Y5ZF0PrZe5zgc0MHEAKCHlXDDCdmN04IVwlL0PKCuPNcoFeuCUudYyWuNCd6AQwqmhtkU6VQ6I1I+WlQA6hik9YB21eSxxB0Wtdr18zf1hRP2x1ZH5MaZnEqa0+VLlY0892f7zJvfaV/zsuu/c55aB5IQVi+aBpRkiBIBgp5jFyb1cFytUF2MpxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by VI1PR0401MB2368.eurprd04.prod.outlook.com (2603:10a6:800:29::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Thu, 5 Aug 2021 06:55:20 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667%5]) with mapi id 15.20.4373.026; Thu, 5 Aug 2021 06:55:20 +0000 From: Chester Lin To: Rob Herring CC: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Greg Kroah-Hartman , Shawn Guo , Krzysztof Kozlowski , Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , Li Yang , Fabio Estevam , Matteo Lisi , Frieder Schrempf , Tim Harvey , Jagan Teki , s32@nxp.com, catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, radu-nicolae.pirea@nxp.com, ghennadi.procopciuc@nxp.com, Matthias Brugger , =?utf-8?q?Andreas_F=C3=A4r?= =?utf-8?q?ber?= , "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH 6/8] arm64: dts: s32g2: add VNP-EVB and VNP-RDB2 support Date: Thu, 5 Aug 2021 14:54:27 +0800 Message-ID: <20210805065429.27485-7-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210805065429.27485-1-clin@suse.com> References: <20210805065429.27485-1-clin@suse.com> X-ClientProxiedBy: AM4PR0202CA0004.eurprd02.prod.outlook.com (2603:10a6:200:89::14) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (118.166.54.149) by AM4PR0202CA0004.eurprd02.prod.outlook.com (2603:10a6:200:89::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Thu, 5 Aug 2021 06:55:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d790b56c-5f37-4097-5298-08d957ddfd5d X-MS-TrafficTypeDiagnostic: VI1PR0401MB2368: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:324; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GfxjSAFmAM5cxDDfSR6uxgEe/Y/aPEDBq5nN4W+0tCO+Dlay/TVUTrClUQy4TokEUy3skrKyGcyogkQenIF16jBAGXmSP0ebCVFxMGNg5pkwT+xnv2hxogO3gBu3HS8SB8Z21Z843rpitcBAU5jQtK64Hvw/n3S82BGiY66AAlp5lw9HwIHf3wP9FyM6Ys18/vdDuzLw7ri89lQWWn17lqkpdtpoqFJ1Pu7G6sjz7uyC0Qr4O0IZu5qdnC+ssVp9E+9nUTcLmNjbMylhU3WcktOcgVQgtmErScQ1tM3VQSFQyHlHI9GLpDKPmQ+t1iEWI3dUpaz5FJ9OPBkg4ZBkA161R9rR3CpAerym61DlBCi9g0fDwh7mmz5YpzEzAkfInp9a78ytqvhsfdE+kXHdlP8v0inRHg1doQXt6BEQy5cadmGrEQtvH/o1I9SXCYdypuvT/AxTzbfusDi1ISha5uFT/CzRROTa35JZw2CEmT0wKFstro41EYpsUYTocfETX0ml0lkZC9A/pA+O9BBT0DvXPy5AaP6uYjWBIxtuFnk/Ofy4uiMkqXabIpAi5nFCA4+yKWaeq2SVc8tCX+vDM4cpqk26gl4kBGNfGCUCXUMFnIB45H909juy6HXgCOPJAp+AZtssFqyKhkNa8lc5PA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3439.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(8676002)(86362001)(6666004)(8936002)(66946007)(66476007)(66556008)(956004)(2616005)(508600001)(1076003)(5660300002)(26005)(4326008)(7416002)(6486002)(186003)(36756003)(107886003)(2906002)(54906003)(38100700002)(55236004)(316002)(6496006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: booowz/HrP0P/KS+gr94KkCu5T4mV4OO4tPe0DBs2JQDKwdEESruxnLvqPWdYjXeDD8v82/utAQY8jSf49fLcysH4Ssxi8Rt+g2Me+1Lvq8WfbdB4m7hedzI1U/oBoq5fj9nHyH+OAYDBsyfl+RYiCispk6yX0K5/g/pO8jm5KLejeTRkHMPzOhVB5XYTsn13HQb0sYj/tL5yppvKV4xhoHe7O/FEUXlpGjV7+L7GdysWI1onmv4Uks0LDoynF+enZy7KMBYn5vIsnal/OLSJKon6HypUVPr2YE7C5964iZOaIR5+PiHm3tv2FBbEBzzqSK5FmweU3TURm608xgWxdiNOX9VlljHmzpsVQaH2Bj8Al9pDUu20illo4cZ3yDDua9V91277NQTNG/2we8kWs4IC2WHokY7IKwZ8dTV0WayZzV/wKoFrJZIckVLY34G4N4b/aVSrLMMVhcwZSvNZaAUWHSdpZIcRjgz9CcqssNWeV+961i1oajRhwq8CpE2zPjYlTzlKxwYZTGWlGZN0to0vRQV3i7c1O5HDdkCrjKTAW1ubSkRfQG1gOsH9z/4qZSj6qka1Iu3Gvk4idyWNZexBdf3SDRfoRPUl59rcdVTneoHstKv7P4NRDSFFvitfuyXQyXVkxTpMbvTSI9ls0TU0URWoIIrmstvcwqO0Nskf20OVdN9nwXOGd8wRp6wzidinosLpoPGhDD/TH0GlbkEtbPovIcjGGDCu7IfAe2+KtMqPf0xGForVbdxqLzV7XKEphfa5r8YnM7ixzVVFDqcb9uyErd4ipFHujPlhc/UPGTqTZBRbCCQSFV3sA28icaVgtIUMvYVCngDkUXPXUcZB+Ysg2SixY+d6svW0Rk3Asp++rUADcoSuHziAKSF6heP9MtfGh8pN9HUjbHllvWVgNf+LyuEKsIUk89EYLkbUF/T+6nD7aUdcJKnuTBBYWgLgCuBXWpotuXjgZVZnPQqUy7eHOmCvxGwiUH0/EUBB/QoQeo+pLGCH/Kr5rtNFTRk/SywTTCi/YlvARN83E4IP0GMwj53RUELqoesnuFaRtWQMTShLUad8n1Mzqz6pXu1MWZyPMp760YSBMiNT/q29R74hgPj5jQUfj5I7iXt/HkCcX8tWnoS2YbFIkNS+RHxvthN+FkNXhfHPce8zAExO91jR0UeEO8lTySk3/exEwn4zw3KwFafGRa0+8QO90h5yJUYoMwt2hDXL8SRpAENidZkz2ldOH4JcKfY9yDltWWMu2qxGtIOZQ9ButMtJX54/UhFebxC3eJY67LdYJ17Cxfz1s5Vu7zTOMg9WIXQEDCBG2L2BReJ8EguTVuD X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d790b56c-5f37-4097-5298-08d957ddfd5d X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 06:55:20.2674 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WzFOj+1h5Lx2QkWahOb+JGH43bVeXu/vz4g2eEcqSbnfsCW+Lc2c7MStaG7eez6t X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2368 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add initial device-trees of NXP S32G2's Evaluation Board (S32G-VNP-EVB) and Reference Design 2 Board (S32G-VNP-RDB2). Signed-off-by: Chester Lin --- arch/arm64/boot/dts/freescale/Makefile | 2 ++ .../arm64/boot/dts/freescale/s32g274a-evb.dts | 21 ++++++++++++++++ .../boot/dts/freescale/s32g274a-rdb2.dts | 25 +++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/s32g274a-evb.dts create mode 100644 arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 4b4785d86324..2886ddd42894 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -67,4 +67,6 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb +dtb-$(CONFIG_ARCH_S32) += s32g274a-evb.dtb +dtb-$(CONFIG_ARCH_S32) += s32g274a-rdb2.dtb dtb-$(CONFIG_ARCH_S32) += s32v234-evb.dtb diff --git a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts new file mode 100644 index 000000000000..a1ae5031730a --- /dev/null +++ b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 SUSE LLC + */ + +/dts-v1/; + +#include "s32g2.dtsi" + +/ { + model = "NXP S32G2 Evaluation Board (S32G-VNP-EVB)"; + compatible = "fsl,s32g274a-evb", "fsl,s32g2"; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts new file mode 100644 index 000000000000..b2faae306b70 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 SUSE LLC + */ + +/dts-v1/; + +#include "s32g2.dtsi" + +/ { + model = "NXP S32G2 Reference Design 2 (S32G-VNP-RDB2)"; + compatible = "fsl,s32g274a-rdb2", "fsl,s32g2"; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; From patchwork Thu Aug 5 06:54:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 492604 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C65DC4320A for ; Thu, 5 Aug 2021 06:56:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 550F26056B for ; Thu, 5 Aug 2021 06:56:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238685AbhHEG4Y (ORCPT ); Thu, 5 Aug 2021 02:56:24 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.111.102]:40128 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238528AbhHEGzr (ORCPT ); Thu, 5 Aug 2021 02:55:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1628146532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aWZQwouCRguyRVYUrbJB0b52caFxPb8vLemC9Kxx0AM=; b=U2LMr7NFNp0Xi6VvJbmh6kmoA83k9PfiMui3QDK6Q8dkdFc+q1shrB30EmSre7QQBZIQ3Q 2morhTubgCywfJvjPO4M5DGJxLNrHTNfm8frZ2bVjG/7d6565hIHijaq5xQLwg7yGMn58y zuwkZzYfVWC9gayDAA/uqdwRYimQhDQ= Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03lp2052.outbound.protection.outlook.com [104.47.8.52]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-26-NXpk25gSNxOjCPCS7cMEkw-1; Thu, 05 Aug 2021 08:55:30 +0200 X-MC-Unique: NXpk25gSNxOjCPCS7cMEkw-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nr0n+Y6CR/7Xm67ohuAtqYxz3qj+KsTMJxMtzaVIxLBbP45jcLHYwYiJcWTEYDVzYuC9LF23ne/C2ZFldhAnGMcfGoMcKuqUXeA+mg2N8aUsnQXXLGIvj049ufM0tw/NWPe2r9VI7e2nBBHv2HLw91ky5P4+vRFQX1nTRhEcDFwtcVNItzezykTJCDOEHk5FpkjUuwNmMGGEB03AjS+VS3DVEzOJqEM52pFVH8RZYY7/7F5OgGjowg7urPZ9nKopqjc624Ur54YSY83AV6ogbfmJj2b1SXZYaWUe8EBaOJ2nAGjHH7SrjvoEWOTP/zkXDDAM9bd/Ei7O7mDImNa3LQ== 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-SenderADCheck; bh=osw/i73KgwmK6xFxOMQmECeYBvjJJnhr3Z0jaUZynVs=; b=BJVA7nCBpuZgm4VFH4mmwLeD9ly7Wax0j2PM4B1+uZ0XzmvNa6loDNZWUl19HyYiP0CNJJ3Ac/7d1k37eQMO3q+LQMwZE3uF2W574Hld9gIUFZ26eBLu3wBOp3QTZicR5fXuN6joUbnj4LxpHiaSvKgoAUPNbpI9tRdfI2L4k5sZsJnamx+CfLe/fS19hFDdqN19xMsppxJzvKVdxdTuaI42S+fF/JMfv8mntuIWm4PofpSg9yhwSZAUhm87O9XZ+MVkpTJ8PiXuXyvN6JTSD4L/P+rHYC7awaCdWWmtGprUZE2TEKcSMUGd91/7ON8oz1DqufAMv5V0WcrI9MrsLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by VI1PR0402MB2735.eurprd04.prod.outlook.com (2603:10a6:800:b5::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Thu, 5 Aug 2021 06:55:28 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::f1df:db6f:4ff8:a667%5]) with mapi id 15.20.4373.026; Thu, 5 Aug 2021 06:55:28 +0000 From: Chester Lin To: Rob Herring , devicetree@vger.kernel.org CC: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Greg Kroah-Hartman , Shawn Guo , Krzysztof Kozlowski , Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , Li Yang , Fabio Estevam , Matteo Lisi , Frieder Schrempf , Tim Harvey , Jagan Teki , s32@nxp.com, catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, radu-nicolae.pirea@nxp.com, ghennadi.procopciuc@nxp.com, Matthias Brugger , =?utf-8?q?Andreas_F=C3=A4r?= =?utf-8?q?ber?= , "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH 8/8] MAINTAINERS: Add an entry for NXP S32G2 boards Date: Thu, 5 Aug 2021 14:54:29 +0800 Message-ID: <20210805065429.27485-9-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210805065429.27485-1-clin@suse.com> References: <20210805065429.27485-1-clin@suse.com> X-ClientProxiedBy: AM4PR0202CA0019.eurprd02.prod.outlook.com (2603:10a6:200:89::29) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (118.166.54.149) by AM4PR0202CA0019.eurprd02.prod.outlook.com (2603:10a6:200:89::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16 via Frontend Transport; Thu, 5 Aug 2021 06:55:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6f83ce73-99f5-4650-688f-08d957de027f X-MS-TrafficTypeDiagnostic: VI1PR0402MB2735: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KR5ECY8LNiXGK2ypmeYUsjE03XoU/4Q/a77YqEiYH+r7ebIz2Cg/vgBTwbv+fyx3Sgp2m5FCocf63u0cuHo3QqVy62cF8p989YKptgcq9txUV7xVjNXT59s7KyY7MqUZlrMqvOjSYwRqfKqoYJULUO813agSW2+3/LVfYJS4plNGYhH7/8GuoKm35XcaxSTTCrXLqpLVtIr43xXO0cDhGsSzfglDx5UTmhsEbW8SRUp9JkITZtCA9f0Ysio3IvSh7vf6d2+cGnbM/7UhLdy44BrCcMUwUonqQTAtd0sFZUX5T7qsB3s5Cdr4kgBwypdTjrHAwx65xOqfBRxMwstz4+I4Qr3OhHBAWVVkg+zVkXszaUYy8mpVaUqOgToLIvAusl4PoxWuM0J5BgCa+GbMMxtZLNdxGR99QDgCviDvo8VdrvgttZsrbHwu81AmbUZXSHXwdZ9I/bnlXMKoQUSlmIwWqXZ1uk7yek1rmmShTLSDLReaa+u5LqsXrNWN2apoRYoHXhUAfMAGyXrTd1DuYCZ69GbOnvlzAM3HcPdHOTicrYFfq4m+pb3MSkaqSGzrW1RTBDxLNhuEcj8U/yod++UTVDANL9se/tHoSQ0gLY/05kUJeDRxwU7+1Nfc+vYq0tZ3Gnr8j7x8gWOrpIlwjg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3439.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(136003)(39850400004)(346002)(376002)(366004)(36756003)(38100700002)(66946007)(2616005)(66556008)(66476007)(5660300002)(956004)(8676002)(86362001)(1076003)(4744005)(6486002)(7416002)(107886003)(186003)(54906003)(2906002)(8936002)(6496006)(4326008)(55236004)(478600001)(316002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +Sl5Lo0eoTkHL9FNYNehbfHq0jRc2t5zxDNiJh1UBttZjrcAbi068Hbo3cDrQsoALRztwJqcIuH3iTXBn8CFZQKkruJW4/7Wkh6AY7w/6n3ecLyuDhrjGCSBqdMlcW7s8BFslk08SnGwIE1ONi7f0bfNZr62ZUZdHFYtKgkxCCNwlFMJmtZyU1hnMdLN8AVbHLumU+6YBJE/jI+WYhv8lEjhDk1+vzyCJ6rKst5LBCZBnqR1oRIG0CSG7wUvJqqi+Kv2+X9XTlMGgkZFmh4c5wDwyVjheSqzOuh0UHkHgLXxtjE/RecEp8ZIVDlNLWWSWfMXUzwZvHHmskerP1t4ErllB87pbZwW1bJlhQncrqOxKOUO4iuxdXguuMAGISLkpflVUFEVTvVnslPRJrhMipHkRAIeaq084gUBuhOmZ5X2K70r70JKrfDYX9x57oSqb/29POFFcHCUIK8HvRRoQXIo4zpHslYJ9RN87W5/m0HbIhknNJEpqj1yHtuVODnf93kZTbqJwCnynlwIw/hxd8pEbKcauRoptJeMmrewRdVvp79QfcdN5QD+VFjMVRaX8JXapNIGvTAbe/q44aEvn9XaVhXeU4x6KFoSi9CTxfUvqTLviS4SuPgVnI/6mAB4U/cH2J5m/kmE2nPes+2G74Ek1Phx/E12uBmRlPPtWa3MdciC5Ab0GdYWOrM05cf3SZYXT2iXim/gw87HLNrxbrF9Ui1e03mAtTu7MVThh6hJqUcd8VhKsR43LMJtEbzKbOtynMVwBqFSgNxeP9dV4TcMYlsaM+6rzB+6lXwaJKYCwmKFEBBaUZPTXxByjtXg/Lv7lZI/ZMyP93RWnQE0/QotOIcZyjWv9+bDkBa9Rnbl9zptWiXYpR7Wi/T/YGa6cW+uyTuLhu8amV01BTeB8x8Iw/FCg2LSY7y9Q6msmunpEK/Sl6+HM90z18EAMZk5A7EWKD3IhVMOXRGd7DzvmN+fxNkj7U/k6+9xSIEbDYc+2BjVfz2ZkhamGWd76KNlRKL8rJQ0V7QQrPQIOu9uBDuvpZ1zVD6aKtt0Lvfnbu6tOc2XnA4fME27B6mXRLaBbF9mr/03PCUFsnX2CMyjUMlpYIKFoEeVpHA0VdMPf7ScoloAA2qdVPoLk3VgIJ1oy2JBDaIWbHKvQtCIkgGBqSlIaxBwZcuCczfWcmbrjtV2+t4DOWbmCAJ9WtN9KSfljy9dEXzhGPinq2KUzT6CIi94NpOnSeX15GJT5x2bB7U5sBXfX0PsO1YfRc6tSrbFKYFkrMCcBDQ96aHTh0TNQRKwdwtxdpiZ0RotjpiF89+9w6Umd/DXcH2mXUqTwKCi X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f83ce73-99f5-4650-688f-08d957de027f X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 06:55:28.6685 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rAO2e5JKAYLfSM5bn+m5LgqO5YpsRI5HWx4gcnp3cLKEjU6YBq9C1BP9XqMD+BwQ X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2735 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add a new entry for the maintenance of NXP S32G2 DT files. Signed-off-by: Chester Lin --- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 36aee8517ab0..3c6ba6cefd8f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2281,6 +2281,12 @@ F: arch/arm/boot/dts/nuvoton-wpcm450* F: arch/arm/mach-npcm/wpcm450.c F: drivers/*/*wpcm* +ARM/NXP S32G2 ARCHITECTURE +M: Chester Lin +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) +S: Maintained +F: arch/arm64/boot/dts/freescale/s32g2* + ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT L: openmoko-kernel@lists.openmoko.org (subscribers-only) S: Orphan