new file mode 100644
@@ -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>;
+ };
+};
@@ -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";
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