From patchwork Mon Mar 24 06:24:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 14026800 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90577191F60 for ; Mon, 24 Mar 2025 06:24:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=10.30.226.201 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742797469; cv=fail; b=iq4Ua/Gd8zW7zeUqRm/Se2J+4x/NTWZ9aToRj7U6VkarJteAUGbRFzv6jkXdT85dP97Img813RWzvsStv6ZY2brC9egee1RUJCXn/h3GYCxrBk4x9bRg2IYbwWVca2uQlFtHsroT6Dx68+sFEDp/Noak2CJvtJVfy9tOoTz6t0w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742797469; c=relaxed/simple; bh=VvJEFv+WpDw+gcoIJw7cU1TTOAytGkl7HVfp2h6xAPs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=bqjLFc4rmj+5hV4Xpzg2mf6WoWBET0KdRli5WdPj8/FI3PFgaWmggNZ6hoQKuGKJKCQ6W3iLfRZsA8S0sBKfz3MI1ZrqKuojGPv0keJkChxkGF+vX8/xGzB8Hgl4mKKhAK3Gp3GSAls2lUHHxot2J2td6JWUmLWiY9fQ5QyS/4I= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; arc=fail smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) id 58428C4AF09; Mon, 24 Mar 2025 06:24:29 +0000 (UTC) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sg2apc01on2105.outbound.protection.outlook.com [40.107.215.105]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id B5ABFC4CEEE; Mon, 24 Mar 2025 06:24:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org B5ABFC4CEEE Authentication-Results: smtp.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=cixtech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oBgkaHzL4/TzlblDh/O/+Ps7hHyZDI7BwZqCSPvBsrOtoA0r43uGifhupb2D846jYMkKxrE7GtE9F+Lwp4JTevfSghndFqd66SYnUmReyDQrvICOUk9dGq50qtXe9TdVCMT2o6fCLL3CN/8G6cTVJNO1ag2BXwqnJRUIrM+cakgqBTLVgE0RbbsYKDW7h8jddvNlSZWiNUcaS01F49lftZvUOV0B8T73HCyUZBVkMRyNrUBPfNz8uWFhSBZ8Z0+0Kvsp1izto8+5QZ9KP1t5jjXehlO1rt2U+3oGZNVotnJMGOe+RbFhrab7P+klubT9NPpaZiTkvFto/TG5Sy95lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=9RFRBn2VnpgFWXHuXsbCQsU5gbzEpsmVDcCbQ4hBQ3Q=; b=ousC33mGyexid8o2ZOjRxPlolVJmxBXVAWPEw9wWJicXjZBgkRxeVgzvr8z8UUFv2mgFi2uqFUKI2LqaaZvgZYwngnTu59AxTxoJvPjamFu3iNJfyqr5Nep37y6nxjChmHdQSA1bX/JvzHkRTdoKi3W/XmedBM6PNzxExTxmcXJnTukeTe85o6XPqes3+IB0/PjqDrywFDn04RyVQvV/BpzsoXPiK+njX3yxToBuZXk6FgViTYQpQOds5HBaiJ58yipH/Lqp+s4PiZZzERjpJB+GSHSfej/K6gg2tW5Whim4UzjvUH/2ad9CLgPRRfsTE72y59B2Ci7NDW4KxCLbPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 222.71.101.198) smtp.rcpttodomain=arm.com smtp.mailfrom=cixtech.com; dmarc=bestguesspass action=none header.from=cixtech.com; dkim=none (message not signed); arc=none (0) Received: from PS2PR01CA0069.apcprd01.prod.exchangelabs.com (2603:1096:300:57::33) by SEZPR06MB5666.apcprd06.prod.outlook.com (2603:1096:101:a9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.42; Mon, 24 Mar 2025 06:24:22 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:57:cafe::49) by PS2PR01CA0069.outlook.office365.com (2603:1096:300:57::33) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8534.40 via Frontend Transport; Mon, 24 Mar 2025 06:24:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 222.71.101.198) smtp.mailfrom=cixtech.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=cixtech.com; Received-SPF: Pass (protection.outlook.com: domain of cixtech.com designates 222.71.101.198 as permitted sender) receiver=protection.outlook.com; client-ip=222.71.101.198; helo=smtprelay.cixcomputing.com; pr=C Received: from smtprelay.cixcomputing.com (222.71.101.198) by HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.20 via Frontend Transport; Mon, 24 Mar 2025 06:24:21 +0000 Received: from localhost.localdomain (unknown [172.16.64.25]) by smtprelay.cixcomputing.com (Postfix) with ESMTPSA id 87FB94160CA0; Mon, 24 Mar 2025 14:24:20 +0800 (CST) From: Peter Chen To: soc@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cix-kernel-upstream@cixtech.com, marcin@juszkiewicz.com.pl, maz@kernel.org, kajetan.puchalski@arm.com, Peter Chen Subject: [PATCH v5 0/6] arm64: Introduce CIX P1 (SKY1) SoC Date: Mon, 24 Mar 2025 14:24:14 +0800 Message-Id: <20250324062420.360289-1-peter.chen@cixtech.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: soc@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|SEZPR06MB5666:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a31bb33-98e9-4c92-2986-08dd6a9c83fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014; X-Microsoft-Antispam-Message-Info: HgndCy0VHb+4Y+MjC7sjYpcJQuDW0OmyJYu5K4Oqi47Wj6Zo2sBx1Cg0HA/CpZFIzPC+wk/U3FGyzkIAo7k56iB6qoSRJ8wb5pxg0x38WrlJslntP8gGi90Aphql4IEYxlk/u0ehldtL0pXutv7swHVwC3KHYa9KlxbGDGVSmP7tCWT/P5fLnZA2CCzCzeTDnMxMgCSk6f9TCLjEoF3712guJ/Xe/BeWMFfZiVFS8DVO8jPhwMM/0QBFc1zjrhdJ62XPgJp9X8CTtEhGA6hqNJn4bLkKniSLlxjCIOLvhTyZCBIjv/YKGEPEqVw9emxu+v4JeoNwaiK19fCv6v+0YPjrgTYTL2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vMS0GcKYIO/KViNmOg5D8zTNUUYJ882auofFfSpUVhY86q9GbXejIkn2DxB29C+/jO X-Forefront-Antispam-Report: CIP:222.71.101.198;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:smtprelay.cixcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(1800799024)(376014);DIR:OUT;SFP:1102; X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2025 06:24:21.6049 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a31bb33-98e9-4c92-2986-08dd6a9c83fe X-MS-Exchange-CrossTenant-Id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0409f77a-e53d-4d23-943e-ccade7cb4811;Ip=[222.71.101.198];Helo=[smtprelay.cixcomputing.com] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB5666 Cixtech P1 (internal name sky1) is high performance generic Armv9 SoC. Orion O6 is the world's first open source Arm V9 Motherboard built by Radxa. You could find brief introduction for SoC and related boards at: https://radxa.com/products/orion/o6#overview In this series, we add initial SoC and board support for Kernel building. Patch 1-2: add dt-binding doc for CIX and its sky1 SoC Patch 3-4: add Arm64 build support Patch 5: add initial dts support for SoC and Orion O6 board Patch 6: add MAINTAINERS entry To run upstream kernel at Orion O6 board, you need to use BIOS released by Radxa: https://docs.radxa.com/en/orion/o6/bios/install-bios Changes for v5: - Patch 5: Delete pmu-spe node which need to refine, and add it in future - Patch 6: Refine MAINTAINERS for all CIX SoC and adding code tree location Changes for v4: - Move add MAINTAINERS entry patch to the last, and add two dts files entry in it. - Add three Krzysztof Kozlowski's Reviewed-by Tags - For sky1.dtsi, makes below changes: - Add ppi-partition entry for gic-v3 node, and let pmu-a520 and pmu-a720's interrupt entry get its handle - Remove gic-v3's #redistributor-regions and redistributor-stride properties - Change gic-v3's #interrupt-cells as 4, and change all interrupt specifiers accordingly - Remove "arm,no-tick-in-suspend" for timer due to global counter is at always-on power domain - Remove timer's clock frequency due to firmware has already set it Changes for v3: - Patch 1: Add Krzysztof Kozlowski's Acked-by Tag - Patch 2: Add Krzysztof Kozlowski's Reviewed-by Tag - Patch 6: Fix two dts coding sytle issues Changes for v2: - Pass dts build check with below commands: make O=$OUTKNL dt_binding_check DT_SCHEMA_FILES=vendor-prefixes.yaml make O=$OUTKNL dt_binding_check DT_SCHEMA_FILES=arm/cix.yaml make O=$OUTKNL CHECK_DTBS=y W=1 cix/sky1-orion-o6.dtb - Re-order the patch set, and move vendor-perfixes to the 1st patch. - Patch 4: Ordered Kconfig config entry by alpha-numerically - Patch 5: Corrects the Ack tag's name - Patch 6: see below. 1) Corrects the SoF tag's name 2) Fix several coding sytle issues 3) move linux,cma node to dts file 4) delete memory node, memory size is passed by firmware 5) delete uart2 node which will be added in future patches 6) Improve for pmu and cpu node to stands for more specific cpu model 7) Improve the timer node and add hypervisor virtual timer irq Fugang Duan (1): arm64: Kconfig: add ARCH_CIX for cix silicons Peter Chen (5): dt-bindings: vendor-prefixes: Add CIX Technology Group Co., Ltd. dt-bindings: arm: add CIX P1 (SKY1) SoC arm64: defconfig: Enable CIX SoC arm64: dts: cix: add initial CIX P1(SKY1) dts support MAINTAINERS: Add CIX SoC maintainer entry .../devicetree/bindings/arm/cix.yaml | 26 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 11 + arch/arm64/Kconfig.platforms | 6 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/cix/Makefile | 2 + arch/arm64/boot/dts/cix/sky1-orion-o6.dts | 26 +++ arch/arm64/boot/dts/cix/sky1.dtsi | 217 ++++++++++++++++++ arch/arm64/configs/defconfig | 1 + 9 files changed, 292 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/cix.yaml create mode 100644 arch/arm64/boot/dts/cix/Makefile create mode 100644 arch/arm64/boot/dts/cix/sky1-orion-o6.dts create mode 100644 arch/arm64/boot/dts/cix/sky1.dtsi