From: Michael Walle <michael@walle.cc>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: Shawn Guo <shawnguo@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>, Li Yang <leoyang.li@nxp.com>,
Michael Walle <michael@walle.cc>
Subject: [PATCH v2 2/4] arm64: dts: ls1028a: sl28: fix on-board EEPROMS
Date: Wed, 11 Mar 2020 08:49:27 +0100 [thread overview]
Message-ID: <20200311074929.19569-3-michael@walle.cc> (raw)
In-Reply-To: <20200311074929.19569-1-michael@walle.cc>
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 <michael@walle.cc>
---
.../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 7aee14193dbd..0973a6a45217 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
@@ -77,6 +77,14 @@
};
};
+&i2c3 {
+ eeprom@57 {
+ compatible = "atmel,24c64";
+ reg = <0x57>;
+ pagesize = <32>;
+ };
+};
+
&i2c4 {
status = "okay";
@@ -89,12 +97,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 58603bce5b0e..1648a04ea79f 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
@@ -178,4 +178,10 @@
&i2c4 {
status = "okay";
+
+ eeprom@50 {
+ compatible = "atmel,24c32";
+ reg = <0x50>;
+ pagesize = <32>;
+ };
};
--
2.20.1
next prev parent reply other threads:[~2020-03-11 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-11 7:49 [PATCH v2 0/4] arm64: dts: ls1028a: various sl28 fixes/updates Michael Walle
2020-03-11 7:49 ` [PATCH v2 1/4] arm64: dts: freescale: sl28: add SPI flash Michael Walle
2020-03-11 7:49 ` Michael Walle [this message]
2020-03-11 7:49 ` [PATCH v2 3/4] arm64: dts: ls1028a: sl28: expose switch ports in KBox A-230-LS Michael Walle
2020-03-11 7:49 ` [PATCH v2 4/4] arm64: dts: ls1028a: sl28: add support for variant 2 Michael Walle
2020-03-16 1:16 ` [PATCH v2 0/4] arm64: dts: ls1028a: various sl28 fixes/updates Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200311074929.19569-3-michael@walle.cc \
--to=michael@walle.cc \
--cc=devicetree@vger.kernel.org \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).