File Index
Files and directories
Sign in
FILE

r8a779g3-sparrow-hawk-camera-j1-imx219.dtso

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-camera-j1-imx219.dtso PLAIN TEXT
  1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2/*
  3 * Device Tree Overlay for an IMX219 camera sensor on connector J1 on R-Car V4H
  4 * ES3.0 Sparrow Hawk board.
  5 *
  6 * Copyright 2025 Renesas Electronics Corp.
  7 * Copyright 2025 Niklas Söderlund <niklas.soderlund@ragnatech.se>
  8 */
  9
 10/dts-v1/;
 11/plugin/;
 12
 13#include <dt-bindings/gpio/gpio.h>
 14#include <dt-bindings/media/video-interfaces.h>
 15
 16&{/} {
 17	clk_cam_j1: clk-cam-j1 {
 18		compatible = "fixed-clock";
 19		#clock-cells = <0>;
 20		clock-frequency = <24000000>;
 21	};
 22
 23	/* Page 29 / CSI_IF_CN / J1 */
 24	reg_cam_j1: reg-cam-j1 {
 25		compatible = "regulator-fixed";
 26		regulator-name = "cam-J1";
 27		enable-active-high;
 28		gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
 29	};
 30};
 31
 32&i2c1 {
 33	#address-cells = <1>;
 34	#size-cells = <0>;
 35	status = "okay";
 36
 37	cam@10 {
 38		compatible = "sony,imx219";
 39		reg = <0x10>;
 40
 41		clocks = <&clk_cam_j1>;
 42
 43		VANA-supply = <&reg_cam_j1>;
 44		VDIG-supply = <&reg_cam_j1>;
 45		VDDL-supply = <&reg_cam_j1>;
 46
 47		orientation = <2>;
 48		rotation = <0>;
 49
 50		port {
 51			imx219_j1_out: endpoint {
 52				clock-noncontinuous;
 53				link-frequencies = /bits/ 64 <456000000>;
 54				data-lanes = <1 2>;
 55				remote-endpoint = <&csi40_in>;
 56			};
 57		};
 58	};
 59};
 60
 61/* Page 29 / CSI_IF_CN */
 62&csi40 {
 63	status = "okay";
 64
 65	ports {
 66		#address-cells = <1>;
 67		#size-cells = <0>;
 68
 69		port@0 {
 70			reg = <0>;
 71
 72			csi40_in: endpoint {
 73				bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
 74				clock-lanes = <0>;
 75				data-lanes = <1 2>;
 76				remote-endpoint = <&imx219_j1_out>;
 77			};
 78		};
 79	};
 80};
 81
 82&isp0 {
 83	status = "okay";
 84};
 85
 86&vin00 {
 87	status = "okay";
 88};
 89
 90&vin01 {
 91	status = "okay";
 92};
 93
 94&vin02 {
 95	status = "okay";
 96};
 97
 98&vin03 {
 99	status = "okay";
100};
101
102&vin04 {
103	status = "okay";
104};
105
106&vin05 {
107	status = "okay";
108};
109
110&vin06 {
111	status = "okay";
112};
113
114&vin07 {
115	status = "okay";
116};
~/ Read-only file preview.