148 lines
2.8 KiB
Plaintext
148 lines
2.8 KiB
Plaintext
![]() |
/{
|
||
|
vcc_camera_4: vcc-camera_4-regulator {
|
||
|
compatible = "regulator-fixed";
|
||
|
gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&camera4_pwr>;
|
||
|
regulator-name = "vcc_camera4";
|
||
|
enable-active-high;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
|
||
|
&i2c3 {
|
||
|
status = "okay";
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&i2c3m0_xfer>;
|
||
|
|
||
|
|
||
|
imx415_3: imx415_3@37 {
|
||
|
compatible = "sony,imx415";
|
||
|
status = "okay";
|
||
|
reg = <0x37>;
|
||
|
clocks = <&cru CLK_MIPI_CAMARAOUT_M4>;
|
||
|
clock-names = "xvclk";
|
||
|
power-domains = <&power RK3588_PD_VI>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&mipim0_camera4_clk>;
|
||
|
rockchip,grf = <&sys_grf>;
|
||
|
// pwdn-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||
|
rockchip,camera-module-index = <3>;
|
||
|
rockchip,camera-module-facing = "back";
|
||
|
rockchip,camera-module-name = "CMK-OT2022-PX1";
|
||
|
rockchip,camera-module-lens-name = "IR0147-50IRC-8M-F20";
|
||
|
port {
|
||
|
imx415_out3: endpoint {
|
||
|
remote-endpoint = <&mipi_in_ucam3>;
|
||
|
data-lanes = <1 2 3 4>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&csi2_dphy1_hw {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&csi2_dphy3 {
|
||
|
status = "okay";
|
||
|
ports {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
mipi_in_ucam3: endpoint@1 {
|
||
|
reg = <1>;
|
||
|
remote-endpoint = <&imx415_out3>;
|
||
|
data-lanes = <1 2 3 4>;
|
||
|
};
|
||
|
};
|
||
|
port@1 {
|
||
|
reg = <1>;
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
csidphy1_out: endpoint@0 {
|
||
|
reg = <0>;
|
||
|
remote-endpoint = <&mipi4_csi2_input>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&mipi4_csi2 {
|
||
|
status = "okay";
|
||
|
ports {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
mipi4_csi2_input: endpoint@1 {
|
||
|
reg = <1>;
|
||
|
remote-endpoint = <&csidphy1_out>;
|
||
|
};
|
||
|
};
|
||
|
port@1 {
|
||
|
reg = <1>;
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
mipi4_csi2_output: endpoint@0 {
|
||
|
reg = <0>;
|
||
|
remote-endpoint = <&cif_mipi_in4>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
|
||
|
&rkcif_mipi_lvds4 {
|
||
|
status = "okay";
|
||
|
port {
|
||
|
cif_mipi_in4: endpoint {
|
||
|
remote-endpoint = <&mipi4_csi2_output>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&rkcif_mipi_lvds4_sditf {
|
||
|
status = "okay";
|
||
|
port {
|
||
|
mipi4_lvds_sditf: endpoint {
|
||
|
remote-endpoint = <&isp0_vir1>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&rkisp0 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&isp0_mmu {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&rkisp0_vir1 {
|
||
|
status = "okay";
|
||
|
port {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
|
||
|
isp0_vir1: endpoint@0 {
|
||
|
reg = <0>;
|
||
|
remote-endpoint = <&mipi4_lvds_sditf>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
&pinctrl {
|
||
|
camera4_pwr: camera4_pwr {
|
||
|
rockchip,pins =
|
||
|
/* camera power en */
|
||
|
<1 RK_PB2 3 &pcfg_pull_up>;
|
||
|
};
|
||
|
};
|