Skip to content

Commit

Permalink
Add dts for cm4 on bullseye OS
Browse files Browse the repository at this point in the history
  • Loading branch information
xumm committed Mar 4, 2023
1 parent 48d7fbd commit 490b0fb
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 153 deletions.
129 changes: 0 additions & 129 deletions driver_source/dts/rpi-5.15.y/csimx307-dual-cm4-overlay.dts

This file was deleted.

12 changes: 7 additions & 5 deletions driver_source/dts/rpi-5.15.y/csimx307-overlay.dts
Expand Up @@ -36,16 +36,17 @@
#size-cells = <0>;
status = "okay";

csimx307: csimx307@3b {
cam_node: csimx307@3b {
compatible = "veye,csimx307";
reg = <0x3b>;
status = "okay";


rotation = <0>;
rotation = <180>;
orientation = <2>;

port {
csimx307_0: endpoint {
cam_endpoint: endpoint {
remote-endpoint = <&csi_ep>;
clock-lanes = <0>;
data-lanes = <1 2>;
Expand All @@ -65,7 +66,7 @@

port {
csi_ep: endpoint {
remote-endpoint = <&csimx307_0>;
remote-endpoint = <&cam_endpoint>;
clock-lanes = <0>;
data-lanes = <1 2>;
clock-noncontinuous;
Expand All @@ -76,7 +77,8 @@


__overrides__ {
rotation = <&csimx307>,"rotation:0";
rotation = <&cam_node>,"rotation:0";
orientation = <&cam_node>,"orientation:0";
cam0 = <&i2c_frag>, "target:0=",<&i2c_vc>,
<&csi_frag>, "target:0=",<&csi0>,
<&clk_frag>, "target:0=",<&cam0_clk>;
Expand Down
Binary file added driver_source/dts/rpi-5.15.y/csimx307.dtbo
Binary file not shown.
12 changes: 7 additions & 5 deletions driver_source/dts/rpi-5.15.y/cssc132-overlay.dts
Expand Up @@ -36,16 +36,17 @@
#size-cells = <0>;
status = "okay";

cssc132: cssc132@3b {
cam_node: cssc132@3b {
compatible = "veye,cssc132";
reg = <0x3b>;
status = "okay";


rotation = <0>;
rotation = <180>;
orientation = <2>;

port {
cssc132_0: endpoint {
cam_endpoint: endpoint {
remote-endpoint = <&csi_ep>;
clock-lanes = <0>;
data-lanes = <1 2>;
Expand All @@ -65,7 +66,7 @@

port {
csi_ep: endpoint {
remote-endpoint = <&cssc132_0>;
remote-endpoint = <&cam_endpoint>;
clock-lanes = <0>;
data-lanes = <1 2>;
clock-noncontinuous;
Expand All @@ -77,7 +78,8 @@


__overrides__ {
rotation = <&cssc132>,"rotation:0";
rotation = <&cam_node>,"rotation:0";
orientation = <&cam_node>,"orientation:0";
cam0 = <&i2c_frag>, "target:0=",<&i2c_vc>,
<&csi_frag>, "target:0=",<&csi0>,
<&clk_frag>, "target:0=",<&cam0_clk>;
Expand Down
Binary file added driver_source/dts/rpi-5.15.y/cssc132.dtbo
Binary file not shown.
16 changes: 9 additions & 7 deletions driver_source/dts/rpi-5.15.y/veye_mvcam-overlay.dts
Expand Up @@ -35,7 +35,7 @@
#size-cells = <0>;
status = "okay";

veyemvcam: veyemvcam@3b {
cam_node: veyemvcam@3b {
compatible = "veye,mvcam";
reg = <0x3b>;
status = "okay";
Expand All @@ -46,10 +46,11 @@
VANA-supply = <&cam1_reg>; /* 2.8v */
VDIG-supply = <&cam_dummy_reg>; /* 1.8v */
VDDL-supply = <&cam_dummy_reg>; /* 1.2v */
rotation = <0>;
rotation = <180>;
orientation = <2>;

port {
veyecam2m_0: endpoint {
cam_endpoint: endpoint {
remote-endpoint = <&csi_ep>;
clock-lanes = <0>;
data-lanes = <1 2>;
Expand All @@ -69,7 +70,7 @@

port {
csi_ep: endpoint {
remote-endpoint = <&veyecam2m_0>;
remote-endpoint = <&cam_endpoint>;
clock-lanes = <0>;
data-lanes = <1 2>;
clock-noncontinuous;
Expand All @@ -79,11 +80,12 @@
};

__overrides__ {
rotation = <&veyemvcam>,"rotation:0";
rotation = <&cam_node>,"rotation:0";
orientation = <&cam_node>,"orientation:0";
cam0 = <&i2c_frag>, "target:0=",<&i2c_vc>,
<&csi_frag>, "target:0=",<&csi0>,
<&clk_frag>, "target:0=",<&cam0_clk>,
<&veyemvcam>, "clocks:0=",<&cam0_clk>,
<&veyemvcam>, "VANA-supply:0=",<&cam0_reg>;
<&cam_node>, "clocks:0=",<&cam0_clk>,
<&cam_node>, "VANA-supply:0=",<&cam0_reg>;
};
};
Binary file added driver_source/dts/rpi-5.15.y/veye_mvcam.dtbo
Binary file not shown.
16 changes: 9 additions & 7 deletions driver_source/dts/rpi-5.15.y/veyecam2m-overlay.dts
Expand Up @@ -35,7 +35,7 @@
#size-cells = <0>;
status = "okay";

veyecam2m: veyecam2m@3b {
cam_node: veyecam2m@3b {
compatible = "veye,veyecam2m";
reg = <0x3b>;
status = "okay";
Expand All @@ -46,10 +46,11 @@
VANA-supply = <&cam1_reg>; /* 2.8v */
VDIG-supply = <&cam_dummy_reg>; /* 1.8v */
VDDL-supply = <&cam_dummy_reg>; /* 1.2v */
rotation = <0>;
rotation = <180>;
orientation = <2>;

port {
veyecam2m_0: endpoint {
cam_endpoint: endpoint {
remote-endpoint = <&csi_ep>;
clock-lanes = <0>;
data-lanes = <1 2>;
Expand All @@ -69,7 +70,7 @@

port {
csi_ep: endpoint {
remote-endpoint = <&veyecam2m_0>;
remote-endpoint = <&cam_endpoint>;
clock-lanes = <0>;
data-lanes = <1 2>;
clock-noncontinuous;
Expand All @@ -81,11 +82,12 @@


__overrides__ {
rotation = <&veyecam2m>,"rotation:0";
rotation = <&cam_node>,"rotation:0";
orientation = <&cam_node>,"orientation:0";
cam0 = <&i2c_frag>, "target:0=",<&i2c_vc>,
<&csi_frag>, "target:0=",<&csi0>,
<&clk_frag>, "target:0=",<&cam0_clk>,
<&veyecam2m>, "clocks:0=",<&cam0_clk>,
<&veyecam2m>, "VANA-supply:0=",<&cam0_reg>;
<&cam_node>, "clocks:0=",<&cam0_clk>,
<&cam_node>, "VANA-supply:0=",<&cam0_reg>;
};
};
Binary file added driver_source/dts/rpi-5.15.y/veyecam2m.dtbo
Binary file not shown.

0 comments on commit 490b0fb

Please sign in to comment.