Skip to content

Commit

Permalink
Update radxa-cm3-rpi-cm4-hdmi-in.dts
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Aug 6, 2024
1 parent 6c3e0f8 commit c1204ce
Showing 1 changed file with 164 additions and 164 deletions.
328 changes: 164 additions & 164 deletions arch/arm64/boot/dts/rockchip/overlays/radxa-cm3-rpi-cm4-hdmi-in.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,169 +13,169 @@
*
*/

/dts-v1/;
/plugin/;


/ {
metadata {
title = "Enable Hdmi In on CM3 on CAM0";
/dts-v1/;
/plugin/;
/ {
metadata {
title = "Enable Hdmi in on CM3 on CAM1";
compatible = "radxa,cm3-rpi-cm4-io";
category = "camera";
exclusive = "csi2_dphy2";
description = "Enable Hdmi In on CM3 on CAM0";
};

fragment@0 {
target-path = "/";

__overlay__ {
clk_cam_27m: external-camera-clock-27m {
status = "okay";
compatible = "fixed-clock";
clock-frequency = <27000000>;
clock-output-names = "clk_cam_27mhz";
#clock-cells = <0>;
};

camera_pwdn_gpio: camera-pwdn-gpio {
status = "okay";
compatible = "regulator-fixed";
regulator-name = "camera_pwdn_gpio";
regulator-always-on;
regulator-boot-on;
enable-active-high;
gpio = <&gpio3 22 0>;
};
};
};

fragment@1 {
target = <&i2c2>;

__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c2m1_xfer>;
#address-cells = <1>;
#size-cells = <0>;

camera_tc358743: tc358743@f {
status = "okay";
compatible = "toshiba,tc358743";
reg = <0x0f>;
clocks = <&clk_cam_27m>;
clock-names = "refclk";
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "tc358743";
rockchip,camera-module-lens-name = "default";

port {
hdmi_rx_out: endpoint {
remote-endpoint = <&mipi_in_hdmirx0>;
clock-lanes = <0>;
clock-noncontinuous;
link-frequencies = /bits/ 64 <297000000>;
data-lanes = <1 2 3 4>;
};
};
};
};
};

fragment@2 {
target = <&csi2_dphy_hw>;

__overlay__ {
status = "okay";
};
};

fragment@3 {
target = <&csi2_dphy2>;

__overlay__ {
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;

mipi_in_hdmirx0: endpoint@1 {
reg = <1>;
remote-endpoint = <&hdmi_rx_out>;
data-lanes = <1 2 3 4>;
};
};

port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;

mipi_out_dphy0: endpoint@1 {
reg = <1>;
remote-endpoint = <&rkisp_mipi_in>;
data-lanes = <1 2 3 4>;
};
};
};
};
};

fragment@4 {
target = <&rkisp_vir0>;

__overlay__ {
status = "okay";

port {
#address-cells = <1>;
#size-cells = <0>;

rkisp_mipi_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&mipi_out_dphy0>;
};
};
};
};

fragment@5 {
target = <&rkisp>;

__overlay__ {
status = "okay";
};
};

fragment@6 {
target = <&rkisp_mmu>;

__overlay__ {
status = "okay";
};
};

fragment@7 {
target = <&rkcif_mmu>;

__overlay__ {
status = "okay";
};
};

fragment@8 {
target = <&rkcif>;

__overlay__ {
status = "okay";
};
};
};
exclusive = "csi2_dphy1";
description = "Enable Hdmi In on CM3 on CAM1";
};
fragment@0 {
target-path = "/";
__overlay__ {
clk_cam_27m: external-camera-clock-27m {
status = "okay";
compatible = "fixed-clock";
clock-frequency = <27000000>;
clock-output-names = "clk_cam_27mhz";
#clock-cells = <0>;
};
camera_pwdn_gpio: camera-pwdn-gpio {
status = "okay";
compatible = "regulator-fixed";
regulator-name = "camera_pwdn_gpio";
regulator-always-on;
regulator-boot-on;
enable-active-high;
gpio = <&gpio3 22 0>;
};
};
};
fragment@1 {
target = <&i2c0>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c0_xfer>;
#address-cells = <1>;
#size-cells = <0>;
camera_tc358743: tc358743@f {
status = "okay";
compatible = "toshiba,tc358743";
reg = <0x0f>;
clocks = <&clk_cam_27m>;
clock-names = "refclk";
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "tc358743";
rockchip,camera-module-lens-name = "default";
port {
hdmi_rx_out: endpoint {
remote-endpoint = <&mipi_in_hdmirx0>;
clock-lanes = <0>;
clock-noncontinuous;
link-frequencies = /bits/ 64 <297000000>;
data-lanes = <1 2 3 4>;
};
};
};
};
};
fragment@2 {
target = <&csi2_dphy_hw>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&csi2_dphy1>;
__overlay__ {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_in_hdmirx0: endpoint@1 {
reg = <1>;
remote-endpoint = <&hdmi_rx_out>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
mipi_out_dphy0: endpoint@1 {
reg = <1>;
remote-endpoint = <&rkisp_mipi_in>;
data-lanes = <1 2 3 4>;
};
};
};
};
};
fragment@4 {
target = <&rkisp_vir0>;
__overlay__ {
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
rkisp_mipi_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&mipi_out_dphy0>;
};
};
};
};
fragment@5 {
target = <&rkisp>;
__overlay__ {
status = "okay";
};
};
fragment@6 {
target = <&rkisp_mmu>;
__overlay__ {
status = "okay";
};
};
fragment@7 {
target = <&rkcif_mmu>;
__overlay__ {
status = "okay";
};
};
fragment@8 {
target = <&rkcif>;
__overlay__ {
status = "okay";
};
};
};

0 comments on commit c1204ce

Please sign in to comment.