~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
  2 /**
  3  * DT Overlay for dual RPi Camera V2.1 (Sony IMX219) interfaced with CSI2
  4  * on J721E SK, AM68 SK or AM69-SK board.
  5  * https://datasheets.raspberrypi.org/camera/camera-v2-schematic.pdf
  6  *
  7  * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
  8  */
  9 
 10 /dts-v1/;
 11 /plugin/;
 12 
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include "k3-pinctrl.h"
 15 
 16 &{/} {
 17         clk_imx219_fixed: imx219-xclk {
 18                 compatible = "fixed-clock";
 19                 #clock-cells = <0>;
 20                 clock-frequency = <24000000>;
 21         };
 22 };
 23 
 24 &csi_mux {
 25         idle-state = <1>;
 26 };
 27 
 28 /* CAM0 I2C */
 29 &cam0_i2c {
 30         #address-cells = <1>;
 31         #size-cells = <0>;
 32         imx219_0: imx219-0@10 {
 33                 compatible = "sony,imx219";
 34                 reg = <0x10>;
 35 
 36                 clocks = <&clk_imx219_fixed>;
 37                 clock-names = "xclk";
 38 
 39                 port {
 40                         csi2_cam0: endpoint {
 41                                 remote-endpoint = <&csi2rx0_in_sensor>;
 42                                 link-frequencies = /bits/ 64 <456000000>;
 43                                 clock-lanes = <0>;
 44                                 data-lanes = <1 2>;
 45                         };
 46                 };
 47         };
 48 };
 49 
 50 /* CAM1 I2C */
 51 &cam1_i2c {
 52         #address-cells = <1>;
 53         #size-cells = <0>;
 54         imx219_1: imx219-1@10 {
 55                 compatible = "sony,imx219";
 56                 reg = <0x10>;
 57 
 58                 clocks = <&clk_imx219_fixed>;
 59                 clock-names = "xclk";
 60 
 61                 port {
 62                         csi2_cam1: endpoint {
 63                                 remote-endpoint = <&csi2rx1_in_sensor>;
 64                                 link-frequencies = /bits/ 64 <456000000>;
 65                                 clock-lanes = <0>;
 66                                 data-lanes = <1 2>;
 67                         };
 68                 };
 69         };
 70 };
 71 
 72 
 73 &cdns_csi2rx0 {
 74         ports {
 75                 #address-cells = <1>;
 76                 #size-cells = <0>;
 77 
 78                 csi0_port0: port@0 {
 79                         reg = <0>;
 80                         status = "okay";
 81 
 82                         csi2rx0_in_sensor: endpoint {
 83                                 remote-endpoint = <&csi2_cam0>;
 84                                 bus-type = <4>; /* CSI2 DPHY. */
 85                                 clock-lanes = <0>;
 86                                 data-lanes = <1 2>;
 87                         };
 88                 };
 89 
 90                 csi0_port1: port@1 {
 91                         reg = <1>;
 92                         status = "disabled";
 93                 };
 94 
 95                 csi0_port2: port@2 {
 96                         reg = <2>;
 97                         status = "disabled";
 98                 };
 99 
100                 csi0_port3: port@3 {
101                         reg = <3>;
102                         status = "disabled";
103                 };
104 
105                 csi0_port4: port@4 {
106                         reg = <4>;
107                         status = "disabled";
108                 };
109         };
110 };
111 
112 &dphy0 {
113         status = "okay";
114 };
115 
116 &ti_csi2rx0 {
117         status = "okay";
118 };
119 
120 &cdns_csi2rx1 {
121         ports {
122                 #address-cells = <1>;
123                 #size-cells = <0>;
124 
125                 csi1_port0: port@0 {
126                         reg = <0>;
127                         status = "okay";
128 
129                         csi2rx1_in_sensor: endpoint {
130                                 remote-endpoint = <&csi2_cam1>;
131                                 bus-type = <4>; /* CSI2 DPHY. */
132                                 clock-lanes = <0>;
133                                 data-lanes = <1 2>;
134                         };
135                 };
136 
137                 csi1_port1: port@1 {
138                         reg = <1>;
139                         status = "disabled";
140                 };
141 
142                 csi1_port2: port@2 {
143                         reg = <2>;
144                         status = "disabled";
145                 };
146 
147                 csi1_port3: port@3 {
148                         reg = <3>;
149                         status = "disabled";
150                 };
151 
152                 csi1_port4: port@4 {
153                         reg = <4>;
154                         status = "disabled";
155                 };
156         };
157 };
158 
159 &dphy1 {
160         status = "okay";
161 };
162 
163 &ti_csi2rx1 {
164         status = "okay";
165 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php