diff mbox series

[v2,1/2] arm64: dts: renesas: gray-hawk: Create separate CSI/DSI sub-board

Message ID 20241105133824.788688-2-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
State New
Delegated to: Geert Uytterhoeven
Headers show
Series arm64: dts: renesas: gray-hawk: Wire up MAX96724 | expand

Commit Message

Niklas Söderlund Nov. 5, 2024, 1:38 p.m. UTC
Before adding the CSI nodes for gray-hawk create a dedicated DTS file
for the CSI/DSI functionality to reflect what is done for white-hawk.

For now its contents are limited to the Board ID EEPROM.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 .../boot/dts/renesas/gray-hawk-csi-dsi.dtsi      | 16 ++++++++++++++++
 .../dts/renesas/r8a779h0-gray-hawk-single.dts    |  8 +-------
 2 files changed, 17 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm64/boot/dts/renesas/gray-hawk-csi-dsi.dtsi
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/gray-hawk-csi-dsi.dtsi b/arch/arm64/boot/dts/renesas/gray-hawk-csi-dsi.dtsi
new file mode 100644
index 000000000000..68a37e2077e1
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/gray-hawk-csi-dsi.dtsi
@@ -0,0 +1,16 @@ 
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Device Tree Source for the R-Car V4M Gray Hawk CSI/DSI sub-board
+ *
+ * Copyright (C) 2023 Renesas Electronics Corp.
+ * Copyright (C) 2024 Niklas Söderlund <niklas.soderlund@ragnatech.se>
+ */
+
+&i2c0 {
+	eeprom@52 {
+		compatible = "rohm,br24g01", "atmel,24c01";
+		label = "csi-dsi-sub-board-id";
+		reg = <0x52>;
+		pagesize = <8>;
+	};
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts
index 58eabcc7e0e0..1bd7eead1429 100644
--- a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts
@@ -32,6 +32,7 @@ 
 #include <dt-bindings/leds/common.h>
 
 #include "r8a779h0.dtsi"
+#include "gray-hawk-csi-dsi.dtsi"
 
 / {
 	model = "Renesas Gray Hawk Single board based on r8a779h0";
@@ -269,13 +270,6 @@  eeprom@51 {
 		pagesize = <8>;
 	};
 
-	eeprom@52 {
-		compatible = "rohm,br24g01", "atmel,24c01";
-		label = "csi-dsi-sub-board-id";
-		reg = <0x52>;
-		pagesize = <8>;
-	};
-
 	eeprom@53 {
 		compatible = "rohm,br24g01", "atmel,24c01";
 		label = "ethernet-sub-board-id";