From patchwork Wed Sep 8 06:45:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 508212 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, 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 15FE0C433EF for ; Wed, 8 Sep 2021 06:46:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7BF061104 for ; Wed, 8 Sep 2021 06:46:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344915AbhIHGr2 (ORCPT ); Wed, 8 Sep 2021 02:47:28 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.111.102]:31498 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345785AbhIHGr1 (ORCPT ); Wed, 8 Sep 2021 02:47:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1631083579; 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=DyZV9JgejIZ6nlKeHARY+ZcZgqueiibMQQ3iBeKspd4=; b=PrVzPMm46lAM6q2MPm3ZiNJZODt/YpHNzcphqLLnHh+jC46x3DnNvRee1fPEsozp55gqEh 5JV8jKdcE0e0hcvBoUa0ozCZnAxo1liSNNACMrQjkDJ/QC4lTy/laIE9pwTdMGEZyJBmhb +Cy1JrVGfxx0mS/wJZechhiyeitHK1E= Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2053.outbound.protection.outlook.com [104.47.13.53]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-28-6Dh0eDEUNu2uxXX_MxNdxg-1; Wed, 08 Sep 2021 08:46:18 +0200 X-MC-Unique: 6Dh0eDEUNu2uxXX_MxNdxg-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HpxceKW3mhKfvcgvrsm/fSDJ8pFfpQFcQZKq5MaZpFhZTQpfpjy/fyaub1d7okAEnyxlLK9kyuLjWChLGjs5EsirdfgPDppGKNKDwT1bszCkJfEtl5bIea5hV/PtvaDdiZR9nlwN2eW91wkvhyQ5U7ZFMAA+NzUO/5KhCdVL0dSH0p/Cl2NxGyloURIDBDFhdoKNAb+xMkF33dFZ0jVZ/Ag6hKm+wr40xGJsRkSXVHsZb/Ed1D39ZGu6erCKLQ30CS64KEsrqYoZhFbzthiiv9g2ELiwMb7Ys5unJQDVahPPfkMZwWTzmTuAr5kpQ9EwRFhz8tt488bCC5yQGEzA0A== 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; bh=5IPhH0o/YMZZyYJEY8b6B6yfHpqxvcVUWCDTpkpdAho=; b=LpmliTiUvrETJP24XO6mx9x5enLkhz7c3Xz45DgT5CzbRt/JigWoJ6kIa01ucBRVjoZdVtdAjGSSqMs8HJDMKKwljQGujwAG3DTD7q4cp9h7sJv5Btkjjre4ab++LJ+gqICSGwDcDuzvCeUmjFtQ2x3MNhPxWd4UNtSN9W43mFmf06mbkHMR6maJ6pWXRG212JfyzOLvEYPIRBocv1/0iG9d0dcVgeJdhdDdRcWfnYhHqDS1igC7CPunzvVZ8HRNGQRrNyvZpMhKmURnjeIgpq+K52pOG7inLHvkkJLsS77YfQ7uSNAsLg2xVUojBTvsRYraKvtXngfDyVICakoIIw== 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 VI1PR04MB4000.eurprd04.prod.outlook.com (2603:10a6:803:4c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Wed, 8 Sep 2021 06:46:15 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde%7]) with mapi id 15.20.4500.015; Wed, 8 Sep 2021 06:46:15 +0000 From: Chester Lin To: Greg Kroah-Hartman , Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Krzysztof Kozlowski , Stoica Cosmin-Stefan , Larisa Grigore CC: s32@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Shawn Guo , Li Yang , catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, Radu Nicolae Pirea , ghennadi.procopciuc@nxp.com, Matthias Brugger , "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH v2 2/8] dt-bindings: serial: fsl-linflexuart: convert to json-schema format Date: Wed, 8 Sep 2021 14:45:22 +0800 Message-ID: <20210908064528.922-3-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210908064528.922-1-clin@suse.com> References: <20210908064528.922-1-clin@suse.com> X-ClientProxiedBy: AM0PR10CA0070.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:15::23) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (36.224.129.215) by AM0PR10CA0070.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:15::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 06:46:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4fee7328-fb3d-4b4d-27d3-08d972945ae2 X-MS-TrafficTypeDiagnostic: VI1PR04MB4000: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FRMFom3Sm9RUoxYrMcSjMBqiDWslKtTJob2Gys5il/ywxhM31kc9Z1sqpOADQSJ7iV2K5yoXYhWv/beS6CAKDAPJAN6xYXZR6syq7fET3artG2JN0MPWC/0rSISogtg3ju/u53Q+vEyibm/gu6KR8gof57qfsTkLV96QzFoGkWUuIXO26Kmeif3P/FZs+ExdVqy/l0kHhc3zXCItA82e4a6ufaAXOKZAvpA00HxbZpOcGHqPySOtFz0A4VkFTIOnFEJ19dyLVT9K8W/y36Ze2ygRCouRVf9j5Of1/nHDn3Qn5DD4A02yUafyaDdg2Yh1GUsDzO/bVpMBqSJrUvQum3p8/daKIWNjrHygITO2cqWiXs8i6vP3W8/P+XG1WlPWxZwDpRIcasQOcJHX9/7aU0kuZdzGcK9p/XQBcxCHe/XmGx5RZU3WsU6OP4F0DP9E3BXxX4QESstBv+AX4+BX3MbnsoItPQo/IzHBwZ70HynRjc68+5OvRjeSu3YOWO29cLDvgYtucAkXEIjqxeTafJ9G558aOSeUWqPN1kWHmvT1RQGMiqfDbRbIyOK7IQYUibIu7OoDPJTfcb8BtxYJJ9uPNW6xjt6hiG167XsJQJYEGGHAC9WTL+UV93UGhJAjUzVB5/j83w41ZwSP8vy85Ii9c3asEZaDzi+e44sFsKh2g4GwETxPzFmw6cRuVNk85njsZ6lAc4ziypesjB/2JLHPk3xSSNBExdvskFERkPA= 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)(366004)(136003)(376002)(346002)(39860400002)(66946007)(38100700002)(66556008)(66476007)(86362001)(7416002)(478600001)(2906002)(8936002)(83380400001)(2616005)(110136005)(186003)(5660300002)(6486002)(66574015)(54906003)(107886003)(8676002)(36756003)(1076003)(26005)(6496006)(966005)(956004)(316002)(4326008)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ruPoeT8rmZgANwlInw5czMV1aokX9W5GjTBNS066vfw0VgQV8T1Akq98z295YDKKoQcP54o2t57WkAjnM7v1RnUFJ8k7+wDcBCFJeAfA6uyUGuL6vJfjTVkJRpzzMZMgPXq0/CiUFDxxAKpccyNlQNBWlRJLVeu7KxGyVzTX29IcvJfwBX9Dr40cmc9jFUl0KOT4v5kAofvzwAyL4ouMW2rlfCHFX04GqIcvgLtHrdHdK+DMSQhSqWHxrDE+KgNPz4BSh4YRuJ1j0B0HStX6mGVAHjDynIwT4cLvPScm73m/B0pyi+NybnCAAA8AABDsa1yd4ELLhmagCwQvj5CtG9f01klChY0xewORmYAWBN6mijyScxqFuom34vqTfRNUG7et0ZgGPcXQ75G7+zWQsZxsNGBDpVwTqlintGxscCUAjw1SOjYw81/xPa824oRfbYsjYJ4ZaYnfYHU206ZifnxpwD0lZ6MpujyXl7XX5w2yHMZBiBlSdzjl/Y8/lO1uNzIU90sPZtYVC54Q/85/Ku4SlxSFssTc0cKx6K/BiCNB9oBiONiCp6QAsfYVosixJdkmGEJrDTwlNG/ZUm5JxCO/30gipDLzdnZG3utCRzvuwljNM33DB+zKZQS+wYr/mQMibIWtRQIO2/yb1gx2uTZt30shTkRBvbdoK4Gydb9RFSmgeWjBhApDZmd7mx03RihoHnyw1Fc+1PmoQHum+YEdrTGPImREskq2FoXQ5V52uuVDMzdilURyYxrWffiQ1pZT94ikBz61cPiEym5D3oj2fnme7+NDz8mKjGx5I4mgQqvOtg5tIBQXyIeRrfFcFNoz5ZtrZDAMsk3syssWe6P78YtlAOCD4RpXEIf10v4MipVpIIDQ379w9U+Lr7qkN5VjZ6xAX1uC7g3KlKqiJi4h2xjGXEjW9KTolNu8iZQHnsEr91VFTm1Sb3sC4tihXKv4ywhl7W1ckshcb0eayzdwqAB1QMnsRqR85IJVF40156P9HlbvZEjq1e35ioKgL1GFC6vvSUyX0Zu46t/IU0wnWvLkMHLaeyXa6WDmwJ0/+stW1iV2yLGd9sNF7AinIUBiLoEHbuRYRUBLm3MXvTONF5oQImn+zEN4/3Fv/4V3FAqN1TlksGb5QqGNg46/YfOrMrcEtmcDlD9iFgAmDCtRog/5uAKv4tzH8HrfQH2nkt1UfgtDwy9jtD0H7H1U6Twi52QBpgk/apiyTZ6ouPU3m/nvy9bgrO+qanpmmthD68z2zr+jJqADKa2X/8/MY6143kHybY4yoMdMeBafMGPaCVy+PAs8CCWi4Yi7vkpKFhR8HaXcFhVSz5/qZ12U X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fee7328-fb3d-4b4d-27d3-08d972945ae2 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2021 06:46:15.9260 (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: i2nnrJZOfEFb3F2jbFEDEN6k78vA3XYm9cP8LiqSSISHybEaDc5BsABSK/bMc9sS X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4000 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 Reviewed-by: Rob Herring --- Changes in v2: - Drop the specific description "S32V234 SoC". - Fill my name in the maintainer field. I tried to contact the authors of fsl,s32-linflexuart.txt but got no response. .../bindings/serial/fsl,s32-linflexuart.txt | 22 --------- .../bindings/serial/fsl,s32-linflexuart.yaml | 46 +++++++++++++++++++ 2 files changed, 46 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..b6fc123e8375 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml @@ -0,0 +1,46 @@ +# 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: + - Chester Lin + +allOf: + - $ref: "serial.yaml" + +properties: + compatible: + description: The LINFlexD controller 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 Wed Sep 8 06:45:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 508211 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, 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 89713C433EF for ; Wed, 8 Sep 2021 06:46:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 693E86113D for ; Wed, 8 Sep 2021 06:46:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347778AbhIHGru (ORCPT ); Wed, 8 Sep 2021 02:47:50 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.111.102]:45868 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347796AbhIHGrm (ORCPT ); Wed, 8 Sep 2021 02:47:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1631083594; 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=Et1PFLk1ygM1w1yfk1DJAMxYD/S80JXu5lvYsknP2O0=; b=YZkNdfHbdHVY0S2BTooAbZP8eb/S4C0x8N4cN19v+qS35wtH/yxaB+Wgf5dRcbAf1PxHmi mHFsGJ37cluBdIh2OhFxdUTAfBe1xST0UiDwhXOX8Jk+a9iXI7sdDoUzfaqbsxfeZ35t6P u7g1UAlsJnKyz6JAAZZnLKnR3+DhJ+U= Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2050.outbound.protection.outlook.com [104.47.13.50]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-22-RZ2pbzjdPue51_m4ijRaXg-1; Wed, 08 Sep 2021 08:46:32 +0200 X-MC-Unique: RZ2pbzjdPue51_m4ijRaXg-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WzpAK5pFBrL/Mf9tc9hOgaBrdfCYNeEGWe6aq5ZywicFSozUtBqnkD/wnxfcVft/L6DHmtmVOuq8SRUPkmibw+KajyQ8QMPq3mfuqSnmW0r76q2IPaREQLwoHduan/GsSQMpr6pzy70TwreXJFgCM0WefDrVF+j4gSjggPm0KITeheSzGUbL/ixaN7XceGeBjN2NiMAjGJ+4yx2qQN13w0yOSY8Rps3hkl8WnyHw85+MjxPyTa0Yw9JBoL7yJ5h3HUHh+8LnSItUBhuRRt/1PmDbqv6QIRW17NId6a62a5vaKt+KpQpMFvwMeN6DqTiOWJXmUEOgjINZ1o3m3jBx1A== 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; bh=GUv7SDqwPC2UZLgKIyZN0i2FUybPDuc+evVX58iWOnQ=; b=W7ZUb/OXmx+298FQA7xs8VrYKHnoij/hZneuS3duLDw+FiuKTEEqRK6kWbH/WcUIQlEZuuAABUU/9Pki23sBR5DNyujw2iQWQ0WnlSP9VUyFywhbgylkgOKt+yuPPLq76aCOyg+ItzJYOX+NdFb6uGr0aUJl8fEGvJ3KybEqUGaRyV0mPqw7oggvKf1aSpdk0k3fdX0a9erRFyFvsigjUCx/8sGxesSJQ7RYi7Wdhf5YHfcwCy0TOzytfpIsNA2DXFzBs4SuQfgM7xwLNhVRSxnfsYAUKspHeAVFocE9dZif4zyGcEeOUAdqGhY/ImBtb1MuIx1ScIlBuUs+NeildA== 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 VI1PR04MB4000.eurprd04.prod.outlook.com (2603:10a6:803:4c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Wed, 8 Sep 2021 06:46:30 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde%7]) with mapi id 15.20.4500.015; Wed, 8 Sep 2021 06:46:30 +0000 From: Chester Lin To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Marc Zyngier , Matthias Brugger CC: s32@nxp.com, 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 , Li Yang , Krzysztof Kozlowski , catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, Radu Nicolae Pirea , ghennadi.procopciuc@nxp.com, "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH v2 4/8] arm64: dts: add NXP S32G2 support Date: Wed, 8 Sep 2021 14:45:24 +0800 Message-ID: <20210908064528.922-5-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210908064528.922-1-clin@suse.com> References: <20210908064528.922-1-clin@suse.com> X-ClientProxiedBy: PR0P264CA0107.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::23) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (36.224.129.215) by PR0P264CA0107.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 06:46:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 25b56223-75a8-46ff-2ab5-08d972946311 X-MS-TrafficTypeDiagnostic: VI1PR04MB4000: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a/vgs5kr8u7EFKFOdvneHcNk/JOGTMAbIdw6/e8evqlFnRTF4jUaBGV3xe9CMmuxaQFWU00b4xlugqpRZ9daDw4Ao8yriMlhkF1aBpiGrLrB0ydSKz0SgwaIcCIvT706nafRyPs1F2jlXwjWu6UXtPIHj3hfWgUeOYL7oxmdnVl+pUlQMMWVXC5xajTf6GzEAKG85PvPRU0Lu9VD+ocKF5pA+XK1lgRdXI8Yq5me4l4/fP8ijSsqh10m/xNma0+hz8tqDWrqxgUfpkg8RJLkJ9HWUEb8Ct1iFgNkF+kbPnW0ZGyA7ieQw+DU9LA56Yj1/7i1ZsMUiSqxDjGTwfOtxrKK8u+uaboCRXqNhk9k2aFTwuJI1eywGlRglYQMu9O6WwJuD7hBKsXVIZA71cFVug3NBbiqffalfaVfIQAWK5NHK4QNTB2vZQllMhis6zTCk0L/ernQbxGCHWOmJjo+UGFGPfNWfcMGw7rqfPd3HmEdXV+zb/MbqEajsr/LsBiP/+vZ/elFNyr8B6cOUNpu7zc4Yd6t+Xm8c4A3SSIpB/ZwZS0EiN8/4mFgNPjOsM31ZwPXsqxQG7X+FYP1+X6M8K1bELUFpcVCmsuTmGeYl7cZ/jzN0Yz4de7wWtNWvKWlHnGq92VokLT6mtGAU9Q67w== 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)(366004)(136003)(376002)(346002)(39860400002)(66946007)(38100700002)(66556008)(66476007)(86362001)(7416002)(478600001)(6636002)(2906002)(8936002)(2616005)(110136005)(186003)(5660300002)(6486002)(54906003)(107886003)(8676002)(36756003)(1076003)(26005)(6496006)(956004)(316002)(4326008)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IbbMbfcwZGQf3CaQi5lsvu9a/jxZiUByuyFTluM2AApaM4hvI5ZUCMu0tXR+yJtnWiaAiXG+qsekEBgPGYPEWF6IVqsarZmnIE8pg0GoaNQop4OWU/PPL3jmhPi4NfD9CKt1Muk97Zs8YGqgBZqo+iLeE2ignBJXwX1N1kqYv0dy1W5Z9TNdJvKICcfENb0dPAOHVgN+U6UZGu+ogz+SWnNnQrxs9Lf0+9Lisj0hmpE+sQEMF0vpJ955HnDM6Jw0A2tWHbArqki3oENk79brHNmZORshEVdL+XPK88/pm5WU4Talav81yykxu2lXWGDjDyu6lCT0O82gINNx9+MLNnnnpIrc0IFLlojxb6Vl3DeZQoCzlMAkSFgiKRecEdB/ngMRNYTgekBzKtvVvaMpgdsLRI6u2xFRLTfcgDrBhneN+1DEN6GJ030EhNUgV+IDxJgUzj5ZwWz+yIluQ1rc9yQ0mxamXHuV69rchX7vCYH1uAPCqv5vBFBITbm/13r9DcotnUYrcpBtDO99gfInZfQjP8yltNsPaHXporC8/JGaBIIFdcWDGglD5Er62NXzaBKwzLLQyo5Ymgkv/uR40beujWP6eOJxiKUviYPwjDzMnNtlzT0eHjtTIq+4K26Uz7FxhcElPZ37sof5Ml6Z5SDpav4u3x9fOglopRDwvLY6YOM9XmMA5vYzspcoRmQBYPSEnOft1e0hbvv1n/r8lGYJzHuipPyuNcApFwTQVDXBvQgz0WJxeYGLrVDcGHwf2/I6fEUnsh3pQuov28SWsSeTNOd1PS/NGiSW1KlVaNb2ULvO5o/fhQnrckLPp5KwKVmJ35Dgln/jJaz1p+qzzD0pI3LBWz/bTRaFcatvw1Kt8LtFYJkWs7SKxdAkecFv6zUgamAb6oEvk0F/jmvu5GZdu6a4wsC0u8nPiFVjKpIiSG7AeVj8EX00TfzXc+FG6sIZy+P9rV4lvVxpXrzhAPLjw+jZ1M50zsbuoFIBHHKhd2kARNR6cuigU0pBYze8DhzmRRjyRZnzaBTba86zAqADyXkavAbk5QpZNh4mVRw+mHg4kRGN+0vfYFvpH/BygejiXWODcFl98OdzC46Pgt/0wGKB+hsO98Z8qJ2R/XkLm4Pg7caynU8yGgASX1w6+na5yL3aJMz/vOapeTv3GL+UCOOvwTK9RICwjynBFEtDIWXEho8sb/HykVZ6CuLkg+f/snY8fFaCUYQknhn3eMV8UBtUX7esfOWUoANQ55DIcJRTfU3Wnodjj4R6mn8kFpSmmapoA+5xN60etGrqot6roM6DdA9JFJkE8i8yr3YU8enJ5FwtrmtEx53uIzlW X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25b56223-75a8-46ff-2ab5-08d972946311 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2021 06:46:30.5333 (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: SvU9SEgeHIijcz9t65SBp4yTHi6Vh87gWYuUneA8IIr2sdf0yDfNJ4RWo4CRUOTD X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4000 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 --- Changes in v2: - Add a SoC description. - Add an interrupt-affinity to the pmu node. - Move the psci node into the "/firmware" node. - Remove the redundant properties and white lines. - Remove the wrong interrupt specifier from the gic node. - Specify the range and cell-size of /soc [0 - 4 GiB]. - Correct the reserved size of GICR to 512KiB [0x80000]. arch/arm64/boot/dts/freescale/s32g2.dtsi | 99 ++++++++++++++++++++++++ 1 file changed, 99 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..53b18671deec --- /dev/null +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi @@ -0,0 +1,99 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * NXP S32G2 SoC family + * + * Copyright (c) 2021 SUSE LLC + */ + +#include + +/ { + compatible = "nxp,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 = , + , + , + ; + }; + + firmware { + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0 0x80000000>; + + gic: interrupt-controller@50800000 { + compatible = "arm,gic-v3"; + reg = <0x50800000 0x10000>, + <0x50880000 0x80000>, + <0x50400000 0x2000>, + <0x50410000 0x2000>, + <0x50420000 0x2000>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <3>; + }; + }; +}; From patchwork Wed Sep 8 06:45:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 508210 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, 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 2BA0AC433EF for ; Wed, 8 Sep 2021 06:47:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 11F1B6113D for ; Wed, 8 Sep 2021 06:47:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347851AbhIHGsF (ORCPT ); Wed, 8 Sep 2021 02:48:05 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.109.102]:21857 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347809AbhIHGr4 (ORCPT ); Wed, 8 Sep 2021 02:47:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1631083607; 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=HgrqHMqckbWbg7tiY0mJzIhEH7EBvTLAsM3K9OF0ZY8=; b=fSx0Fn4+HqkpngMOL/bdIaX1wH/Xn42xGLiDpf1Bjyn4UD5gIYQAYccrNypnsOIbWEMf1a 7N8fIUp7wo6lvfkjEq+/JruYTo/But9Q4FPVwdZ6D/KDxPpllY/op9i2VdV1oxAsWxSSvb j6BqJ/BuwOR4adXaHOUe85LK7X2dnsg= Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2059.outbound.protection.outlook.com [104.47.13.59]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-29-QJ5Wefg3P4KHC09aS3JBvQ-1; Wed, 08 Sep 2021 08:46:46 +0200 X-MC-Unique: QJ5Wefg3P4KHC09aS3JBvQ-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WO/aqVCZtFxqD4iN+Nlz3YnubvHR6kH4c3wUMnVOXsnfHlsq0d4yQYiVm2VIWc+TXJb1cNSugMfQ06y5GXjYdA8q60s8pjJUhuiGQDnuSsoFcT4DUpdEOmbbMQyLttQNJD2Jc01rmGI9lnkDuhKqgbwph3YMHjzlrV9cR2X9DHXBX3fHTmuw3NkrGf9gjvNsR5gXCuWod6vlSqhLqovX/ELWB5JoNidn7cTMsEtZZRAD2LYjLHP+6YuJJkgY6o7mBD+8+gPeP8kpsNzj1UtOnpqYAWIuso9CTj2lkuPxHv4N61reprgHjQfEUdMvwvRA1Lmp8F/AtYnoccoFjR2uaQ== 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; bh=esWZKb43zqjLWpMKpC+/12Yv4FlaOr4yTvPrVtM21w4=; b=cazNeeX6Dq3TRxdKNhQTazGsVtDfKdgLQRnHPtY1FRuu9Qg7N2bfIrv9a8GlSnre6ePXvSKyE/zueYnCQ0AiRvHgjVTz1gxBnAsjqqw8GcI4FW1UnqVrlp4P45sVo/OCdagt5z/ZnZ5OC3D9TVO1qUJrl/8BGVzdIFpooTf8Fb6EN8BneQvHfjO/U92YdANc9vwry7LGQ2Neo8TQE2wXiH7X/o/ECwCuJykGj/F0/dviN3IE6rC/gYOFz4Dd3bU90DCnDBS0SeuLirZnKLnW+f0y9JFKdKuGJal+X/1uikuwUI4+RVK298jqKxffT4oj7zeL7xjkxWfCw2jUjP17Ig== 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 VI1PR04MB4000.eurprd04.prod.outlook.com (2603:10a6:803:4c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Wed, 8 Sep 2021 06:46:44 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde%7]) with mapi id 15.20.4500.015; Wed, 8 Sep 2021 06:46:44 +0000 From: Chester Lin To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Matthias Brugger CC: s32@nxp.com, 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 , Li Yang , Krzysztof Kozlowski , catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, Radu Nicolae Pirea , ghennadi.procopciuc@nxp.com, "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH v2 6/8] arm64: dts: s32g2: add VNP-EVB and VNP-RDB2 support Date: Wed, 8 Sep 2021 14:45:26 +0800 Message-ID: <20210908064528.922-7-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210908064528.922-1-clin@suse.com> References: <20210908064528.922-1-clin@suse.com> X-ClientProxiedBy: PR3P195CA0001.EURP195.PROD.OUTLOOK.COM (2603:10a6:102:b6::6) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (36.224.129.215) by PR3P195CA0001.EURP195.PROD.OUTLOOK.COM (2603:10a6:102:b6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 06:46:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 171f2613-388e-4139-8fc3-08d972946bcb X-MS-TrafficTypeDiagnostic: VI1PR04MB4000: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lc4EzPvhWv1l7OPNuyMEAgfpyHtSzZlFQGvdRhxA5Krcr/PO1f/vQsXrYjLBzr/zAsk5e6Qu0suKU82fGuJVrJUSdSleyPDfZr3EkEpS/gzx1TzMTn0bvGTI0AacwfMGuXrBa8B7hV+yp6RSnILRxPZ7Y6WT7bi0crBDoB3YK+iTjhrxek+WKTdH812t5mL7eXcqOz4VH1Jayo6Msm/bY4USGxRtGcMsxlm+8Okf7BB46+MxQB4Eht5a5bv0P5BWRYXJ/A0pwhlEYJUmG7WxebzowYLkX96jrAlR7gflHtGlzt1XwfzlON3M3zxE4/Z6X8TXt8V/8z/qgOkjk+cS6iBFzd8sT0kxXDz9opU/2PP64XIThhDzPv8jBMAdjvP7EmbI1XPNO0nFBn8w2uWlVgNlBf53sJogwb9+3sftU/fnLyCQoPn2jDtbEaJRM+DBBiFcaYgIa9TOEJ2XwEM3Ma3Bp5Zu4fwZ7ehGlWrJrb8UHJ/iDcL6gH34to8MufC1HSih7Y8qOzdgI6aDueJO7nJn0ELX1WCqbuJAyrffQw2JIfD/jcpaXeXRL6k1asD139nTG2ZM6Qgsf6Cy9+ZwQk/4Sekh7dLq3Iw40M0kg336Jahzg+/8d5okIhDtMNQtRagMwx+mgFPGIuB5fpYNsA== 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)(366004)(136003)(376002)(346002)(39860400002)(66946007)(38100700002)(66556008)(66476007)(86362001)(7416002)(478600001)(6636002)(2906002)(8936002)(2616005)(110136005)(186003)(5660300002)(6486002)(54906003)(107886003)(8676002)(36756003)(1076003)(26005)(6496006)(956004)(316002)(4326008)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Xfnb9ZE/Y7Ol8E1ott4GxqwC9/6UYajzdt3CvDDfsCY7zRIkDO3AuU+dBWGxKeLraUV2BF/l5j4mmYMHJB2k2ccnVCBpCgjItYVpNGXp2/QMTAeEIOTqE3DcnrfT6N+xHLafgYZKhEfZ/BtEBpy5c7RBJcRFueKWHrmMgma6RuF2s4pImmwXjXTylZ5Hg3c20Gj6ZQE5wCVFsnRoktU7r1iveBcMoOD0vsdnQpUo1A4OR7xoAmxnOid6mvbWAEK/sgxHBErdYJFZ/ZVKVpNmRLgIdQDxDq7dHjugu63GTq1A63iD24zElf582giX0Urutc8W/v+8bcssFXhwnBSQ3JUalWRj6zxdq/HFu9mrGVynI3ZyeNPcFMXw24Tw+8T4dxBiwApMhzpIo4jBrIGnqrhBJkSoo67muhM7K/mPw2GNpu4n6vQj/1ZBGKqdGQ/T1ppWmPL+GLA1xQlMiAUHyPTB6LVFEyijS0JCJefFVxrAU+UMTX4c+QzVWW6IBALGwdDP8Rk0z/OxUj5UPhbrii8EwPZ5rSJu3bjxcRM69O4rz0pgVWVRCpt4ODyrcm3TVb5DZbAmTblEg+ywjU0T6SO4iN/9Dj5jX6UZFEx345RN7MUlXsXvfrywXS8DkUoXcECuNPIMaNNYfSlDGHtdl3NzYFgnI6ct0ipmQOX0FY/BXiP5bFGHiLRLUvTztvECJZHd/U4c7kPH4+SFIfFaXmfmF+X4nHhJT2QaPxsiC5xBURaAXwwuuEsKrZAIGna/nRqhGbEu5JunC9xmdIwgjS1TXKtcfYbRkWRj7hLKAF4M7fBNdhnbH1fwtPWFAmd0510PZPwYAsKK9tgor3WokwMK634GugJVC701GHO7ZrJ5nni56zCtqMClnZNn22Gc4a6YMx+dV94f5/JGg9IKh6fzYJhzI/CmYLEyZ1quHBbHEZlBl7ePVfwuKWTs3ODQbPsdWdzz+ep1d0i9ZLNlNIbHxfKymZsb77NqTIpaERqdDYYj2dSpL4JXOz1W7dGOKagOrCth+m2gVbiqPVNW/kfVPgXRoJGoobMQjLRs7cr7wOEsaN9gN6+YpuztsdB3Ea41qjGBKH8Ed5fgf9PYcgsQ5oip1xMBKtb3TjbT4wb3rFZ+3BJ4npAe/UxN2sk5JIazqjF9s/tU8i0HXNdIxSgjqwbEh/rkeQ+afjLv2JW0f8GA88fAIfCNpoS2p4LCbDz6N4s5upCPK1NJHHlEeV/BTE4ccDtc1o5WZ0TB49HHNnQ6k2qi25Qd/XW7Rdl+NHX3/BycSVQGLsKMq0aNaEFhId7d/QV4abiKxXDnr9GCXsPnV9kKfuK/KLPEgE66 X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 171f2613-388e-4139-8fc3-08d972946bcb X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2021 06:46:44.2242 (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: GGzaReDwl3mXcUwqIwxu2+J8lqH9qhi38kXjn5lbR9kiM66UOL9WCTdEoIBNg1bd X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4000 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 --- Changes in v2: - Correct the model string. - Rename the compatible vendor string to "nxp,". - Move the serial/uart aliases from the SoC .dtsi to board .dts files. - Add comments for the uart markings on PCB. arch/arm64/boot/dts/freescale/Makefile | 2 ++ .../arm64/boot/dts/freescale/s32g274a-evb.dts | 26 +++++++++++++++ .../boot/dts/freescale/s32g274a-rdb2.dts | 32 +++++++++++++++++++ 3 files changed, 60 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 db9e36ebe932..0d4a18bd83e6 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -70,4 +70,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..3aec05de0842 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts @@ -0,0 +1,26 @@ +// 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 = "nxp,s32g274a-evb", "nxp,s32g2"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +/* UART (J58) to Micro USB port */ +&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..ed3f23babdca --- /dev/null +++ b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts @@ -0,0 +1,32 @@ +// 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 Board 2 (S32G-VNP-RDB2)"; + compatible = "nxp,s32g274a-rdb2", "nxp,s32g2"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +/* UART (J2) to Micro USB port */ +&uart0 { + status = "okay"; +}; + +/* UART (J1) to Micro USB port */ +&uart1 { + status = "okay"; +}; From patchwork Wed Sep 8 06:45:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 508209 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, 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 0BC6DC433F5 for ; Wed, 8 Sep 2021 06:47:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E991A61104 for ; Wed, 8 Sep 2021 06:47:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347806AbhIHGsT (ORCPT ); Wed, 8 Sep 2021 02:48:19 -0400 Received: from de-smtp-delivery-102.mimecast.com ([194.104.111.102]:26342 "EHLO de-smtp-delivery-102.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347856AbhIHGsI (ORCPT ); Wed, 8 Sep 2021 02:48:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1631083620; 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=R/aOwxCMYQNg63vlZmxMu2+gBNhNNIXKtR5si6qqBFs=; b=kkzgCDWArk6anSzDPjVBpMbM7szchNKhUDWE2ZLIfQBYrKNnQMDnzGWF+3SnrgVir1c2ym wHDLlyzMsl0VzHERXQLXnu7uNNn5dAbxNmj/BNs4n54rd0SVa/KGoGCKqSoyykeQWhUCTC DSXdFBSfi43mbFsUAqagCz4BrjYDJDc= Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2169.outbound.protection.outlook.com [104.47.17.169]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-24-B4XMnQ5mN5acqB5QYIj0WQ-1; Wed, 08 Sep 2021 08:46:59 +0200 X-MC-Unique: B4XMnQ5mN5acqB5QYIj0WQ-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G9640QTlY/QdgTU4dwznvoZwd0Nceb2Hi4oKV10kmpgITChTOK3wtddEvZhXJeP6PzgYwLIMz2awlEE/IDuuZqrlyMzq4hEClhnCjl7D2xhCcUKuqTfMCqO9MPa3Xjard3jX9wMxw7mXsyAOYXXqb+0OZY3PuyotSwFrSSQ1bJWdZp/NnGgaBo7xNHDwso1s1Ep4iOVRas8DN7zA3vK0/HSUgf2q4xbNVYidK63IXJ7+NSOPD8exSd11GNoOP0HlPYL1v3MiVJld19S/xAQ5DJMJcrzXbfcCSl4MUGPLGKukt0jXQScu54uB5e5hq2640nX8EUJhjB3E0IxlrrtBjQ== 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; bh=9r9uHD+hcfh6e0xf8niimemSUB7qkRcxP/TWmksYsxI=; b=HvpB9ei61ENmrYFnEgxa6Ckoi3pvXu2BUeR2cgD3ac+a3a8rHkLHqIJpfDjK8CskJJANefT7dP4c7pFRk1nc2GDeFzm7SedfLB/4Z2g3ujWBdsTonBpB8JbKFVK+8cPhZofhWlrFg8V9GLWImLHRngghwsjEEiLxOsaBSsutVMbjM5AJBBYkwfGzkPOE5LPO6euhUecf7ST5yZnGqbNh6QPhuQsZQCGFfbpWWFTIJqwMajhLdjgKp5lrJ1gm/rRC69DTfa15V15ZYKd/rcK5tkkevl2Mb+AGp1QlnXzBu7kRt4Tq9ULo+2dCNUBEUgquZJvvypo45cJ7rrWYL+KtgQ== 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 VI1PR04MB4477.eurprd04.prod.outlook.com (2603:10a6:803:6e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.22; Wed, 8 Sep 2021 06:46:58 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::88cc:32fc:2cae:3fde%7]) with mapi id 15.20.4500.015; Wed, 8 Sep 2021 06:46:58 +0000 From: Chester Lin To: Rob Herring , devicetree@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Matthias Brugger , Krzysztof Kozlowski CC: s32@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Greg Kroah-Hartman , Shawn Guo , Li Yang , catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, Radu Nicolae Pirea , ghennadi.procopciuc@nxp.com, "Ivan T . Ivanov" , "Lee, Chun-Yi" , Chester Lin Subject: [PATCH v2 8/8] MAINTAINERS: add an entry for NXP S32G boards Date: Wed, 8 Sep 2021 14:45:28 +0800 Message-ID: <20210908064528.922-9-clin@suse.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210908064528.922-1-clin@suse.com> References: <20210908064528.922-1-clin@suse.com> X-ClientProxiedBy: PR3P195CA0023.EURP195.PROD.OUTLOOK.COM (2603:10a6:102:b6::28) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (36.224.129.215) by PR3P195CA0023.EURP195.PROD.OUTLOOK.COM (2603:10a6:102:b6::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 06:46:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 295740ec-edd5-4ebd-20b9-08d972947413 X-MS-TrafficTypeDiagnostic: VI1PR04MB4477: 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: cfVxm4rvmuodDgSR+uz1jwySG2C3r3DE+l+tupTqLRqU0U8/aJyIAV1AI4djY6UJdqUWvrSp/0OJffAjrpQ9nqxU4AfxGmo7MA9f30E7kA3PYB6Ud8xhSnGo+XKv5dIXkt2Ut7mecsJSUI3ftz9M2RtnUUdZTiPHrf/tfMXl/nA3B5d3xK9Tfs9B0w65n4mzvA3TyDvSLwu1q3NZz17IkDoaik0BKZMY3cAf2+1LUU1cZOR15aoAq5oHfnyc8GkUpVzDXaAQ94wg4i/4a2aYDQ7RpxxWqh6ZEQkd4BYjXcqWfWDnjaoM1wqLDCqj5876cfwtxSCYAQ4/p59y27IBadZLpX3UI81v6LSCKWvyK/nm99wk5oZjT5XrYlsM2ZUDLBZ+OMso5Fp+i8Yy3LdqLDa73Vh/hjxLixRRAPmqRkPHIRQmDgn3oy+PdnQLfV8Qnp8JVGpixn16ThGHz6+eVc7UJWpGHvdUx2fCJ/w7ITLOjjnt4nBaGlqlRJYbrEPqPsAZcGsWZ35WU5AAuaCXHi4xNoMpkaHiE3uDOouhAHFOvXqEuXnjXi4XplMDB3Br+ubXP/3JKUYUXyA+pS5+dgsbLxB06S7oTUA4EodHIXkDGXsz5vHIfM1jSzfFlfc/Yyp3bhkCeqI7mvYsbnI3GA== 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)(6496006)(6666004)(1076003)(316002)(956004)(4326008)(186003)(54906003)(36756003)(110136005)(5660300002)(66556008)(66946007)(6486002)(38100700002)(4744005)(2906002)(7416002)(8676002)(107886003)(66574015)(86362001)(8936002)(66476007)(2616005)(508600001)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MD/MoYlcugtZvR9NqRaZIQJ9Q0d+6lHalDYLu9LF04PZSSopHE1e4r8WY88PPn5uNigYAc31aQG6NiriqD050/2tg1wmU1eIbAb6qUJObKEAQXqmroG+Q9/xQG5IJouzZorUbjIWm2Yri+YzPff3RHwpJyXBhs6iYE3wdONkKYWDUP9Yi7/7CxbfmK3nC1kDpSqS3Vdt/iGUFGdqOwPcYG2Sw8zzXxzaRGGGsB8CPIXkFxTbAQiTWLIgY3Vo3OeS2TyVtB38Sb5V6oTWCl6RDgXiFx/lQA0+/P1AaF1vvqy4ADXeIjFdYoZDzZjYs/1pWXBzbnKKchLw2q/SgTw4KzvWfoV8kIKQKSxeg590ec9pbK+W/iVGj4wf7byhAAU3cq4VhpOSHloiCgWMQcf3j4CIf8KK23TqFb6LsbvY4EPP4b+BakuzVm9ANCY57PaeqOY3uWCyleoDo3M7r+rBQpHVwSLSpmUmE/zi4bkqECmyUq1GdMfsH8c/3rQrw8qA+ottGSEc+7UclpsSpYuswjwQX3SrVzeW23oOfPz56YCqASlQ3Jnnjh242Ehsawc4OGUFZdOeR2wewJgeoN4VmTtqkf26GR9psoCzbpN2RA5wJMozAFW4hryCQvUEcQVV/TqV4EpYu52fJcpmnIJPUSZU50ccd5ObKILkeXWD/w5sQaYronJ1DnOdksTk3AQWrwedZkE9cIhdQtXOisHyxELlabNXIa/rmuodV6vcBM3BUL5Pm/Fg9JZO0Gd8K8qZrb6+GdklhPw/P4wUTzByojJUZr5qqT6TQxssKkrjgU4zzfk/b6N5Ds3W7zlH9s3zjuzeFyr822H+DRTQsaJ0oWH2cuY4e9JCKwrb4vchWdEUkRzXJ2xeKP4mUtjkKHbnJ6N7jXt0AwNIRVgeU3inXRk0i6a/0heVGW/qxTA/vW89eYNJGSY4mJ1Vr1PBe3QxTUxDl+x8XDuWSnIbc1+6CKdlkZC0H1SJAO7UV1+PVz96phqCAVuqN7TC8CDArFZA0gkxTrGnGWYzJQnThhzKCdNDx400UFTsJi5bQNtdF34pmq+BPdIeAIn77mdZ2B0cH/mX4qj0N/WF9qIXAMyu2GLuEdUr5kTpISIe2hVJDCgbdsXMtUDg1zZJlRCWLUanYo6FiQnhfH0PRCcM9/mBEELhnjoA2Tnscs+euRGbf8TQB8dGL3Q68arKKISyK8eTEczZON86D0BdqkhSee8zWXvqTv3thci2QZ8sPywxEf8dOAv1w2qiEKwkBUuso/GTj4xq3JV1QcO/0efQJuvSq/6k4o6FqDEHpTRKORfxuZOAKWZTA1Ra3m+hHMS9mQOL X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 295740ec-edd5-4ebd-20b9-08d972947413 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2021 06:46:58.0840 (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: omdGROYYJjy9yS/oUZLfzuMx3HuwzqJfh1xWe3BA8EX7P1sqRaWdcytEkJpQin1F X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4477 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add a new entry for the maintenance of NXP S32G DT files. Signed-off-by: Chester Lin --- Changes in v2: - Add information of reviewers. MAINTAINERS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5a61cb2d0cd4..6f2a3f8ae88e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2308,6 +2308,14 @@ F: arch/arm/boot/dts/nuvoton-wpcm450* F: arch/arm/mach-npcm/wpcm450.c F: drivers/*/*wpcm* +ARM/NXP S32G ARCHITECTURE +M: Chester Lin +R: Andreas Färber +R: Matthias Brugger +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) +S: Maintained +F: arch/arm64/boot/dts/freescale/s32g*.dts* + ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT L: openmoko-kernel@lists.openmoko.org (subscribers-only) S: Orphan