Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3940443ybv; Tue, 25 Feb 2020 10:04:10 -0800 (PST) X-Google-Smtp-Source: APXvYqxa6IpDkB1Ox+SWa3qH6HOGkXtt18Lj7xHHmlO8bwJPqGptnsKDQVKaHgsLnhmdAut0nTG7 X-Received: by 2002:aca:2307:: with SMTP id e7mr111611oie.163.1582653850679; Tue, 25 Feb 2020 10:04:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582653850; cv=none; d=google.com; s=arc-20160816; b=ASVenjQdNwmypm4AO/AHu//PeB9qLEmh3a/daUFMqswVC761EaU1f8lyJWQoVenntj KObzOqWXTvuSd49odPBMv1SQ6y3Q+l8G90NzPmWqF9eZEQry7433/3ajis7cs95IxZA7 SDphK29XPhbebJ6p19j9/SpItjnbFBzq/ahaapoeeMHGt9D8P/oMJthkX0d8MsACw1S4 CSxgpGrl9L+gQ19NALB0KAQFD7OPXq8C4UHqnXNIH5FaqckFo4xWTQkM8NJhP9AlVjYF 2FZeM1ZniqRDQp3l8vrx7qD1hofmVmhEEM1XnMWs5Bi0ezVSaWFvasLEt+MRT7XnOPbd StOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lB2pk3QwAsrPUz2cxLfMUJ8zzwe9Tvz5vwnnziHiFhI=; b=Wv5FTT5aA6ZIvshZ1sLlUaUaUl7icm79sbbCd7W4BaN2h9wFNFtYQXlQEoUEIkUKNx HUymYjOJPPWaFMVKNRii5FqDZeiD6GT29bZypWtXPxoTwzhrDjHNS/m65zT8ilHCuL3z Hu8azfxDR/sXgCW8O/g63Zlic9p+/pKu1bsnULo5Vk8km1GXFnk8sRD7I1Ni/Gwo8GVe Gwt1a0kX1s6F4ikv9LYKguop4ogmymZ7GGZMMfv1+0+ePvi3xpiYp7tFExqkLn4gPED5 zsdN4MwK6WRMV9VLrzVihswWJep0tiNg6A3RtWf0T3R/QuJN14MhosPD/F/PjRwjA4rU Hozw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="I1Os/6L0"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si7425895otk.134.2020.02.25.10.03.57; Tue, 25 Feb 2020 10:04:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="I1Os/6L0"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731293AbgBYR6t (ORCPT + 99 others); Tue, 25 Feb 2020 12:58:49 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:54087 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730582AbgBYR6q (ORCPT ); Tue, 25 Feb 2020 12:58:46 -0500 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id B00822304C; Tue, 25 Feb 2020 18:58:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1582653523; 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=lB2pk3QwAsrPUz2cxLfMUJ8zzwe9Tvz5vwnnziHiFhI=; b=I1Os/6L0kMqAOwZ7ecqLI5sNkPYaDuoCRn1eCiNXKc+j+nM0j2KWDCbojdYRuuu9EWdn0J Koudk8HEg7I5XdPUL1DXyZhlXL90HDFJ/+z02P9+wzp8ANz+jj9EERX+tqwbD+NrVJMH44 cd1vjc7XpByH2PKyPL2eGDNuuw/uEec= From: Michael Walle To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Rob Herring , Mark Rutland , Li Yang , Michael Walle Subject: [PATCH 1/3] arm64: dts: ls1028a: sl28: fix on-board EEPROMS Date: Tue, 25 Feb 2020 18:57:54 +0100 Message-Id: <20200225175756.29508-2-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200225175756.29508-1-michael@walle.cc> References: <20200225175756.29508-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-Spam-Level: ****** X-Rspamd-Server: web X-Spam-Status: Yes, score=6.40 X-Spam-Score: 6.40 X-Rspamd-Queue-Id: B00822304C X-Spamd-Result: default: False [6.40 / 15.00]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_SPAM(0.00)[0.966]; DKIM_SIGNED(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.50:email,0.0.0.57:email]; RCPT_COUNT_SEVEN(0.00)[8]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31334, ipnet:2a02:810c::/31, country:DE]; SUSPICIOUS_RECIPS(1.50)[] X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The module itself has another EEPROM at 50h on I2C4. The EEPROM on the carriers is located at 57h on I2C3. Fix that in the device trees. Signed-off-by: Michael Walle --- .../fsl-ls1028a-kontron-kbox-a-230-ls.dts | 6 +++--- .../fsl-ls1028a-kontron-sl28-var3-ads2.dts | 14 ++++++++------ .../dts/freescale/fsl-ls1028a-kontron-sl28.dts | 6 ++++++ 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts index aaf3c04771c3..32f6c80414bc 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts @@ -18,10 +18,10 @@ "kontron,sl28", "fsl,ls1028a"; }; -&i2c4 { - eeprom@50 { +&i2c3 { + eeprom@57 { compatible = "atmel,24c32"; - reg = <0x50>; + reg = <0x57>; pagesize = <32>; }; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts index 20fd86746f94..ff4a43986290 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts @@ -80,6 +80,14 @@ }; }; +&i2c3 { + eeprom@57 { + compatible = "atmel,24c64"; + reg = <0x57>; + pagesize = <32>; + }; +}; + &i2c4 { status = "okay"; @@ -92,12 +100,6 @@ assigned-clocks = <&mclk>; assigned-clock-rates = <1250000>; }; - - eeprom@50 { - compatible = "atmel,24c32"; - reg = <0x50>; - pagesize = <32>; - }; }; &sai5 { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts index c60a444ad09d..4ba6aae45ef1 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts @@ -181,6 +181,12 @@ &i2c4 { status = "okay"; + + eeprom@50 { + compatible = "atmel,24c32"; + reg = <0x50>; + pagesize = <32>; + }; }; &lpuart1 { -- 2.20.1