Skip to contentSkip to conversation

renesas: dts: Add remaining I2C EEPROMs

PATCH New Geert Uytterhoeven 1 participant 4 messages Mar 9, 2023

Subsystems (2)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

cover renesas: dts: Add remaining I2C EEPROMs

Hi all,

This patch series adds the I2C EEPROMs on the Atmark Techno Armadillo-800-EVA, and the Renesas Condor and ULCB development boards.

This has been tested on Armadillo-800-EVA, Condor, and M3ULCB.

I plan to queue these in renesas-devel-for-v6.4.
Thanks for your comments!

Geert Uytterhoeven (3):
ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address
arm64: dts: renesas: condor: Add I2C EEPROM for PMIC
arm64: dts: renesas: ulcb: Add I2C EEPROM for PMIC

 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 19 +++++++++++++------
 .../boot/dts/renesas/r8a77980-condor.dts      |  8 ++++++++
 arch/arm64/boot/dts/renesas/ulcb.dtsi         |  6 ++++++
 3 files changed, 27 insertions(+), 6 deletions(-)
Signature · 12 lines
2.34.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
author maintainer
#1 lore raw

PATCH 1/3 ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address

Add a device node for the M24C01 I2C EEPROM which serves as external storage for the Ethernet MAC address.

While at it, restore sort order (by unit address) of the I2C devices.

---
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
arch/arm/boot/dts/r8a7740-armadillo800eva.dts +13 -6
index 76f04011870cc571..48b678a6c5cb92e5 100644
@@ -210,6 +210,19 @@ &cmt1 {
 
 &i2c0 {
 	status = "okay";
+
+	wm8978: codec@1a {
+		#sound-dai-cells = <0>;
+		compatible = "wlf,wm8978";
+		reg = <0x1a>;
+	};
+
+	eeprom@50 {
+		compatible = "st,24c01", "atmel,24c01";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
+
 	touchscreen@55 {
 		compatible = "sitronix,st1232";
 		reg = <0x55>;
@@ -219,12 +232,6 @@ touchscreen@55 {
 		pinctrl-names = "default";
 		gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
 	};
-
-	wm8978: codec@1a {
-		#sound-dai-cells = <0>;
-		compatible = "wlf,wm8978";
-		reg = <0x1a>;
-	};
 };
 
 &i2c2 {
Signature · 1 line
2.34.1
author maintainer
#2 lore raw

PATCH 2/3 arm64: dts: renesas: condor: Add I2C EEPROM for PMIC

In reply to Geert Uytterhoeven

Add a device node for the I2C EEPROM which serves as external storage for the PMIC setup.

---
 arch/arm64/boot/dts/renesas/r8a77980-condor.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/renesas/r8a77980-condor.dts +8 -0
index 1d326552e2facd06..68d1f1d53b3a38b4 100644
@@ -14,3 +14,11 @@ / {
 	model = "Renesas Condor board based on r8a77980";
 	compatible = "renesas,condor", "renesas,r8a77980";
 };
+
+&i2c0 {
+	eeprom@50 {
+		compatible = "rohm,br24t01", "atmel,24c01";
+		reg = <0x50>;
+		pagesize = <8>;
+	};
+};
Signature · 1 line
2.34.1
author maintainer
#3 lore raw

PATCH 3/3 arm64: dts: renesas: ulcb: Add I2C EEPROM for PMIC

In reply to Geert Uytterhoeven

Add a device node for the I2C EEPROM which serves as external storage for the PMIC setup.

---
 arch/arm64/boot/dts/renesas/ulcb.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/renesas/ulcb.dtsi +6 -0
index 8b437632981dc5e3..7c91a4d5e8d4fb12 100644
@@ -268,6 +268,12 @@ dvfs: dvfs {
 			};
 		};
 	};
+
+	eeprom@50 {
+		compatible = "rohm,br24t01", "atmel,24c01";
+		reg = <0x50>;
+		pagesize = <8>;
+	};
 };
 
 &ohci1 {
Signature · 1 line
2.34.1