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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
---
 .../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 --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@xxxxxxxxxxxx>
+ */
+
+&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";
-- 
2.47.0





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux