From: Farouk Bouabid <farouk.bouabid@cherry.de>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org,
linux-kernel@vger.kernel.org,
Farouk Bouabid <farouk.bouabid@cherry.de>,
quentin.schulz@cherry.de
Subject: [PATCH 3/4] arm64: dts: rockchip: add mule nvram/rom to rk3588-tiger
Date: Tue, 04 Jun 2024 18:23:53 +0200 [thread overview]
Message-ID: <20240604-nvmem-v1-3-b784260a36a6@cherry.de> (raw)
In-Reply-To: <20240604-nvmem-v1-0-b784260a36a6@cherry.de>
Add mule NVRAM and ROM on the Mule I2C mux (0x18).
Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de>
---
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 45 ++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
index 5ed7d51717bb..7418bf86a618 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
@@ -13,6 +13,8 @@ / {
aliases {
i2c10 = &i2c10;
+ i2c12 = &i2c12;
+ i2c13 = &i2c13;
mmc0 = &sdhci;
rtc0 = &rtc_twi;
};
@@ -228,6 +230,49 @@ fan: fan@18 {
#cooling-cells = <2>;
};
};
+
+ i2c12: i2c@2 {
+ reg = <0x2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ eeprom@18 {
+ compatible = "atmel,24c02";
+ reg = <0x18>;
+ size = <8>;
+ };
+ };
+
+ i2c13: i2c@3 {
+ reg = <0x3>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ eeprom@18 {
+ compatible = "atmel,24c02";
+ reg = <0x18>;
+ read-only;
+ size = <32>;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ mule-variant@0 {
+ reg = <0x0 0x1>;
+ };
+
+ mule-bl-version@1 {
+ reg = <0x1 0x8>;
+ };
+
+ mule-version@9 {
+ reg = <0x9 0x8>;
+ };
+ };
+ };
+ };
};
rtc_twi: rtc@6f {
--
2.34.1
next prev parent reply other threads:[~2024-06-04 16:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-04 16:23 [PATCH 0/4] Add Mule NVRAM/ROM support Farouk Bouabid
2024-06-04 16:23 ` [PATCH 1/4] arm64: dts: rockchip: add mule nvram/rom to rk3399-puma Farouk Bouabid
2024-06-04 16:23 ` [PATCH 2/4] arm64: dts: rockchip: add mule nvram/rom to px30-ringneck Farouk Bouabid
2024-06-04 16:23 ` Farouk Bouabid [this message]
2024-06-04 16:23 ` [PATCH 4/4] arm64: dts: rockchip: add mule nvram/rom to rk3588-jaguar Farouk Bouabid
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=20240604-nvmem-v1-3-b784260a36a6@cherry.de \
--to=farouk.bouabid@cherry.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=quentin.schulz@cherry.de \
--cc=robh@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
all inboxes | Powered by JetHome®