From patchwork Mon Jun 13 22:53:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 12880268 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 A87E2CCA47B for ; Mon, 13 Jun 2022 22:56:25 +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:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YHItbCvq46clUhniM+LNLh9EmMMrFIo4W+rG625Ks6A=; b=rEa64+mpjS9dHm W7UssOQgFh1D0OYsbTS3qKnsLfgoyY1vz268/QKeEaaJ+3OyA1F6hE+6eprRKBEHL4TKXQhOx2zJQ 1L0jGDx7VRYby4v8/pJqP6MZQmCR7Sy/H85lztEpVNTofAgxAlvsK5EgNBW11JNR9xUTv6hMW/+km GM66zTNYDSHRp9RA5b0F1+bgOQSwPXB6vlziFHllh5HNE0y6LmGPXdReUhQxcHHczxdKWYhvlJWcz ZwJqBB9hcMglhxktlyWzm//Ibp172FimaAXGrM/IrWZgRpmJykXZ+3AaKv5so7rikKa8XFYaXboHE 5uLyU3rieLfHTCHUe/cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0sxa-006Aam-S5; Mon, 13 Jun 2022 22:55:03 +0000 Received: from mail-am5eur02on072a.outbound.protection.outlook.com ([2a01:111:f400:fe07::72a] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0sxX-006AYQ-Og for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2022 22:55:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MN8pq3V3J8BG6SyTZ+1iwJXC0LpzsbxoEaRjT5aaylvcqU00l6uKq/MU2vhRG8/OCWfjVAfhfc6GfE+Q/I6XHJ1jlyvDApLz/kQJ7SYgoc9Q8KfV3jF8txDFM5xlaxeFe/QlTh0cq1cF/U3KaxSnrAzGHCjF0WmP5VAGC3FmfRSEzqFb1UlFFNzNFhXb4ciUg7fSSOk59I4gQDLg4UcE5+ThsstwcrlQTQ7G0mHhl1WD1Q+vEuLgzVYeejFcfEZwIZt9SZX2OUZfD1Aj2JlXY8AqmNssI7EFTzOEWvEnfbhtvDwUtdGpyDf994QMLkgtLPpF/WexHrdF3O91sY3/MQ== 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=r9KEn1uUEcU4d9QSZ3D3D9crTJX02RE5fOeoMhVvovA=; b=BCxLg9G7qnREVyFbHZwcJC8Z8qivFdpfUKR4wTrolN49LMaPhi2v+X8oBqqUqOkunLZuYUhYjPbLf2wXX5RUhnRYW9il0plFSqNzp0kmeTsPJNU3wJN9PTzgGau1kRF8Qxmb9x9wduyHkGNW7wusOGUTfVj7iqPODd0B+siAhraUyyqcYmlpSbo6LMuNOl3mQnP3dPR5Pqe4Xy1xmAsjypopxiL3b0EdmSVrr+bfLNwAtCJHloQ3MgmnrDUPDnuswdONSIV7Vy5yadS1gmYWuOEqlsrtT5YjqZ28RGknycLtBQIHJD7EbxmMVPtOw+VmWT0D102/z8eSP13EA2Qrxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r9KEn1uUEcU4d9QSZ3D3D9crTJX02RE5fOeoMhVvovA=; b=I8y0jSBkywUqnija36908+AbsrDqUb8KXjUsVRx8tPzOcXd3rkZKq85iCn8KfQUSgRnweigRI2MdovF8CdGgxBGfySOo6jmmatgQ6yP1uaeIYL1nbj/tIgX0+fZLXV/DsXUa/DMmfQEq6PfutVtcDCOZWCTwKI3AFRE7lz+HteA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=plvision.eu; Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) by DU0P190MB1801.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:349::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.20; Mon, 13 Jun 2022 22:54:50 +0000 Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::2c45:bc33:2584:959a]) by VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::2c45:bc33:2584:959a%7]) with mapi id 15.20.5332.017; Mon, 13 Jun 2022 22:54:50 +0000 From: Vadym Kochan To: Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Vadym Kochan , Chris Packham , Gregory CLEMENT , Konstantin Porotchkin , Robert Marko , Andrew Lunn , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v9 0/3] arm64: mvebu: Support for Marvell 98DX2530 (and variants) Date: Tue, 14 Jun 2022 01:53:21 +0300 Message-Id: <20220613225338.393-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: BE0P281CA0034.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:14::21) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a5c04945-d44d-4dd8-1c62-08da4d8fb873 X-MS-TrafficTypeDiagnostic: DU0P190MB1801:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3cUwS4Zh8WqoyFTiWb5qFWSEQ0oMXWlfZDvBDzvB5q34EBYVaqBn6VnEyz6Uh478ExGTjmkFEfGJbwdwlptl7chgi8T7l3irgvFonlRw7gdF210GL9ji6YQnl0F+wR0DEhlI5IAr+ozB6GVL7u/kT3Eee0w9aazrUx8qDgi6e8DbdKJvM5OzZ9k0qlIdqZ/Y3tKr9QWsxqgI7d0Q1McA3QuTkj3g4lUmlOeQp7Z/zs77L2q1JwURCPRV5nET9osYJBaulQxSMm+5rGf/1UuP70opfTxekd5Lr5hxqASkNlmdgSeSO6uLlp2xkae6Vx6J0tOlieBqxyjZ+Q4kuE1XvINBCP4rc4pcgJEtZy5FZIKpbRmURXWPYa3LDkCnSPh4cw3vxGM2wh1yqXGF8xklklx00LeLG6VNYBE4G4hwn+P3OQj3NhmcoI9yxZ7gMP3xl1B8uQQagrzJoyP/UZh+r3rDSimZt4sQMavsqZgE6Kpq+sHkjVChxK4/mfPIpFguHYbpUWLNmapctDozgv20O1nMQYI3j/x3aewN1hBB+RJlAyxPPxy5eNGnJLmf6F+y2htQBIpGiG+/uB2U9O8WrYgM/6NqtHPoSmxnUEPktuw9+g0hmGRWQxMys6vY+4ECE5R3GZfGjEPoFKxijBiIwSEKMgJGCKi9DObPJFrQugvTwvdbgEO3pAXq5XC8hJJUaU4pCVa+wAkguA2EAO0XLA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1P190MB0317.EURP190.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(346002)(39830400003)(396003)(366004)(316002)(7416002)(5660300002)(66476007)(19627235002)(8676002)(66946007)(66556008)(8936002)(44832011)(508600001)(86362001)(6486002)(38100700002)(6506007)(38350700002)(6666004)(26005)(6512007)(52116002)(2616005)(2906002)(110136005)(83380400001)(36756003)(41300700001)(1076003)(186003)(921005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3IiAPBH4Te4EhdyUZL0n5s9pnGBonysnj8uIMwqDsAo35NQ9lXTU4rWG79jJ98A6W+6MPmalEMgvbNUZFkwyKkeOuYRsHVNQpHaB6BtNK45MrWsF7fxn9qm6M4z6U77/EDq52oL6DKVeD8jCAFfPNhy084h3FOZeh4HZQDBHhRfzJpfQXRJV7F1vqWT6aOk1f8nvNfL44Eilnym4XwULcJh2LAjyXMudl7vbNtN5Es5D3Z2qhpvmAHLzcCk94FklT8VBNIkzXRtYBF6HVYTLNl9X0a/R/e0JWmg/32GPFplJyagemlEKQ84mkg9G+U5FFCGtjfYzmvzH2wOR0Rw0Pb48bKd+OknxNv27O4sHYCu6gePTnM8OAFh0jgaQFFnZQbzCmtuGtQlmtClZbJ1lwjlY9hIuake8gNOItsxlNSkU5ctkoaJ1nsP3KLVKnMy+n9qlwhQqJJa05IlO2GcomNTxaKizQfXKbtO7X7MouOv4LgwUnpJ/6SrSLGGExDX+hTHdULak4oo6j55E8CFWqaDIQ2Off5E88Kw2Ttnlfp811PlySV3RC1b71ZhKdQIeeUzx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LtGOWMxZEwZ+pCRnYumjKnv92q1K6L124pSRESsOUbLczA2ildA9VfuTPv2vnvllq0VZXddLfQSs4g5eVuPWUPuRlb6waKWbXhGIoj5EypevqyJ4Fcs= X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: a5c04945-d44d-4dd8-1c62-08da4d8fb873 X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2022 22:54:49.9060 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QinTFAzrqBShwTqjCgJ0HvvarrxDqUOhrKsfVSVuG0xbCHtS3MohnQdWpBJl+Txrn11aiIUDvJuNpdg/92BUdS5PpZHWUo681hPC2pB3KuI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0P190MB1801 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220613_155459_984175_85ACB19B X-CRM114-Status: GOOD ( 13.38 ) 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 This series adds support for the Marvell 98DX2530 SoC which is the Control and Management CPU integrated into the AlleyCat5/AlleyCat5X series of Marvell switches. The CPU core is an ARM Cortex-A55 with neon, simd and crypto extensions. This is fairly similar to the Armada-3700 SoC so most of the required peripherals are already supported. This series adds a devicetree and pinctrl driver for the SoC and the RD-AC5X-32G16HVG6HLG reference board. The pinctrl changes from v4 have been picked up and are in linux-next so I haven't included them in this round. That leaves just the dts files and a minor Kconfig update for arm64. Changes: v9 (proposed by Marvell): It was discussed with Chris that Marvell will add some changes: 1) Rename "armada-" prefix in dts(i) file names to ac5, because Armada has not much common with AC5 SoC. 2) Add clock fixes: a) rename core_clock to cnm_clock b) remove axi_clock c) change cnm_clock to 325MHZ d) use cnm_clock for the UART Chris Packham (3): dt-bindings: marvell: Document the AC5/AC5X compatibles arm64: dts: marvell: Add Armada 98DX2530 SoC and RD-AC5X board arm64: marvell: enable the 98DX2530 pinctrl driver .../bindings/arm/marvell/ac5-98dx25xx.yaml | 32 ++ arch/arm64/Kconfig.platforms | 2 + arch/arm64/boot/dts/marvell/Makefile | 1 + arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 291 ++++++++++++++++++ .../boot/dts/marvell/ac5-98dx35xx-rd.dts | 101 ++++++ arch/arm64/boot/dts/marvell/ac5-98dx35xx.dtsi | 13 + 6 files changed, 440 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/marvell/ac5-98dx25xx.yaml create mode 100644 arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi create mode 100644 arch/arm64/boot/dts/marvell/ac5-98dx35xx-rd.dts create mode 100644 arch/arm64/boot/dts/marvell/ac5-98dx35xx.dtsi