Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] arm64: dts: rockchip: fix eeprom for Radxa ROCK 5A
@ 2024-11-13  8:12 FUKAUMI Naoki
  2024-11-13  8:12 ` [PATCH 2/8] arm64: dts: rockchip: remove i2c3 and i2c5 node " FUKAUMI Naoki
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: FUKAUMI Naoki @ 2024-11-13  8:12 UTC (permalink / raw)
  To: heiko
  Cc: robh, conor+dt, devicetree, sebastian.reichel, linux-rockchip,
	FUKAUMI Naoki, jbx6244, krzk+dt, dsimic

- move eeprom from i2c2 to i2c0 to match with schematic[1]
- add vcc_3v3_pmu regulator and use it as vcc-supply for eeprom

[1] https://dl.radxa.com/rock5/5a/docs/hw/radxa_rock5a_V1.1_sch.pdf

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
 .../boot/dts/rockchip/rk3588s-rock-5a.dts     | 23 ++++++++++++++-----
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
index 70a43432bdc5..56c818c45dc0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -113,6 +113,16 @@ vcc5v0_sys: regulator-vcc5v0-sys {
 		vin-supply = <&vcc12v_dcin>;
 	};
 
+	vcc_3v3_pmu: regulator-vcc-3v3-pmu {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_3v3_pmu";
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		vin-supply = <&vcc_3v3_s3>;
+	};
+
 	vcc_5v0: regulator-vcc-5v0 {
 		compatible = "regulator-fixed";
 		regulator-name = "vcc_5v0";
@@ -221,6 +231,13 @@ regulator-state-mem {
 			regulator-off-in-suspend;
 		};
 	};
+
+	eeprom: eeprom@50 {
+		compatible = "belling,bl24c16a", "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+		vcc-supply = <&vcc_3v3_pmu>;
+	};
 };
 
 &i2c2 {
@@ -242,12 +259,6 @@ regulator-state-mem {
 			regulator-off-in-suspend;
 		};
 	};
-
-	eeprom: eeprom@50 {
-		compatible = "belling,bl24c16a", "atmel,24c16";
-		reg = <0x50>;
-		pagesize = <16>;
-	};
 };
 
 &i2c3 {
-- 
2.43.0


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-13 12:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13  8:12 [PATCH 1/8] arm64: dts: rockchip: fix eeprom for Radxa ROCK 5A FUKAUMI Naoki
2024-11-13  8:12 ` [PATCH 2/8] arm64: dts: rockchip: remove i2c3 and i2c5 node " FUKAUMI Naoki
2024-11-13  8:12 ` [PATCH 3/8] arm64: dts: rockchip: fix sdmmc properties " FUKAUMI Naoki
2024-11-13  8:12 ` [PATCH 4/8] arm64: dts: rockchip: fix u2phy2_host phy-supply " FUKAUMI Naoki
2024-11-13  8:12 ` [PATCH 5/8] arm64: dts: rockchip: remove usb_host0_ohci " FUKAUMI Naoki
2024-11-13  8:12 ` [PATCH 6/8] arm64: dts: rockchip: add default-state for heartbeat LED on " FUKAUMI Naoki
2024-11-13  8:12 ` [PATCH 7/8] arm64: dts: rockchip: fix pwm-fan property for " FUKAUMI Naoki
2024-11-13  8:12 ` [PATCH 8/8] arm64: dts: rockchip: fix pinctrl pin labels/names " FUKAUMI Naoki
2024-11-13 12:21 ` [PATCH 1/8] arm64: dts: rockchip: fix eeprom " FUKAUMI Naoki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox