From patchwork Fri Nov 8 10:31:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolaos Pasaloukos X-Patchwork-Id: 13868064 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 69355D5E15E for ; Fri, 8 Nov 2024 11:23:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=O9YIfWXRWHbSItuV7hkensXEQ9Xm6bHySqXZCMJOx7M=; b=yyFG6zQd21YKhUxrDuRsk9mzwi lFIkhWgO7hccY94Q7tiV9didKbvvDoxdXUbY6uBHOzxhfc6RF4m8uePvhcs1gRhXX5yWl563ckB1G Gtk9DpIjjlFXSplU018fn0+rg+l3axhVc/395Wg/b0yKkkVysXI/QUiOoBsysPdz/efXGSSGx3W40 8GRwpALNohxxwKd1/rX8JZvx7+misXQxRoIGqA3Lh0GC811xP+zqANc7gCnUq495K8UTsNblT0jtp kTJEsiV+8guS/WL/+VvxGTniGuIdaVWJSoHjmoa1CjVW/19ZvC7fktXTphxeT0rJeGYub9P3LapxE K07CoCfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9N5A-0000000AKfg-3LEF; Fri, 08 Nov 2024 11:23:16 +0000 Received: from mx07-0063e101.pphosted.com ([205.220.184.123]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t9MHy-0000000A7dl-3OJT for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2024 10:32:31 +0000 Received: from pps.filterd (m0247495.ppops.net [127.0.0.1]) by mx08-0063e101.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A8AGexE021628; Fri, 8 Nov 2024 10:32:05 GMT Received: from ma0pr01cu009.outbound.protection.outlook.com (mail-southindiaazlp17010006.outbound.protection.outlook.com [40.93.131.6]) by mx08-0063e101.pphosted.com (PPS) with ESMTPS id 42s6f5r8jr-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Nov 2024 10:32:04 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nlJ8tuUoX4dcAXPq5+xPA1EIaDHTg6E/eacqlGdjtOqYDWrC4j4Fzb5bEs+7tpmy3O4B9FhvxYyv4CHdGpWT/jhcqldzGALnNPR1erN0llZCIBMGXSnpL27gJzX8KVKc1bIhZIBZs55URdnLTrEw0+9Uh+ryheS476uch9gt+AEzyMy5gr0XwNn69vP+fp1XFhVFD+2n3vhBWv9sajkLw6PXkaEnwsmftByrGw3Zo0IowqTO8e40HNYAWzVadB89xYb2WKOIOfwGdjcpYMZ+OfnMUQD0zkbynY9JQfk2BrpnKxkUz4hDhweltIduJLDY92/X+cyYSgh5yu73r0dS0g== 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=O9YIfWXRWHbSItuV7hkensXEQ9Xm6bHySqXZCMJOx7M=; b=CBOVoCdlZDEV5/PuT1VnKu31Oxg4bB24Onz4QJ2W7CCcY4TlSHnCw0X2fi7E+jz6+28apOnZ+CSURgGBXumvYvcoeGXuxPG7iRVzIkr8i1zR50ViuR2htPa+uK3EZpL+h/EjIJAlrSHr+3+bWhppzZo/Wkm1bxchJIWkyqJQEO8prGMs2vyl0axMHRUk3/AP7YyLXjaUrqFf0r3pVwaadtcA1M1qDgu7N9ht6wtFsnJA04eGfpDVdrkmXswypcp8U8Tf2igBjT71pRZ3VbKfhll2nmt5JQjB+7gKnOMwfwApIxg31onS8RJnqi8jBUc6bGZ86dxs2Djw/gIQQrTX1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=blaize.com; dmarc=pass action=none header.from=blaize.com; dkim=pass header.d=blaize.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=BLAIZE.COM; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O9YIfWXRWHbSItuV7hkensXEQ9Xm6bHySqXZCMJOx7M=; b=EQ1h+vx/IpD/tdF/bsU0DUXF7Ec6wxII7PZf3TUB0SU+6ZTFNN9Peuk5+2NC1DhKmb7zTiKdWjplVyrHUOFcFwwBNzyKiyu9xzoRT9rhtVHjB/oJwvtlAeAd4Q7qqttTeHX6TbNGT5rJctd4O03Sbi53/IycIhsjpjq7dn3I6Yw= Received: from MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:12a::5) by PN0PR01MB7813.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:b5::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.21; Fri, 8 Nov 2024 10:31:58 +0000 Received: from MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM ([fe80::309a:12cf:74a4:5655]) by MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM ([fe80::309a:12cf:74a4:5655%4]) with mapi id 15.20.8137.019; Fri, 8 Nov 2024 10:31:58 +0000 From: Niko Pasaloukos To: James Cowgill , Matt Redfearn , Neil Jones , Niko Pasaloukos , "robh@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "catalin.marinas@arm.com" , "will@kernel.org" , "arnd@arndb.de" , "olof@lixom.net" , "hverkuil-cisco@xs4all.nl" , "shawnguo@kernel.org" , "hvilleneuve@dimonoff.com" , "andre.przywara@arm.com" , "rafal@milecki.pl" , "andersson@kernel.org" , "konrad.dybcio@linaro.org" , "angelogioacchino.delregno@collabora.com" , "nm@ti.com" , "neil.armstrong@linaro.org" , "nfraprado@collabora.com" , "johan+linaro@kernel.org" CC: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: [PATCH v4 4/6] arm64: Add initial support for Blaize BLZP1600 CB2 Thread-Topic: [PATCH v4 4/6] arm64: Add initial support for Blaize BLZP1600 CB2 Thread-Index: AQHbMclwfRt3f4mfrUa2QPPbgzG5og== Date: Fri, 8 Nov 2024 10:31:57 +0000 Message-ID: <20241108103120.9955-5-nikolaos.pasaloukos@blaize.com> References: <20241108103120.9955-1-nikolaos.pasaloukos@blaize.com> In-Reply-To: <20241108103120.9955-1-nikolaos.pasaloukos@blaize.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MA0PR01MB10184:EE_|PN0PR01MB7813:EE_ x-ms-office365-filtering-correlation-id: d268f0a5-69ee-4ed0-a738-08dcffe092ba x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|366016|38070700018|921020; x-microsoft-antispam-message-info: =?iso-8859-1?q?j9pNQc/TnFmQ4aQ68wC7m8gkkK?= =?iso-8859-1?q?S6UZQI9Fz7rFrEISqCFYj+EiBv9n8pJJnQS5eSOS/bzcwd3v86SSdKS/x9ce?= =?iso-8859-1?q?ryoY+3bMT6ILzCGKG1n4XFF7rch0Uz1Xcc7/KhIXsjfCVAsni5zyAa83ANNq?= =?iso-8859-1?q?Q5hK7nNmiyQzSizNw7WDVBCAA49ewfcMflh9yu5ri3JbRTk3SxVvoc+ZM8pq?= =?iso-8859-1?q?hxVYAOUrqs/OPDeJfwCv7SZJUT+JvxzGHBg171PHD6DeJnR+IEg4ebMelHP0?= =?iso-8859-1?q?mx6bYdBcztS3vbb8yKwvIOp/G8qkYPI4UvtRxeKFtAMHlkPAgW9cNM6KesbD?= =?iso-8859-1?q?a1K/QDaegqnPdXbZUSgOGFD9RWTeE7V2aN94XounfgWDuM0Jb6ULrvys0KPX?= =?iso-8859-1?q?qa72kIdE1YgTL3/Hz11g0vaMZDSFYhhz9rAo70kYUD/zXZID273XAmkAnBbr?= =?iso-8859-1?q?xY1Wtt7UiS+rD0vsAwSkLbPOmtmCkX6NwHYiC8dnKUtyAQ4wn9PYQbC1iuNg?= =?iso-8859-1?q?0FyH81tf4yXFGvB0bdkatlsaWqk7a5hcR5Ms5+HwgdMtRRYYzY90eUxwU0zP?= =?iso-8859-1?q?bQJDyrHOA9niOjLOlA6R9rN6QIORhVA0S4geHbo96P/3tXYBpczr0e0ZjAA0?= =?iso-8859-1?q?/bcLGDjhFvwe2RbMERZo7/aSyQ34w9769665oLZ7BbMy7oKDQ2B3wXGSzsHq?= =?iso-8859-1?q?S5oYntvKx/quOCYErLJBgwmCzy+K+l7GrsP5UaX5Xx1YEqtASW4yZMlEr7kd?= =?iso-8859-1?q?enrx//4XPFYk9p0r3Ong5/Sal/WlfwDwebN9FEXti/xORNPgC3CwUii55JjL?= =?iso-8859-1?q?2AbEYw2Nqptl69+6neR4WKyCxoCO6fE2SbP55BWROSS8ZPwqTVBhCiZLavaO?= =?iso-8859-1?q?UENZ6S6SS9zJdE4ZoPaWpBReDUnmEWveh+yhhjZ9qIJdMPbxptz0o+wyCkn/?= =?iso-8859-1?q?opVlILsZc00ZypOtquJn9kV2w+HjieCw/Flnr+r/8NBbBJBKcpHnAZiVLxpq?= =?iso-8859-1?q?B3kuIMty79YRTgfbBb3b0ttDaH455CUDBfVBthpHkTLyHhUFjYweiqmRl+HZ?= =?iso-8859-1?q?s9i/S1wbOxP8EfnKxA9TfLHNdd2IkRiVbiPW2LcuxGTU4174a604sxHVZLXM?= =?iso-8859-1?q?KVRQOFgc0ZWDOhmDCp5X9Fl6t/apI4cWVlxo6IrAsBKy0D754vtsEg3nvfP7?= =?iso-8859-1?q?zuwmYk+9GiDhiZa83H4zzE35+YOZB5X0UEtvBYT18lnWoexmwNz2pFkKGUzH?= =?iso-8859-1?q?JkyTlOJWiFS4qIpWR88dSCeF29JrmEaxZtjewsebPLb3CT1rqPRoPqwz6n0R?= =?iso-8859-1?q?WWB8AAidnBn9vdUg9ga1MRZokDlcAWo406b1XmeaR4DHQf7Ylbf86zp2av6+?= =?iso-8859-1?q?q4JxVYGAkVJ6Z0t0Q6QGKy41bvISaqQspAEaMLuK0dYKBKz9AK/FElN0vSL8?= =?iso-8859-1?q?KT?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(376014)(366016)(38070700018)(921020);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?xfZi8JKb9fAMfCcbV8SudhY?= =?iso-8859-1?q?PDyR1YrHwHFDayL3D6IAY7q1SXbwXzIgXHL0ZE/VI4gMl6ZSRxU8kSnSVh+j?= =?iso-8859-1?q?daa6Qvx069A3jnUNsAm58aGtJnEOfrK8Wtcy1tH+filIWGcl+HM1owUEHNRr?= =?iso-8859-1?q?UHw5Ht/UzO91WCG3bQ0Ak6mO7zss5QMXYER8qaBBm4GQkH4pfXSScXH7Qo/W?= =?iso-8859-1?q?gV5croEbhFUMpYmRtQTUR/jwvuz1oDGTpFgM4ip11xXiaL/BQa++Dn1s0MZO?= =?iso-8859-1?q?IRc0FXX53DSGligyALqyfVNk45jE/RFjdc1x6fg6iNw2AI7IQO+hQCg1SMAb?= =?iso-8859-1?q?RAIV5Hct0gWX0WIeh+vhZRBVoXFb7jyf7z/ZV8XODJwKhZf08BQnB/sbigDa?= =?iso-8859-1?q?h4x8G2JzlsohMOzWWioTwaCxM4lJ5PfoDGhY/vxspaTqMnRBGbBTxloFq8gr?= =?iso-8859-1?q?bO1q3dXErvT1JfV0OwhaoceLuNb82Uc0AYzyL015EQOBp4m5TaleJUS61wDT?= =?iso-8859-1?q?GtH3melNaDC6azl3rIIk+9E6urb21iPHON7XSXK0DWjkUWonJPz7TtJCwUEh?= =?iso-8859-1?q?HZAnQzWTfCtMy90Y8tKg0m9s9orghCrSXkVp5CKCSN2JUZqaP9A5JmGJlfmN?= =?iso-8859-1?q?DorigdvWC6vEdBgbY8UHgSqx5uk4E39X0GEV70tGAeSC5fbHh1qIstmno61N?= =?iso-8859-1?q?d8gZlg3EDPxmtOMHskZPmcRVoMTLLNPWzEfLJNpe0g5ShBCQRemnEjLW3smp?= =?iso-8859-1?q?HvGhLNKs/3H4Wd2Qvpbq721vUXDN0X5LA8p/t4IfoSo9EBySwI+To2gBabB/?= =?iso-8859-1?q?nI58RJQVSykJ9wiURC/rp59ieGaw6NB5jeoHMUSChfIkYR5iISuLBLw7A5ht?= =?iso-8859-1?q?/eYFSGR7+HapMGBzYWx+RkAVwVd8g2uSzsx/n9ZUJ5kL5MCdgtDxJQYo7E39?= =?iso-8859-1?q?pdb8IrrQFbASWPmt8USBxdxX5RW8xbfDVs+olbKEHz1G/4yo80awiXAqVJDm?= =?iso-8859-1?q?tLh3NDO/z8zH+dA86iYTGWJ8xSwdLLIeaO73Uf130FTraliQGyd2zHw0EK+5?= =?iso-8859-1?q?SkYYmkL8hs88pK9oEqIF/fgk+wDo7Pw4PJfD/vVlgVpHvXFi93ZV5mc2cpBG?= =?iso-8859-1?q?On7I8AN4hhpmiEt8V2ABcoZZfkQLcNZNHoh8NZtHPIOO6kh4w1MoAIPFv2rL?= =?iso-8859-1?q?BjiFsJIwK3S7z4nI5+GiBSMWCwSYpf7dG+iWsdrh9Tsz8OejOKK34wc13F9M?= =?iso-8859-1?q?+eetP1+mQtegMfGWTDOPYCiFhGYuvUd+rrIhsOXJAcCzEHiwI5x7cEZlRJLy?= =?iso-8859-1?q?EXcsUCaz1xubL/mrgnlFcBa/TwcBEE40BvwjQBe7bAGtqk4FjIJClaY/YObV?= =?iso-8859-1?q?c4Mr19Y3nib1Bmq5Jqq9wi4qg5f5BfELuh8OtqUU5XwQDHfCx4tUDKvI4fTE?= =?iso-8859-1?q?XVGnHpxSx5iVIQwNaqZhLMy4Dwm72Me4MvknBi2BBoRCNS8i5QXUFuaY/4pf?= =?iso-8859-1?q?z1EhLUNGiybOFb7UrfMWJa07DioswJUdFTPlK5zOrSaOtv45+sFnq7XZWyNy?= =?iso-8859-1?q?WDH4cZUtpgmYY6ndXoCC7qMB3dxseJHL2jh6JFDihP9dihFkUmOXlkAPHq4Q?= =?iso-8859-1?q?r8UsXWOIsB6k6YgRNVF25+PAzPmbrGlSBMy+MCg=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: blaize.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: d268f0a5-69ee-4ed0-a738-08dcffe092ba X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2024 10:31:57.7900 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9d1c3c89-8615-4064-88a7-bb1a8537c779 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: L79JQtTyc0g14hlVY7YoChAdBLj7XYyCwkaEEV276YBZ4ZnwFNnuktnY3DCl8vM+3UFINTDoh7E0B6zQKxpsknVtGFSR/Xom3QHhiJ7KKgU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PN0PR01MB7813 X-Proofpoint-GUID: DdnAAmfqmETuJgR67Lg3i_N07miy2-So X-Authority-Analysis: v=2.4 cv=BqvPwpX5 c=1 sm=1 tr=0 ts=672de8a4 cx=c_pps a=TXs1g+7sIME2BPo3OSn30g==:117 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=8nJEP1OIZ-IA:10 a=VlfZXiiP6vEA:10 a=4MthsM0t3ikA:10 a=-5LYVjoNHPMA:10 a=SrsycIMJAAAA:8 a=pUg8Dph67f-7xG774KMA:9 a=wPNLvfGTeEIA:10 a=RVmHIydaz68A:10 a=zapPnUM7SFj2ezx6rUw-:22 X-Proofpoint-ORIG-GUID: DdnAAmfqmETuJgR67Lg3i_N07miy2-So X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-11-08_08,2024-11-07_01,2024-09-30_01 X-Proofpoint-Spam-Reason: orgsafe X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241108_023227_201510_D7796F4B X-CRM114-Status: GOOD ( 17.09 ) 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 Adds support for the Blaize CB2 development board based on BLZP1600 SoC. This consists of a Carrier-Board-2 and a SoM. The blaize-blzp1600.dtsi is the common part for the SoC, blaize-blzp1600-som.dtsi is the common part for the SoM and blaize-blzp1600-cb2.dts is the board specific file. Checkpatch: ignore Resolves: PESW-2604 Co-developed-by: James Cowgill Signed-off-by: James Cowgill Co-developed-by: Matt Redfearn Signed-off-by: Matt Redfearn Co-developed-by: Neil Jones Signed-off-by: Neil Jones Signed-off-by: Nikolaos Pasaloukos --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/blaize/Makefile | 2 + .../boot/dts/blaize/blaize-blzp1600-cb2.dts | 84 +++++++ .../boot/dts/blaize/blaize-blzp1600-som.dtsi | 23 ++ .../boot/dts/blaize/blaize-blzp1600.dtsi | 205 ++++++++++++++++++ 5 files changed, 315 insertions(+) create mode 100644 arch/arm64/boot/dts/blaize/Makefile create mode 100644 arch/arm64/boot/dts/blaize/blaize-blzp1600-cb2.dts create mode 100644 arch/arm64/boot/dts/blaize/blaize-blzp1600-som.dtsi create mode 100644 arch/arm64/boot/dts/blaize/blaize-blzp1600.dtsi diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index 30dd6347a929..601b6381ea0c 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -9,6 +9,7 @@ subdir-y += apm subdir-y += apple subdir-y += arm subdir-y += bitmain +subdir-y += blaize subdir-y += broadcom subdir-y += cavium subdir-y += exynos diff --git a/arch/arm64/boot/dts/blaize/Makefile b/arch/arm64/boot/dts/blaize/Makefile new file mode 100644 index 000000000000..9118d7fb600f --- /dev/null +++ b/arch/arm64/boot/dts/blaize/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0+ +dtb-$(CONFIG_ARCH_BLAIZE_BLZP1600) += blaize-blzp1600-cb2.dtb diff --git a/arch/arm64/boot/dts/blaize/blaize-blzp1600-cb2.dts b/arch/arm64/boot/dts/blaize/blaize-blzp1600-cb2.dts new file mode 100644 index 000000000000..5416f7e84ac0 --- /dev/null +++ b/arch/arm64/boot/dts/blaize/blaize-blzp1600-cb2.dts @@ -0,0 +1,84 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2024 Blaize, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "blaize-blzp1600-som.dtsi" +#include + +/ { + model = "Blaize BLZP1600 SoM1600P CB2 Development Board"; + + compatible = "blaize,blzp1600-cb2", "blaize,blzp1600"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200"; + }; +}; + +&i2c0 { + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c1 { + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c3 { + clock-frequency = <100000>; + status = "okay"; + + gpio_expander: gpio@74 { + compatible = "ti,tca9539"; + reg = <0x74>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "RSP_PIN_7", /* GPIO_0 */ + "RSP_PIN_11", /* GPIO_1 */ + "RSP_PIN_13", /* GPIO_2 */ + "RSP_PIN_15", /* GPIO_3 */ + "RSP_PIN_27", /* GPIO_4 */ + "RSP_PIN_29", /* GPIO_5 */ + "RSP_PIN_31", /* GPIO_6 */ + "RSP_PIN_33", /* GPIO_7 */ + "RSP_PIN_37", /* GPIO_8 */ + "RSP_PIN_16", /* GPIO_9 */ + "RSP_PIN_18", /* GPIO_10 */ + "RSP_PIN_22", /* GPIO_11 */ + "RSP_PIN_28", /* GPIO_12 */ + "RSP_PIN_32", /* GPIO_13 */ + "RSP_PIN_36", /* GPIO_14 */ + "TP31"; /* GPIO_15 */ + }; + + gpio_expander_m2: gpio@75 { + compatible = "ti,tca9539"; + reg = <0x75>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "M2_W_DIS1_N", /* GPIO_0 */ + "M2_W_DIS2_N", /* GPIO_1 */ + "M2_UART_WAKE_N", /* GPIO_2 */ + "M2_COEX3", /* GPIO_3 */ + "M2_COEX_RXD", /* GPIO_4 */ + "M2_COEX_TXD", /* GPIO_5 */ + "M2_VENDOR_PIN40", /* GPIO_6 */ + "M2_VENDOR_PIN42", /* GPIO_7 */ + "M2_VENDOR_PIN38", /* GPIO_8 */ + "M2_SDIO_RST_N", /* GPIO_9 */ + "M2_SDIO_WAKE_N", /* GPIO_10 */ + "M2_PETN1", /* GPIO_11 */ + "M2_PERP1", /* GPIO_12 */ + "M2_PERN1", /* GPIO_13 */ + "UIM_SWP", /* GPIO_14 */ + "UART1_TO_RSP"; /* GPIO_15 */ + }; +}; diff --git a/arch/arm64/boot/dts/blaize/blaize-blzp1600-som.dtsi b/arch/arm64/boot/dts/blaize/blaize-blzp1600-som.dtsi new file mode 100644 index 000000000000..d54707c17163 --- /dev/null +++ b/arch/arm64/boot/dts/blaize/blaize-blzp1600-som.dtsi @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2024 Blaize, Inc. All rights reserved. + */ + +#include "blaize-blzp1600.dtsi" + +/ { + memory@0 { + device_type = "memory"; + reg = <0x0 0x00000000 0xffffffff>; + }; +}; + +/* i2c4 bus is available only on the SoM, not on the board */ +&i2c4 { + clock-frequency = <100000>; + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/blaize/blaize-blzp1600.dtsi b/arch/arm64/boot/dts/blaize/blaize-blzp1600.dtsi new file mode 100644 index 000000000000..6d524d0dba62 --- /dev/null +++ b/arch/arm64/boot/dts/blaize/blaize-blzp1600.dtsi @@ -0,0 +1,205 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2024 Blaize, Inc. All rights reserved. + */ + +/dts-v1/; + +#include +#include + +/ { + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <1>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "arm,cortex-a53"; + reg = <0x0 0x0>; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <&l2>; + }; + + cpu1: cpu@1 { + compatible = "arm,cortex-a53"; + reg = <0x0 0x1>; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <&l2>; + }; + + l2: l2-cache0 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + }; + }; + + firmware { + scmi { + compatible = "arm,scmi-smc"; + arm,smc-id = <0x82002000>; + #address-cells = <1>; + #size-cells = <0>; + + shmem = <&scmi0_shm>; + + scmi_clk: protocol@14 { + reg = <0x14>; + #clock-cells = <1>; + }; + + scmi_rst: protocol@16 { + reg = <0x16>; + #reset-cells = <1>; + }; + }; + }; + + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = , + ; + interrupt-affinity = <&cpu0>, <&cpu1>; + }; + + psci { + compatible = "arm,psci-1.0", "arm,psci-0.2"; + method = "smc"; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + /* SCMI reserved buffer space on DDR space */ + scmi0_shm: scmi-shmem@800 { + compatible = "arm,scmi-shmem"; + reg = <0x0 0x800 0x80>; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = /* Physical Secure PPI */ + , + /* Physical Non-Secure PPI */ + , + /* Hypervisor PPI */ + , + /* Virtual PPI */ + ; + }; + + soc@200000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x2 0x0 0x850000>; + + gic: interrupt-controller@410000 { + compatible = "arm,gic-400"; + reg = <0x410000 0x20000>, + <0x420000 0x20000>, + <0x440000 0x20000>, + <0x460000 0x20000>; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + interrupts = ; + }; + + uart0: serial@4d0000 { + compatible = "ns16550a"; + reg = <0x4d0000 0x1000>; + clocks = <&scmi_clk 59>; + resets = <&scmi_rst 59>; + reg-shift = <2>; + interrupts = ; + status = "disabled"; + }; + + uart1: serial@4e0000 { + compatible = "ns16550a"; + reg = <0x4e0000 0x1000>; + clocks = <&scmi_clk 60>; + resets = <&scmi_rst 60>; + reg-shift = <2>; + interrupts = ; + status = "disabled"; + }; + + i2c0: i2c@4f0000 { + compatible = "snps,designware-i2c"; + reg = <0x4f0000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 54>; + resets = <&scmi_rst 54>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@500000 { + compatible = "snps,designware-i2c"; + reg = <0x500000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 55>; + resets = <&scmi_rst 55>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@510000 { + compatible = "snps,designware-i2c"; + reg = <0x510000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 56>; + resets = <&scmi_rst 56>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@520000 { + compatible = "snps,designware-i2c"; + reg = <0x520000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 57>; + resets = <&scmi_rst 57>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@530000 { + compatible = "snps,designware-i2c"; + reg = <0x530000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 58>; + resets = <&scmi_rst 58>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + arm_cc712: crypto@550000 { + compatible = "arm,cryptocell-712-ree"; + reg = <0x550000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 7>; + }; + }; +};