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: 89135 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp95117vqo; Mon, 1 May 2023 11:03:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6HW/wcAMK6IJISEJ0K24oZBBBPtC6J9mW2M7LxNnI6G0CY4LqXYHO2VTviLE4TYQSDNuVq X-Received: by 2002:a05:6a20:3d8b:b0:f5:2b11:5a05 with SMTP id s11-20020a056a203d8b00b000f52b115a05mr17668062pzi.19.1682964224634; Mon, 01 May 2023 11:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682964224; cv=none; d=google.com; s=arc-20160816; b=aVuX+iZdUTCSBXUAW6aB6G+b0bcK8yIIhbaMdaZEXwK+gDJ7CxmRR4ep2SH6P44jHj tQm/Ryicpu2aqPJ0hqw7YnZZQeD2zmcRFuUTpboFqeUsyO/bCHpLz/fLaAvRm7WU5CNH asKyuHbbyigDS0gNwyAAbrk5dp9rXTUt2S1+n9s1srb/HtYIQ/VB/rnCDAmy7OY0NqUE th7lPDMbbzdJQiiHUWbWETNzd6U/UClrl3YmVMrmb9Cm2kI4qgjFTa6bKz4trh0ouRcp U9Y4FiJpcMGhQMWi5sg2AbSbAnBT/mqxcrklBNCY59V4Q0841Dz7AfQLzC/Au+IWD1KX HVVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :message-id:date:cc:to:from:dkim-signature; bh=C2V+3MlXqBzDH79DwMv5YuFjhUo0fTkIYxR6m8Sf1d4=; b=rid3FGELa1HLlKpHlMp4DU3sSdVYXVPV0WQzwp88wVLfmW3R1ZvUqk+eXdrEAhu8Gg 6qERn3lNLeCqL77f4KGeKiu01wwWKiSfyFzEWb5kkT3GATKNgfmV+ASoJ7KVJCe+LMGg 1lYYWWR/1A+semUy5YCBUkajS8ZXD7W0MkRGkzQ6vEROH0QV7/FG2CuT4cAV0q+5cj0t FJczgqENe/Sa5RYfE5jCggWDEfrfopd1wjKW23GcBtktNn29q4i0TAWAtRn1X+yL3bEB o+wdHdBHstWR0qsSwQa0m5a8ShPsMoAzJsbf1JuhNpqwv9+9gsiF9YKes4CusTAXMW13 FXKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=gbPiFbEV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s23-20020a632c17000000b0051b32aa267asi28990287pgs.671.2023.05.01.11.03.31; Mon, 01 May 2023 11:03:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=gbPiFbEV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232064AbjEARvd (ORCPT + 99 others); Mon, 1 May 2023 13:51:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232653AbjEARvb (ORCPT ); Mon, 1 May 2023 13:51:31 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 824931BE3; Mon, 1 May 2023 10:51:14 -0700 (PDT) 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 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764715894850490573?= X-GMAIL-MSGID: =?utf-8?q?1764715894850490573?= 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 {