From patchwork Wed Jul 15 10:30:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1329367 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=BBin6RRr; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B6DH75Wr7z9sTM for ; Wed, 15 Jul 2020 20:32:51 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7D63481EE3; Wed, 15 Jul 2020 12:31:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BBin6RRr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6D3BB81EE4; Wed, 15 Jul 2020 12:31:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2A8C481C32 for ; Wed, 15 Jul 2020 12:31:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@gmail.com Received: by mail-lf1-x129.google.com with SMTP id t9so785233lfl.5 for ; Wed, 15 Jul 2020 03:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mDm7lQAlgt/aZ0eHyVCy0+I/g6ARVeVABErTmszvgMg=; b=BBin6RRr13JN6+lCHqRUc1ZWRiJNCpQzCa8LF4xLr8jCbgjvvpdFHAV789p51ioBeu bGvR61zLT2WcPSSN5P52bWPs/6gcMa0p48lthwCgVL8c9O0PKGtuDXmpt9umyxZ+erca 0pJm+CjIQ2ROOgVJhjwUTwDvNpc5OPs9S8PYlWYhgNXwsNqWV9um9FC4lnaaTdm/5hwr aSB52/9c+/5XQX9yAODZDE/YgMmw1hkAMc796xSOzsTVeM3nsW7yxVjL696Yvvy9QDNo FHRy7nMp3YUBHwTFtzWFUtwzm+gYdYImZLMTKbE5k2bewKmorPMMov21YQWN3eC7FmMx rsWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mDm7lQAlgt/aZ0eHyVCy0+I/g6ARVeVABErTmszvgMg=; b=ez9xIEE1HXB6GGXeTaRSRiDm/pGZEuWQR81XeQ1Ui719DuofyzzfDSRqGz0iFvfnvT 2w2zh8N1UG7VzLUTrMGxZKPs9lF3Wm7lQjmdgpyIs7ng/eiyB3LVEasvfmEje4NCtSz2 waYx2oiCI9NFvQCEyqAaf9DI2A37LRFVC/H+Xm4r5K7f7xAOocxPLbu3AWgK8SioUAVx DwfPiMM2WGmfc41BAwV4HSs3K/7N1Bx6OiDoQTOg72JLW2241j4535uk6jpcd4Ln93UA 8HgCUrNqFWP5uo5UzrjgrzHHgv1G4qDbjNPvrXOtpUIpqi8eDZKq5OQdccXtjSzoAYlu k/PQ== X-Gm-Message-State: AOAM531tCkeBlYa2t7O/uMvX/Zvru7KbqstW14eko+TDwd2kUmiCoyPp me8WkYManiYZp2+djf8wblfgfUNnRqU= X-Google-Smtp-Source: ABdhPJx+XZ0l76xbgPSsXpP5e9G3DUAy4tzMyMe6ysAhRLVWkMHz9y1iUILoZWMRDwNkjk32iIa1BQ== X-Received: by 2002:ac2:5f04:: with SMTP id 4mr4447815lfq.140.1594809092106; Wed, 15 Jul 2020 03:31:32 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id l14sm407336lfj.13.2020.07.15.03.31.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Jul 2020 03:31:30 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: sbabic@denx.de, Marcel Ziswiler , Max Krummenacher , festevam@gmail.com, peng.fan@nxp.com, Oleksandr Suvorov , Igor Opaniuk , "NXP i.MX U-Boot Team" Subject: [PATCH v2 07/14] ARM: dts: imx8mm-verdin: eeprom nodes adjustments Date: Wed, 15 Jul 2020 13:30:58 +0300 Message-Id: <20200715103105.8622-8-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200715103105.8622-1-igor.opaniuk@gmail.com> References: <20200715103105.8622-1-igor.opaniuk@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Igor Opaniuk Rename EEPROM nodes. Create aliases for EEPROM to unify their order: eeprom0 - on-module EEPROM eeprom1 - carrier-board EEPROM eeprom2 - MIPI-DSI to HDMI adapter EEPROM Signed-off-by: Igor Opaniuk --- (no changes since v1) arch/arm/dts/imx8mm-verdin.dts | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/arch/arm/dts/imx8mm-verdin.dts b/arch/arm/dts/imx8mm-verdin.dts index b86f46e03e..1c67c08c88 100644 --- a/arch/arm/dts/imx8mm-verdin.dts +++ b/arch/arm/dts/imx8mm-verdin.dts @@ -16,6 +16,12 @@ stdout-path = &uart1; }; + aliases { + eeprom0 = &eeprom_module; + eeprom1 = &eeprom_carrier_board; + eeprom2 = &eeprom_display_adapter; + }; + /* fixed clock dedicated to SPI CAN controller */ clk20m: oscillator { compatible = "fixed-clock"; @@ -321,8 +327,8 @@ vcc-supply = <&ldo5_reg>; }; - eeprom@50 { - compatible = "st,24c02"; + eeprom_module: eeprom@50 { + compatible = "st,24c02", "atmel,24c02", "i2c-eeprom"; pagesize = <16>; reg = <0x50>; }; @@ -377,16 +383,16 @@ status = "okay"; }; - /* EEPROM on MIPI-DSI to HDMI adapter */ - eeprom_50: eeprom@50 { - compatible = "st,24c02"; + /* EEPROM on display adapter (MIPI DSI Display Adapter) */ + eeprom_display_adapter: eeprom@50 { + compatible = "st,24c02", "atmel,24c02", "i2c-eeprom"; pagesize = <16>; reg = <0x50>; }; - /* EEPROM on Verdin Development board */ - eeprom_57: eeprom@57 { - compatible = "st,24c02"; + /* EEPROM on carrier board */ + eeprom_carrier_board: eeprom@57 { + compatible = "st,24c02", "atmel,24c02", "i2c-eeprom"; pagesize = <16>; reg = <0x57>; };