From patchwork Mon May 1 17:02:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 13227744 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 D6DEBC77B61 for ; Mon, 1 May 2023 17:04:11 +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:Subject:MIME-Version:Message-Id:Date:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7oG8V/9HD5eS58SJh+5vBxMpx8DP8wYN06OTNT/RpLo=; b=IYHKSGC1hibcRv a4b1DgV6PvCPUMKx76Vp8b/piuDrhUmzvfhEQzYqh4+5EJuOqd2ImUUo5vpEeNy2a+V0bF0tdyOJ+ NlTrc6A9+WKeL4G9dFwPJPco+ZsGMWNYoNCZf5txc50pakcepuqzhoi/z66840WvcqG/fLRv/oHbY QETzcfZRYeE7CU2xHY0PbdO1GBbfWW8xjG7nSR64HO2kKR1kkOqe/7eoTuCFOxyBLUm20auZcPk/3 pBXUW6QjMiucKvUC+dBMzIhJrjilBfpqi4rYYrUoyPiAdVjG/E++PrJqjEEWeDLwthGG8BL93ZPEh g7ChCVojAVcUMtBy754A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptWvg-00GNey-0B; Mon, 01 May 2023 17:03:12 +0000 Received: from mail.hugovil.com ([162.243.120.170]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptWve-00GNeX-04 for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2023 17:03:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=C2V+3MlXqBzDH79DwMv5YuFjhUo0fTkIYxR6m8Sf1d4=; b=g bPiFbEVrLLI7OVEki9Ei9GghX/8Qul2VdwUNIeWuUre3AKnaeBWJJFgc1yW3qbXFWv3jRRNWN56eA ojhncCQ8yi3LV9y4hvwEUzFK0/X/46FxgSVxyKlmcqyWRy2orRiw8IzN3Ad+vc70DsAxwerzujXLI UNCrkcwZWjBC4K1U=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:50174 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1ptWvO-00069i-5F; Mon, 01 May 2023 13:02:54 -0400 From: Hugo Villeneuve To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: hugo@hugovil.com, Hugo Villeneuve , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 1 May 2023 13:02:50 -0400 Message-Id: <20230501170250.2960997-1-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com Subject: [PATCH v2] arm64: dts: imx8mn-var-som: add SOM EEPROM X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230501_100310_056611_F64634E0 X-CRM114-Status: GOOD ( 10.33 ) 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 From: Hugo Villeneuve The 4Kbit EEPROM located on the SOM contains hardware configuration options, manufacturing infos and ethernet MAC address. Signed-off-by: Hugo Villeneuve --- arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi index cbd9d124c80d..900605421bf9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi @@ -228,6 +228,12 @@ ldo6_reg: LDO6 { }; }; }; + + eeprom_som: eeprom@52 { + compatible = "atmel,24c04"; + reg = <0x52>; + pagesize = <16>; + }; }; &i2c3 {