From patchwork Fri Dec 1 11:15:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 172444 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1041530vqy; Fri, 1 Dec 2023 03:17:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjmT+txCxL+xBoh4HHOgjy4Zdc0yE7Tu4geXv38v8VnXWgCuQL+2cXEsbKL8/MZk8WYbuX X-Received: by 2002:a05:6358:7e0d:b0:16d:bcfa:e0cf with SMTP id o13-20020a0563587e0d00b0016dbcfae0cfmr26802268rwm.30.1701429436689; Fri, 01 Dec 2023 03:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701429436; cv=none; d=google.com; s=arc-20160816; b=ge3x8KD0UvWX0I24U8o60F8lOh169THy9HJVIpBVVM12Hh8AyPQtV/K2Vh/petxVhY iBl2gyMlxgPBlZXVCm1/A4hDhRMx1e1jkOrtfRiLgizFn5PkM59a5JwSayudkCQ9J1U6 UAF/6VXiICzjF4hxXEKimVmZcWxWtKORfmqmp6w2QSadYCntmr4gYGxBLBfM1jk9wMc+ sehEe2l5j09gaccFh7aaHKjHCl01+IBEPi9zEsM/Tb7drZ0xflXNyYVCGVSqLmUhDOMg BORSST2cb83NgaJjuCXNIOFg1S6d3Rp9B59qsI0xUoercWuhWpkVG8dLkzHTH+2+c3Pz hp+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PyCSrF1JgQ4iScyRiIk/6IapzgqC+RV3b88nNkBvQYI=; fh=jshYI2NwtEb4RFDet1CibhjijWOL1JdxV9n387woDuM=; b=AGnvtazhxNWQ7CIk5gcBYeYAR52MYezljMBj5SDA/9aRinlQuiAge6Daae1grg8YUn ppYhAwBpM6QkZUBqqEcOJUZOU2h6eINhZ6qXw0kzQALKQDL2VSE38YfHo3k4esalJOJQ TpxRaLtOu+7NLYNX4eRNsJi1VaIfkPD1rP3Qvmly8j3MAagq/Eo0JbfeNcOaD2blHI7w WUT7afApq2cRLtovTe9UZ/SsOklcOm7M1+DDZ/imrPrnpEvksvqHtDq1uZdkZ3Y+fIPj JeYPXYnx+VoNqbKvGGsV0MSioNigvTaEh1P79bza7GPo/n+NA0/6qdyeVzS7Pt8LsyFf H/mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QZmxOaxh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k26-20020a63ff1a000000b005be00212aa7si3062022pgi.663.2023.12.01.03.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 03:17:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QZmxOaxh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B5A0F810438B; Fri, 1 Dec 2023 03:16:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378722AbjLALQj (ORCPT + 99 others); Fri, 1 Dec 2023 06:16:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378551AbjLALPd (ORCPT ); Fri, 1 Dec 2023 06:15:33 -0500 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B1651730; Fri, 1 Dec 2023 03:15:39 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 96FE11C0007; Fri, 1 Dec 2023 11:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701429338; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PyCSrF1JgQ4iScyRiIk/6IapzgqC+RV3b88nNkBvQYI=; b=QZmxOaxha3J1voxMaFielxEq/+hof2N5RHZyW3Z8Iy/MMXyAxXMCYKJCoIFZ+xYQzRQODu olkA2N2qFOaqwLnErpSlidG00C8QDbj2oGHeGVeUuJ7U/iJVslgnrvSczGChI1N813OGpT zejPu19DcMZC9OslYXZ/RiGPb/JwiCIyuySE1R1id5zMHBBHw5Ys0IF1J1IOqJpMTqh50s zfDSTrasSluKKUsFtukdKJle8PIMtHmIJzsKrI6hIeVYJNBHwTjs5z45uD3o9ReZfzH7Ea Hfu8f/I0rn0+l7KcpfmAAli/wct+50JEie0K1/aZ14X4usS1neMpWhKp9m/JTQ== From: Gregory CLEMENT To: Paul Burton , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Jiaxun Yang , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vladimir Kondratiev , Tawfik Bayouk , Alexandre Belloni , =?utf-8?q?Th=C3=A9o_Lebr?= =?utf-8?q?un?= , Thomas Petazzoni , Gregory CLEMENT Subject: [PATCH v3 20/22] MIPS: mobileye: Add EPM5 device tree Date: Fri, 1 Dec 2023 12:15:03 +0100 Message-ID: <20231201111512.803120-21-gregory.clement@bootlin.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231201111512.803120-1-gregory.clement@bootlin.com> References: <20231201111512.803120-1-gregory.clement@bootlin.com> MIME-Version: 1.0 X-GND-Sasl: gregory.clement@bootlin.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 03:16:57 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784078073203025084 X-GMAIL-MSGID: 1784078073203025084 Add a device tree for the Mobileye EPM5 evaluation board. Signed-off-by: Gregory CLEMENT --- arch/mips/boot/dts/mobileye/Makefile | 4 ++++ arch/mips/boot/dts/mobileye/eyeq5-epm5.dts | 24 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 arch/mips/boot/dts/mobileye/Makefile create mode 100644 arch/mips/boot/dts/mobileye/eyeq5-epm5.dts diff --git a/arch/mips/boot/dts/mobileye/Makefile b/arch/mips/boot/dts/mobileye/Makefile new file mode 100644 index 0000000000000..b6fa261f0a3a0 --- /dev/null +++ b/arch/mips/boot/dts/mobileye/Makefile @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only +# Copyright 2023 Mobileye Vision Technologies Ltd. + +dtb-$(CONFIG_SOC_EYEQ5) += eyeq5-epm5.dtb diff --git a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts new file mode 100644 index 0000000000000..ff16c3c760a19 --- /dev/null +++ b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Copyright 2023 Mobileye Vision Technologies Ltd. + */ + +/dts-v1/; + +#include "eyeq5.dtsi" + +/ { + compatible = "mobileye,eyeq5-epm5", "mobileye,eyeq5"; + model = "Mobile EyeQ5 MP5 Evaluation board"; + + chosen { + bootargs = "earlycon"; + stdout-path = "serial2:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000 0x0 0x08000000>, + <0x8 0x00000000 0x0 0x78000000>; + }; +};